0

I am using Ubuntu 18.04 ..Using apt and synaptic when trying to install apt says that I have broken packages and synaptic wants to uninstall programs that I use in order to install wine what is a good way to install wine with out going through the headache of removing packages just to have it installed?

Reading package lists... Done
Building dependency tree       
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 (= 4.2~bionic)
E: Unable to correct problems, you have held broken packages.

the problem came because I needed to uninstall then reinstall wine for other purposes this is not a duplicate of Unable to correct problems, you have held broken packages because I did not update Ubuntu. the problem its self came from having to reinstall wine not updating ubuntu

killer
  • 180

2 Answers2

1

In a terminal, try 'sudo apt install -f' to fix the broken packages first.

After that, installing wine the regular way should work just fine.

1

I don't know why but after I installed winetricks via apt then installed wine-devel just fine. Not sure why it worked but it did.

killer
  • 180