Upgrade to 12.04 beta 2 succeed, but no keyboard nor mouse afterwards

Bug #985015 reported by Marco Lackovic
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Upgraded to 12.04 beta 2 64-bit, but the keyboard and mouse (both USB) don't work. Unplugging the mouse and keyboard didn't work.

I have tried booting from an external 12.04 USB flash installation disk to try to mount the partition and continue the upgrade but the mounted partition contains only the following file:

EFI/ubuntu/grubx64.efi

The output of "sudo fdisk -l" follows:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/sda1 1 156301487 78150743+ ee GPT

Revision history for this message
Marco Lackovic (marco-lackovic) wrote :

I mounted the wrong partition, my bad. Using GParted Partition Editor I was able to see that the actual partition was sda2, not sda1. Weirdly enough though, fdisk showed only sda1 partition.

I was able to continue the upgrade, and fix the keyboard and mouse problem, by running the following commands:

sudo mount /dev/sda2 /mnt/linux
sudo chroot /mnt/linux su
mount /dev
mount /proc
mount /sys
apt-get update
apt-get -f upgrade

Revision history for this message
Marco Lackovic (marco-lackovic) wrote :

I am still having problems though. The upgrade process gets interrupted with the following errors:

Processing triggers for libc-bin ...
/bin/df: `/run/shm': No such file or directory
ldconfig deferred processing now taking place
Errors were encountered while processing:
 libfontconfig1:i386
 libcairo2:i386
 libfontconfig1
 fontconfig
 libxft2:i386
 libpango1.0-0:i386
 libpango1.0-0
E: Internal Error, No file name for libthai0
E: Internal Error, No file name for libxft2
E: Internal Error, No file name for libdatrie1
E: Internal Error, No file name for libjasper1
E: Internal Error, No file name for libtiff4
E: Internal Error, No file name for libjasper1
E: Internal Error, No file name for libjpeg8
E: Internal Error, No file name for libtiff4
E: Internal Error, No file name for libgtk2.0-0
E: Internal Error, No file name for libcroco3
E: Internal Error, No file name for libxml2
E: Internal Error, No file name for libgtk2.0-0
E: Internal Error, No file name for libgnome-keyring0
E: Internal Error, No file name for libgdu0
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Marco Lackovic (marco-lackovic) wrote :
Download full text (3.9 KiB)

Here is the full log of the error messages after trying again:

  language-pack-en-base:amd64 conflicts with language-pack-en:amd64
  language-pack-gnome-en-base:amd64 conflicts with language-pack-gnome-en:amd64
Can not write log, openpty() failed (/dev/pts not mounted?)
dpkg: error processing libgdk-pixbuf2.0-0:i386 (--configure):
 libgdk-pixbuf2.0-0:i386 2.26.0-1 cannot be configured because libgdk-pixbuf2.0-0:amd64 is in a different version (2.26.1-1)
dpkg: error processing libgdk-pixbuf2.0-0 (--configure):
 libgdk-pixbuf2.0-0:amd64 2.26.1-1 cannot be configured because libgdk-pixbuf2.0-0:i386 is in a different version (2.26.0-1)
dpkg: error processing libfontconfig1 (--configure):
 libfontconfig1:amd64 2.8.0-3ubuntu9 cannot be configured because libfontconfig1:i386 is in a different version (2.8.0-3ubuntu8)
dpkg: error processing libfontconfig1:i386 (--configure):
 libfontconfig1:i386 2.8.0-3ubuntu8 cannot be configured because libfontconfig1:amd64 is in a different version (2.8.0-3ubuntu9)
dpkg: dependency problems prevent configuration of fontconfig:
 fontconfig depends on libfontconfig1 (>= 2.8.0); however:
  Package libfontconfig1 is not configured yet.
dpkg: error processing fontconfig (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing libpango1.0-0 (--configure):
 libpango1.0-0:amd64 1.30.0-0ubuntu2 cannot be configured because libpango1.0-0:i386 is in a different version (1.30.0-0ubuntu1)
dpkg: dependency problems prevent configuration of libcairo2:i386:
 libcairo2:i386 depends on libfontconfig1 (>= 2.8.0); however:
  Package libfontconfig1:i386 is not configured yet.
dpkg: error processing libcairo2:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached alreadydpkg: dependency problems prevent configuration of libxft2:i386:
 libxft2:i386 depends on libfontconfig1 (>= 2.8.0); however:
  Package libfontconfig1:i386 is not configured yet.
dpkg: error processing libxft2:i386 (--configure):
 dependency problems - leaving unconfigured

dpkg: error processing libpango1.0-0:i386 (--configure):
 libpango1.0-0:i386 1.30.0-0ubuntu1 cannot be configured because libpango1.0-0:amd64 is in a different version (1.30.0-0ubuntu2)
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of libgtk2.0-0:
 libgtk2.0-0 depends on libfontconfig1 (>= 2.8.0); however:
  Package libfontconfig1 is not configured yet.
 libgtk2.0-0 depends on libgdk-pixbuf2.0-0 (>= 2.22.0); however:
  Package libgdk-pixbuf2.0-0 is not configured yet.
 libgtk2.0-0 depends on libpango1.0-0 (>= 1.28.3); however:
  Package libpango1.0-0 is not configured yet.
No apport report written because MaxReports is reached already
dpkg: error processing libgtk2.0-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing librsvg2-2:i386 (--configure):
 librsvg2-2:i386 2.36.0-0ubuntu1 cannot be configured because librsvg2-2:amd64 is in a different version (2.36.1-0ubuntu1)
dpkg: error processing librsvg2-2 (--configure):
 librsvg2-2:amd64 2.36.1-0ubuntu1 cann...

Read more...

Revision history for this message
Marco Lackovic (marco-lackovic) wrote :

A user on ubuntuforums has reported to have got through this problem by booting from CD and entering chroot.

Problematic packages have to be installed by:

dpkg -i /var/cache/apt/archives/<package>.deb

then running:

apt-get -f install
apt-get -f upgrade

sometimes:

dpkg --configure <package>

A circular depency was solved by:

dpkg --ignore-depends <package1> --install/configure <package2>

About 30 packages had to be installed manually, running apt-get after each is moving forward a bit, errors are the solved by the commands above.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.