Unable to install wine

Questions about Wine on Linux
Locked
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Unable to install wine

Post by shag00 »

Just upgraded to Kubuntu 22.04 and discovered my wine installation had been wiped and when I attempted to reinstall wine I get this error:

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-devel : Depends: wine-devel (= 9.9~noble-1)
E: Unable to correct problems, you have held broken packages.
i386 is enabled
I have no held or broken packages
I don't understand how the missing dependency can be what I am trying to install

How can I resolve this problem?
shag00
Level 3
Level 3
Posts: 50
Joined: Mon Sep 11, 2017 11:04 pm

Re: Unable to install wine

Post by shag00 »

After more research I discovered the problem, it was a file left over from my upgrade. The file was:
/etc/apt/winehq-mantic.sources. After deleting it the installation of wine proceeded as expected.
Locked