After upgrading to quantal, I wanted to install wine. However, attempting to do so results in apt wanting to remove all kinds of important packages:
The following packages will be REMOVED: libgl1-mesa-dri-lts-quantal libgl1-mesa-glx-lts-quantal libglapi-mesa-lts-quantal xserver-xorg-core-lts-quantal xserver-xorg-input-evdev-lts-quantal xserver-xorg-lts-quantal
I have done extensive searching on the subject.
This thread describes my problem exactly . I tried the suggested solution (to give quantal release the highest pin), and while a few packages were downgraded, I am still unable to install wine.
This thread seems similar, however my apt is aware of foreign architecture:
$ sudo dpkg --print-architecture amd64 $ sudo dpkg --print-foreign-architectures i386
I read about resolving unmet dependencies, and did
sudo apt-get autoclean (which removed a bunch of stuff, presumably leftover from pangolin),
sudo apt-get clean (which didn't seem to remove anything), and the
sudo apt-get -f install plus
sudo dpkg --configure -a back and forth, which showed there was still a problem:
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
So following that same thread again, running
sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade produces:
Broken xorg:amd64 Depends on xserver-xorg [ amd64 ] < none -> 1:7.7+1ubuntu4 > ( x11 ) (>= 1:7.7+1ubuntu4) Considering xserver-xorg:amd64 4 as a solution to xorg:amd64 1 Holding Back xorg:amd64 rather than change xserver-xorg:amd64 Try to Re-Instate (1) xorg:amd64
I can't find any way to fix this issue, and I'm scared to experiment with such important libraries.
Finally, I found this bug report that seems to describe my problem, but the patch that resolves it is only uploaded to pangolin, so I don't think using apt from the quantal proposed source will help me.
If anyone has any advice, I'd be so happy to hear about it! I've been spending many hours on this problem and not getting anywhere...
Thanks very much in advance!
Responses to questions:
please can you pastebin.com the output of
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade BEFORE you try to install wine. These commands ensure your repositories are fully up-to-date.
Also - do you have any PPAs such as x-swat or x-edgers installed?
Thanks for the comments! The result of the update and upgrade commands shows xorg is held back. I don't have any PPAs.
So what is the output if you do
sudo apt-get install xorg ?
The output says I have unmet dependencies xserver-xorg (>= 1:7.7+1ubuntu4). If I run the same command with debugging on, I get a lot of information, but it doesn't really make sense to me. For example, it says
Fixing libgl1-mesa-dri-lts-quantal:amd64 via keep of libgl1-mesa-dri:amd64, yet if I check
dpkg --get-selections, I have only
libgl1-mesa-glx-lts-quantal:amd64 not the
libgl1-mesa-dri:amd64 that it looks like it wants to keep.
For completeness, I've posted my sources.list as well.