Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1773  / 1 Year ago, thu, december 8, 2022, 7:50:26

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:



Question 1:



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?



Answer 1:



Thanks for the comments! The result of the update and upgrade commands shows xorg is held back. I don't have any PPAs.



Question 2:



So what is the output if you do sudo apt-get install xorg ?



Answer 2:



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.


More From » 12.10

 Answers
2

Thanks to your effort and fullness of information in your post, the question is easy to answer. Those packages with their name ending with "lts-quantal" are Precise packages (despite their name) left installed by the dist-upgrade. You don't need those packages, moreover, they are in your way of properly maintain and upgrade your system. Simply install wine and let apt remove those unneeded packages. Doing so will solve the xorg package conflicts as well.


[#31331] Thursday, December 8, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
finatch

Total Points: 49
Total Questions: 106
Total Answers: 94

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;