Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4564  / 2 Years ago, fri, july 29, 2022, 9:45:41

While trying to upgrade my system to the latest hardware enablement stack from Ubuntu 12.04.2/Linux 3.5 I get the following error:



$ sudo apt-get install --install-recommends linux-generic-lts-raring xserver-xorg-lts-raring libgl1-mesa-glx-lts-raring
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:
libgl1-mesa-glx-lts-raring : Depends: libglapi-mesa-lts-raring (= 9.1.4-0ubuntu0.1~precise1) but it is not going to be installed
Recommends: libgl1-mesa-dri-lts-raring (>= 7.2) but it is not going to be installed
xserver-xorg-lts-raring : Depends: xserver-xorg-video-all-lts-raring but it is not going to be installed or
xorg-driver-video
Depends: xserver-xorg-input-evdev-lts-raring but it is not going to be installed
Recommends: libgl1-mesa-dri-lts-raring but it is not going to be installed
Recommends: xserver-xorg-input-all-lts-raring but it is not going to be installed
Recommends: xserver-xorg-video-all-lts-raring but it is not going to be installed
Recommends: x11-xserver-utils-lts-raring
Conflicts: libglapi-mesa:i386 (>= 0~)
E: Unable to correct problems, you have held broken packages.


How can I troubleshoot this?


More From » 12.04

 Answers
4

This appears to be a known issue. The bug report includes a workaround similar to the one proposed in Bao Bui's answer:




After some trial and error the apt-get command that eventually worked
for me is:



sudo apt-get install -V libglapi-mesa-lts-raring libgl1-mesa-glx-lts-raring xserver-xorg-lts-raring xserver-xorg-input-all-lts-raring xserver-xorg-video-all-lts-raring libgl1-mesa-dri-lts-raring x11-xserver-utils-lts-raring libglapi-mesa-lts-raring:i386 libgl1-mesa-dri-lts-raring:i386 libgl1-mesa-glx-lts-raring:i386


Make sure to carefully check the suggested changes before proceeding
to ensure that no essential packages are removed!




I can confirm that this solution worked for me.






On a related note: Just a small warning for anyone planning to upgrade using the HWE. This upgrade was far from smooth for me. Aside from all the dependency issues described in this Q&A, I had to manually install Raring packages to get my WLAN (broadcom) to work. Similar issues might arise if you have hardware that's running using proprietary drivers (installed via the "Additional Drivers" dialog).



So be wary when installing these hardware enablement stacks. It's a a feature that obviously still needs a lot of work.


[#29817] Friday, July 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rinstracte

Total Points: 221
Total Questions: 114
Total Answers: 120

Location: France
Member since Fri, Jan 28, 2022
2 Years ago
rinstracte questions
Wed, Jun 15, 22, 02:09, 2 Years ago
Tue, Jan 24, 23, 01:39, 1 Year ago
Wed, Jun 9, 21, 04:34, 3 Years ago
Sun, Apr 17, 22, 11:38, 2 Years ago
;