I ran into this bug when upgrading the HWE stack from Trusty (for the X
server) and Utopic (for the kernel) to Vivid (for both).

What happened is that APT removed the packages xserver-xorg, xserver-
xorg-core, xserver-xorg-input-*, xserver-xorg-video-* before moving on
to install their Vivid counterparts, only somehow the following three
packages were not removed, and therefore were left with broken
dependencies, even though they were listed in the "will be REMOVED"
section: xserver-xorg-video-all, xserver-xorg-video-ati, xserver-xorg-
video-glamoregl. The persistence of xserver-xorg-video-glamoregl
explains the error message.

On my system the following three packages were also left with broken
dependencies: xorg, libegl1-mesa-drivers, nvidia-340. I was also left
without a working X server of course.

I tried Andy's workaround but APT refused to run the first command (sudo
apt-get remove xserver-xorg-video-glamoregl) because of the broken
dependencies, and trying to remove all the broken packages (sudo apt-get
remove xserver-xorg-video-glamoregl xserver-xorg-video-ati xserver-xorg-
video-all xorg nvidia-340 etc) only led to more broken packages
appearing and APT refusing to run the command.

So I let APT fix everything: it reinstalled all that it had uninstalled
in the first place (the Trusty X server):

$ sudo apt-get -f install

Then I could apply Andy's workaround: removing the offending package:

S sudo apt-get remove xserver-xorg-video-glamoregl
   # this also removed xserver-xorg-video-ati and xserver-xorg-video-all

and then re-running the HWE stack upgrade:

$ sudo apt-get install --install-recommends linux-generic-lts-vivid 
xserver-xorg-lts-vivid libwayland-egl1-mesa-lts-vivid
   # the other packages are installed as dependencies

Thanks Andy!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480245

Title:
  package xserver-xorg-core-lts-vivid (not installed) failed to
  install/upgrade: trying to overwrite
  '/usr/lib/xorg/modules/libglamoregl.so', which is also in package
  xserver-xorg-video-glamoregl 0.6.0-0ubuntu4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-vivid/+bug/1480245/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to