PDA

View Full Version : [SOLVED] Upgrade will not complete after hanging



tiggsy
October 19th, 2009, 05:21 PM
I decided to upgrade to Jaunty, having been on Hardy for a long time. I was fed up with issues which were fixed in newer versions of various bits of software, but not available for Hardy.

So last night I upgraded to Intrepid with no obvious problems. This morning I tried to upgrade to Jaunty, but for some reason the system seized up halfway through the update, nothing would work at all, so i had to do a hard closedown (hit the button for 7 seconds) and reboot.

When I got back in, I selected the update manager and it said it could only do a partial upgrade, i said go ahead. And it did a few bits, then dropped out. I tried this repeatedly, and each time it just dropped out, so I looked online for a fix and found advice to someone else with a similar problem.

I ran


sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get dist-upgrade
sudo apt-get -f install

This is what I'm getting.


Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following packages were automatically installed and are no longer required:
libevolution3.0-cil
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libqt4-assistant libqt4-core libqt4-dbus libqt4-designer libqt4-gui libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xml libqtcore4 libqtgui4 libsox-fmt-base libsox1 qt4-qtconfig sox
Suggested packages:
libqt4-dev
The following packages will be REMOVED
libsox-fmt-flac libsox-fmt-gsm libsox-fmt-ogg libsox-fmt-sndfile libsox0
The following NEW packages will be installed
libsox1
The following packages will be upgraded:
libqt4-assistant libqt4-core libqt4-dbus libqt4-designer libqt4-gui libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql
libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xml libqtcore4 libqtgui4 libsox-fmt-base qt4-qtconfig sox
19 upgraded, 1 newly installed, 5 to remove and 479 not upgraded.
80 not fully installed or removed.
Need to get 0B/9911kB of archives.
After this operation, 2949kB of additional disk space will be used.
Do you want to continue [Y/n]?
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 157936 files and directories currently installed.)
Removing libsox-fmt-flac ...
Removing libsox-fmt-ogg ...
Removing libsox-fmt-sndfile ...
(Reading database ... 157910 files and directories currently installed.)
Preparing to replace sox 14.0.1-2build2 (using .../archives/sox_14.2.0-1_i386.deb) ...
Unpacking replacement sox ...
Processing triggers for man-db ...
(Reading database ... 157910 files and directories currently installed.)
Removing libsox-fmt-gsm ...
(Reading database ... 157902 files and directories currently installed.)
Preparing to replace libsox-fmt-base 14.0.1-2build2 (using .../libsox-fmt-base_14.2.0-1_i386.deb) ...
Unpacking replacement libsox-fmt-base ...
(Reading database ... 157840 files and directories currently installed.)
Removing libsox0 ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Selecting previously deselected package libsox1.
(Reading database ... 157831 files and directories currently installed.)
Unpacking libsox1 (from .../libsox1_14.2.0-1_i386.deb) ...
Preparing to replace qt4-qtconfig 4.4.3-0ubuntu1.3 (using .../qt4-qtconfig_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement qt4-qtconfig ...
Preparing to replace libqt4-gui 4.4.3-0ubuntu1.3 (using .../libqt4-gui_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-gui ...
Preparing to replace libqt4-assistant 4.4.3-0ubuntu1.3 (using .../libqt4-assistant_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-assistant ...
Preparing to replace libqt4-qt3support 4.4.3-0ubuntu1.3 (using .../libqt4-qt3support_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-qt3support ...
Preparing to replace libqt4-core 4.4.3-0ubuntu1.3 (using .../libqt4-core_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-core ...
Preparing to replace libqt4-network 4.4.3-0ubuntu1.3 (using .../libqt4-network_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-network ...
Preparing to replace libqt4-designer 4.4.3-0ubuntu1.3 (using .../libqt4-designer_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-designer ...
Preparing to replace libqt4-script 4.4.3-0ubuntu1.3 (using .../libqt4-script_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-script ...
Preparing to replace libqt4-dbus 4.4.3-0ubuntu1.3 (using .../libqt4-dbus_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-dbus ...
Preparing to replace libqt4-xml 4.4.3-0ubuntu1.3 (using .../libqt4-xml_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-xml ...
Preparing to replace libqt4-test 4.4.3-0ubuntu1.3 (using .../libqt4-test_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-test ...
Preparing to replace libqt4-sql-mysql 4.4.3-0ubuntu1.3 (using .../libqt4-sql-mysql_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-sql-mysql ...
Preparing to replace libqt4-sql 4.4.3-0ubuntu1.3 (using .../libqt4-sql_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-sql ...
Preparing to replace libqt4-opengl 4.4.3-0ubuntu1.3 (using .../libqt4-opengl_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-opengl ...
Preparing to replace libqt4-svg 4.4.3-0ubuntu1.3 (using .../libqt4-svg_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqt4-svg ...
Preparing to replace libqtgui4 4.4.3-0ubuntu1.3 (using .../libqtgui4_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqtgui4 ...
Preparing to replace libqtcore4 4.4.3-0ubuntu1.3 (using .../libqtcore4_4.5.0-0ubuntu4.2_i386.deb) ...
Unpacking replacement libqtcore4 ...
Processing triggers for man-db ...
Setting up foomatic-filters (4.0.0-0ubuntu9) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing foomatic-filters (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of foomatic-db-engine:
foomatic-db-engine depends on foomatic-filters; however:
Package foomatic-filters is not configured yet.
dpkg: error processing foomatic-db-engine (--configure):
dependency problems - leaving unconfigured
Setting up cli-common (0.6.0) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libmono0 (2.0.1-4ubuntu0.1) ...

Setting up mono-common (2.0.1-4ubuntu0.1) ...
Installing new version of config file /etc/mono/config ...
Installing new version of config file /etc/mono/1.0/machine.config ...
Installing new version of config file /etc/mono/2.0/machine.config ...
Installing new version of config file /etc/mono/2.0/web.config ...

Setting up mono-jit (2.0.1-4ubuntu0.1) ...

Setting up libmono-corlib2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libgdiplus (2.0-1) ...

Setting up libmono-cairo2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up gvfs-bin (1.2.2-0ubuntu2) ...
Installing new version of config file /etc/profile.d/gvfs-bash-completion.sh ...
Setting up xdg-utils (1.0.2-6.1) ...

Setting up libavutil-unstripped-49 (3:0.svn20090303-1ubuntu2+unstripped1) ...

Setting up libavcodec-unstripped-52 (3:0.svn20090303-1ubuntu2+unstripped1) ...

Setting up libavformat52 (3:0.svn20090303-1ubuntu6) ...

Setting up libpostproc51 (3:0.svn20090303-1ubuntu6) ...

Setting up libswscale0 (3:0.svn20090303-1ubuntu6) ...

Setting up gstreamer0.10-ffmpeg (0.10.6.2-1ubuntu2) ...
dpkg: dependency problems prevent configuration of hpijs:
hpijs depends on foomatic-filters; however:
Package foomatic-filters is not configured yet.
dpkg: error processing hpijs (--configure):
dependency problems - leaving unconfigured
Setting up libao2 (0.8.8-4ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.

Setting up libgtkspell0 (2.0.13-2) ...

Setting up libmono-corlib1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-system1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-security1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-data-tds1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-system-data1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-system-web1.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libquicktime1 (2:1.1.0+debian-1build1) ...

Setting up libsox1 (14.2.0-1) ...

Setting up libsox-fmt-alsa (14.2.0-1) ...
Setting up libsox-fmt-ao (14.2.0-1) ...
Setting up libsox-fmt-oss (14.2.0-1) ...
Setting up libsox-fmt-base (14.2.0-1) ...
Setting up sox (14.2.0-1) ...

Setting up libsox-fmt-ffmpeg (14.2.0-1) ...
Setting up libsox-fmt-mp3 (14.2.0-1) ...
Setting up libsox-fmt-all (14.2.0-1) ...
Setting up samba-common (2:3.3.2-1ubuntu3.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing samba-common (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of samba:
samba depends on samba-common (= 2:3.3.2-1ubuntu3.2); however:
Package samba-common is not configured yet.
dpkg: error processing samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smbclient:
smbclient depends on samba-common (= 2:3.3.2-1ubuntu3.2); however:
Package samba-common is not configured yet.
dpkg: error processing smbclient (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
ubuntu-desktop depends on foomatic-db-engine; however:
Package foomatic-db-engine is not configured yet.
ubuntu-desktop depends on foomatic-filters; however:
Package foomatic-filters is not configured yet.
ubuntu-desktop depends on smbclient; however:
Package smbclient is not configured yNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
et.
dpkg: error processing ubuntu-desktop (--configure):
dependency problems - leaving unconfigured
Setting up vlc-nox (0.9.9a-2ubuntu1) ...
Setting up libqtcore4 (4.5.0-0ubuntu4.2) ...

Setting up libqt4-xml (4.5.0-0ubuntu4.2) ...

Setting up libqt4-dbus (4.5.0-0ubuntu4.2) ...

Setting up libqt4-script (4.5.0-0ubuntu4.2) ...

Setting up libqtgui4 (4.5.0-0ubuntu4.2) ...

Setting up libqt4-designer (4.5.0-0ubuntu4.2) ...

Setting up libqt4-network (4.5.0-0ubuntu4.2) ...

Setting up libqt4-sql (4.5.0-0ubuntu4.2) ...

Setting up libqt4-qt3support (4.5.0-0ubuntu4.2) ...

Setting up qt4-qtconfig (4.5.0-0ubuntu4.2) ...

Setting up libqt4-svg (4.5.0-0ubuntu4.2) ...

Setting up libqt4-opengl (4.5.0-0ubuntu4.2) ...

Setting up libqt4-assistant (4.5.0-0ubuntu4.2) ...

Setting up libqt4-gui (4.5.0-0ubuntu4.2) ...
Setting up libqt4-test (4.5.0-0ubuntu4.2) ...

Setting up libqt4-core (4.5.0-0ubuntu4.2) ...
Setting up libqt4-sql-mysql (4.5.0-0ubuntu4.2) ...
Setting up vlc (0.9.9a-2ubuntu1) ...

dpkg: dependency problems prevent configuration of winbind:
winbind depends on samba-common (= 2:3.3.2-1ubuntu3.2); however:
Package samba-common is not configured yet.
dpkg: error processing winbind (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up libmono-system2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up mono-2.0-runtime (2.0.1-4ubuntu0.1) ...
Setting up libmono-posix2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-sharpzip2.84-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-getoptions2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libglib2.0-cil (2.12.8-2) ...
Setting up libgtk2.0-cil (2.12.8-2) ...
Setting up libglade2.0-cil (2.12.8-2) ...
Setting up libndesk-dbus1.0-cil (0.6.0-1ubuntu1) ...
* Installing 1 assembly from libndesk-dbus1.0-cil into Mono

Setting up libgnome-keyring1.0-cil (1.0.0~svn.r87622-2) ...
* Installing 1 assembly from libgnome-keyring1.0-cil into Mono

Setting up libgnome-vfs2.24-cil (2.24.0-3ubuntu1) ...
Setting up libart2.24-cil (2.24.0-3ubuntu1) ...
Setting up libndesk-dbus-glib1.0-cil (0.4.1-1ubuntu1) ...
* Installing 1 assembly from libndesk-dbus-glib1.0-cil into Mono

Setting up libgnomedesktop2.20-cil (2.24.0-1ubuntu1) ...
Setting up libnotify0.4-cil (0.4.0~r3032-1ubuntu1) ...
* Installing 1 assembly from libnotify0.4-cil into Mono

Setting up librsvg2-2.18-cil (2.24.0-1ubuntu1) ...
Setting up libwnck2.20-cil (2.24.0-1ubuntu1) ...
Setting up libevolution5.0-cil (0.19.2.1-1ubuntu1) ...
* Installing 1 assembly from libevolution5.0-cil into Mono

Setting up libgmime2.2a-cil (2.2.22-2ubuntu1) ...
* Installing 1 assembly from libgmime2.2a-cil into Mono

Setting up libmono-security2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up mono-2.0-gac (2.0.1-4ubuntu0.1) ...
Setting up libmono-data-tds2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-system-data2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-sqlite2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-data2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libmono-system-web2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libflickrnet2.1.5-cil (25277-6ubuntu4) ...
* Installing 1 assembly from libflickrnet2.1.5-cil into Mono

Setting up mono-gac (2.0.1-4ubuntu0.1) ...
* Installing 1 assembly from libevolution3.0-cil into Mono
E: installing Assembly /usr/lib/cli/evolution-sharp-3.0/evolution-sharp.dll failed
* Installing 1 assembly from libevolution5.0-cil into Mono
* Installing 1 assembly from libflickrnet2.1.5-cil into Mono
* Installing 1 assembly from libgmime2.2a-cil into Mono
* Installing 1 assembly from libgnome-keyring1.0-cil into Mono
* Installing 7 assemblies from libmono-addins0.2-cil into Mono
* Installing 3 assemblies from libmono-addins-gui0.2-cil into Mono
* Installing 1 assembly from libndesk-dbus1.0-cil into Mono
* Installing 1 assembly from libndesk-dbus-glib1.0-cil into Mono
* Installing 1 assembly from libnotify0.4-cil into Mono
* Installing 1 assembly from policy.2.1.FlickrNet into Mono

Setting up mono-runtime (2.0.1-4ubuntu0.1) ...
Setting up libmono2.0-cil (2.0.1-4ubuntu0.1) ...
Setting up libgconf2.24-cil (2.24.0-3ubuntu1) ...
Setting up libgnome2.24-cil (2.24.0-3ubuntu1) ...
Setting up libmono-addins0.2-cil (0.4-3) ...
* Installing 7 assemblies from libmono-addins0.2-cil into Mono

Setting up libmono-addins-gui0.2-cil (0.4-3) ...
* Installing 3 assemblies from libmono-addins-gui0.2-cil into Mono

Setting up f-spot (0.5.0.3-1ubuntu6) ...

Setting up gbrainy (1.01-2ubuntu1) ...

Setting up gnome-do (0.8.1.3-0ubuntu2) ...
Installing new version of config file /etc/xdg/autostart/gnome-do.desktop ...

Setting up gnome-do-plugins (0.8.1.3+dfsg-0ubuntu3.1) ...

Setting up libgnomepanel2.24-cil (2.24.0-1ubuntu1) ...
Setting up tomboy (0.14.0-0ubuntu1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
foomatic-filters
foomatic-db-engine
hpijs
samba-common
samba
smbclient
ubuntu-desktop
winbind
E: Sub-process /usr/bin/dpkg returned an error code (1)


I'd love to reboot, but the green blob installed in Intrepid to replace the familiar shutdown button has now been replaced by the Off-switch button again, with the word Users next to it. It does nothing when you click on it, except highlight, and it seems as if something appears behind it (about 5px protrudes beneath):confused:, but you can't see what's on offer (if anything).

tiggsy
October 19th, 2009, 07:24 PM
OK. For anyone else with this problem.

Reboot in terminal:


sudo reboot

Then when it starts up again,


sudo dpkg --configure -a
sudo apt-get dist-upgrade

and for me (after numerous previous attempts) worked.

Be careful if it asks you for a multiple choice decision NOT to choose "start another shell to examine the situation" or something like that.