Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After a failed LTS upgrade from Lucid to Precise, I'm stuck in package limbo. As root I have run

dpkg --configure -a
apt-get -f install

Outputs appended below.

The default package archive at this point contains packages for Precise. What should I do to get past this?

------------------------------------------------------------
In response to:   dpkg --configure -a

dpkg: dependency problems prevent configuration of xserver-xorg-video-vmware:
 xserver-xorg-video-vmware depends on libxatracker1; however:
  Package libxatracker1 is not installed.
dpkg: dependency problems prevent configuration of xserver-xorg-video-intel:
 xserver-xorg-video-intel depends on libxcb-dri2-0; however:
  Package libxcb-dri2-0 is not installed.
 xserver-xorg-video-intel depends on libxcb-util0 (>= 0.3.8); however:
  Package libxcb-util0 is not installed.
Errors were encountered while processing:
 xserver-xorg-video-vmware
 xserver-xorg-video-intel

In response to:   apt-get -f install

Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... failed.
The following packages have unmet dependencies:
  gvfs-bin: Depends: gvfs (= 1.6.1-0ubuntu1build1) but 1.12.1-0ubuntu1 is installed
  gvfs-fuse: Depends: libgvfscommon0 (>= 1.1.7) but it is not installable
         Depends: gvfs (= 1.6.1-0ubuntu1build1) but 1.12.1-0ubuntu1 is installed
  initramfs-tools: Depends: initramfs-tools-bin (= 0.92bubuntu78) but 0.99ubuntu13 is installed
  libglib2.0-0-dbg: Depends: libglib2.0-0 (= 2.24.1-0ubuntu1) but 2.32.3-0ubuntu1 is installed
  libglib2.0-dev: Depends: libglib2.0-0 (= 2.24.1-0ubuntu1) but 2.32.3-0ubuntu1 is installed
  libnih1: Depends: libc6 (< 2.12) but 2.15-0ubuntu10 is installed
  plymouth: Depends: libdrm-nouveau1 (>= 2.4.11-1ubuntu1~) but it is not installable
  python-louis: Depends: liblouis0 (>= 1.7.0-2) but it is not installable
  xserver-xorg-video-all: Depends: xserver-xorg-video-nv but it is not installable
                      Depends: xserver-xorg-video-v4l but it is not installable
  xserver-xorg-video-intel: Depends: libxcb-dri2-0 but it is not installed
                        Depends: libxcb-util0 (>= 0.3.8) but it is not installed
  xserver-xorg-video-vmware: Depends: libxatracker1 but it is not installed

------------------------------------------------------------
share|improve this question
Kept fussing with it. – William F. Hammond Sep 2 '12 at 23:26
Decided to use dpkg -i on the .debs in /var/cache/apt/archive for libxatracker1, libxcb-dri2-0, and libxcb-util0. This succeeded. – William F. Hammond Sep 2 '12 at 23:29
Then "apt-get update" (which did find new things), "dkpg --configure -a", and "apt-get -f install" broke the log jam. So I could get then get quite a bit farther with "apt-get dist-upgrade", to the point where the system booted normally apart from bringing up X11 and some form of desktop. New issue to follow. – William F. Hammond Sep 2 '12 at 23:33
BTW, there were dependency issues with gvfs to work around. – William F. Hammond Sep 2 '12 at 23:35
2  
You should probably add your solution as answer, so that other see this is solved and can try it if they have the same problem. – jP_wanN Sep 4 '12 at 17:04
show 1 more comment

1 Answer

why not try

sudo rm /var/lib/dpkg/lock

dpkg --configure -a

apt-get -f install package name here
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.