PDA

View Full Version : [xubuntu] The installation or removal of a software package failed...?



simpleblue
July 2nd, 2010, 08:45 PM
Version 10.10, 64bit
Xubuntu (ubuntu and kubuntu work fine)

I get an error when updating. I tried restarting and installing again and both times have had the same result.

I have highlighted and bolded the trouble lines:

"installArchives() failed: Extracting templates from packages: 63% Extracting templates from packages: 100%
Preconfiguring packages ...
Extracting templates from packages: 63% Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 106826 files and directories currently installed.)
Preparing to replace hpijs 3.10.5-3ubuntu1 (using .../hpijs_3.10.5-3ubuntu3_amd64.deb) ...
Unpacking replacement hpijs ...
Preparing to replace hplip 3.10.5-3ubuntu1 (using .../hplip_3.10.5-3ubuntu3_amd64.deb) ...
Unpacking replacement hplip ...
Preparing to replace libhpmud0 3.10.5-3ubuntu1 (using .../libhpmud0_3.10.5-3ubuntu3_amd64.deb) ...
Unpacking replacement libhpmud0 ...
Preparing to replace hplip-data 3.10.5-3ubuntu1 (using .../hplip-data_3.10.5-3ubuntu3_all.deb) ...
Unpacking replacement hplip-data ...
Preparing to replace hplip-cups 3.10.5-3ubuntu1 (using .../hplip-cups_3.10.5-3ubuntu3_amd64.deb) ...
Unpacking replacement hplip-cups ...
Preparing to replace linux-image-2.6.35-6-generic 2.6.35-6.8 (using .../linux-image-2.6.35-6-generic_2.6.35-6.9_amd64.deb) ...
Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67.
Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68.
Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67.
Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68.
Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67.
Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68.
Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 109.
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.35-6-generic_2.6.35-6.9_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 128
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-6-generic
Found initrd image: /boot/initrd.img-2.6.35-6-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-6-generic /boot/vmlinuz-2.6.35-6-generic
Preparing to replace net-tools 1.60-23ubuntu2 (using .../net-tools_1.60-23ubuntu3_amd64.deb) ...
Unpacking replacement net-tools ...
Preparing to replace python-aptdaemon-gtk 0.31+bzr413-1 (using .../python-aptdaemon-gtk_0.31+bzr416-0ubuntu1_all.deb) ...
Unpacking replacement python-aptdaemon-gtk ...
Preparing to replace aptdaemon 0.31+bzr413-1 (using .../aptdaemon_0.31+bzr416-0ubuntu1_all.deb) ...
Unpacking replacement aptdaemon ...
Preparing to replace python-aptdaemon 0.31+bzr413-1 (using .../python-aptdaemon_0.31+bzr416-0ubuntu1_all.deb) ...
Unpacking replacement python-aptdaemon ...
Preparing to replace language-selector 0.6.0 (using .../language-selector_0.6.1_all.deb) ...
Unpacking replacement language-selector ...
Preparing to replace language-selector-common 0.6.0 (using .../language-selector-common_0.6.1_all.deb) ...
Unpacking replacement language-selector-common ...
Preparing to replace byobu 2.80-0ubuntu1 (using .../byobu_2.81-0ubuntu1_all.deb) ...
Unpacking replacement byobu ...
Preparing to replace gconf2-common 2.31.4-0ubuntu1 (using .../gconf2-common_2.31.5-0ubuntu3_all.deb) ...
Unpacking replacement gconf2-common ...
Preparing to replace libgconf2-4 2.31.4-0ubuntu1 (using .../libgconf2-4_2.31.5-0ubuntu3_amd64.deb) ...
Unpacking replacement libgconf2-4 ...
Preparing to replace gconf2 2.31.4-0ubuntu1 (using .../gconf2_2.31.5-0ubuntu3_amd64.deb) ...
Unpacking replacement gconf2 ...
Selecting previously deselected package libxcb-shm0.
Unpacking libxcb-shm0 (from .../libxcb-shm0_1.6-1_amd64.deb) ...
Preparing to replace libcairo2 1.8.10-4ubuntu1 (using .../libcairo2_1.9.10-1ubuntu1_amd64.deb) ...
Unpacking replacement libcairo2 ...
Preparing to replace libgp11-0 2.92.92.is.2.30.1-0ubuntu2 (using .../libgp11-0_2.92.92.is.2.30.3-0ubuntu1_amd64.deb) ...
Unpacking replacement libgp11-0 ...
Preparing to replace libgcr0 2.92.92.is.2.30.1-0ubuntu2 (using .../libgcr0_2.92.92.is.2.30.3-0ubuntu1_amd64.deb) ...
Unpacking replacement libgcr0 ...
Preparing to replace gnome-keyring 2.92.92.is.2.30.1-0ubuntu2 (using .../gnome-keyring_2.92.92.is.2.30.3-0ubuntu1_amd64.deb) ...
Unpacking replacement gnome-keyring ...
Preparing to replace grub-pc 1.98+20100614-2ubuntu3 (using .../grub-pc_1.98+20100614-2ubuntu4_amd64.deb) ...
Unpacking replacement grub-pc ...
Preparing to replace grub-common 1.98+20100614-2ubuntu3 (using .../grub-common_1.98+20100614-2ubuntu4_amd64.deb) ...
Unpacking replacement grub-common ...
Preparing to replace libgstreamer0.10-0 0.10.29-1 (using .../libgstreamer0.10-0_0.10.29.3-1_amd64.deb) ...
Unpacking replacement libgstreamer0.10-0 ...
Preparing to replace libgstreamer-plugins-base0.10-0 0.10.29-4 (using .../libgstreamer-plugins-base0.10-0_0.10.29.3-1_amd64.deb) ...
Unpacking replacement libgstreamer-plugins-base0.10-0 ...
Preparing to replace gstreamer0.10-alsa 0.10.29-4 (using .../gstreamer0.10-alsa_0.10.29.3-1_amd64.deb) ...
Unpacking replacement gstreamer0.10-alsa ...
Selecting previously deselected package liborc-0.4-0.
Unpacking liborc-0.4-0 (from .../liborc-0.4-0_0.4.5-1_amd64.deb) ...
Preparing to replace gstreamer0.10-plugins-base 0.10.29-4 (using .../gstreamer0.10-plugins-base_0.10.29.3-1_amd64.deb) ...
Unpacking replacement gstreamer0.10-plugins-base ...
Preparing to replace gstreamer0.10-tools 0.10.29-1 (using .../gstreamer0.10-tools_0.10.29.3-1_amd64.deb) ...
Unpacking replacement gstreamer0.10-tools ...
Preparing to replace gstreamer0.10-plugins-base-apps 0.10.29-4 (using .../gstreamer0.10-plugins-base-apps_0.10.29.3-1_amd64.deb) ...
Unpacking replacement gstreamer0.10-plugins-base-apps ...
Preparing to replace gstreamer0.10-plugins-good 0.10.23-1ubuntu1 (using .../gstreamer0.10-plugins-good_0.10.23.3-1ubuntu1_amd64.deb) ...
Unpacking replacement gstreamer0.10-plugins-good ...
Preparing to replace gstreamer0.10-pulseaudio 0.10.23-1ubuntu1 (using .../gstreamer0.10-pulseaudio_0.10.23.3-1ubuntu1_amd64.deb) ...
Unpacking replacement gstreamer0.10-pulseaudio ...
Preparing to replace gstreamer0.10-x 0.10.29-4 (using .../gstreamer0.10-x_0.10.29.3-1_amd64.deb) ...
Unpacking replacement gstreamer0.10-x ...
Preparing to replace libdbusmenu-glib1 0.3.3-0ubuntu1 (using .../libdbusmenu-glib1_0.3.4-0ubuntu1_amd64.deb) ...
Unpacking replacement libdbusmenu-glib1 ...
Preparing to replace libdbusmenu-gtk1 0.3.3-0ubuntu1 (using .../libdbusmenu-gtk1_0.3.4-0ubuntu1_amd64.deb) ...
Unpacking replacement libdbusmenu-gtk1 ...
Preparing to replace libnotify1 0.4.5-1ubuntu3 (using .../libnotify1_0.5.0-2_amd64.deb) ...
Unpacking replacement libnotify1 ...
Preparing to replace libpam-gnome-keyring 2.92.92.is.2.30.1-0ubuntu2 (using .../libpam-gnome-keyring_2.92.92.is.2.30.3-0ubuntu1_amd64.deb) ...
Unpacking replacement libpam-gnome-keyring ...
Preparing to replace libsdl1.2debian 1.2.14-6ubuntu2 (using .../libsdl1.2debian_1.2.14-6ubuntu3_amd64.deb) ...
Unpacking replacement libsdl1.2debian ...
Preparing to replace libsdl1.2debian-alsa 1.2.14-6ubuntu2 (using .../libsdl1.2debian-alsa_1.2.14-6ubuntu3_amd64.deb) ...
Unpacking replacement libsdl1.2debian-alsa ...
Preparing to replace libwnck-common 1:2.30.2-0ubuntu1 (using .../libwnck-common_1%3a2.30.2-0ubuntu2_all.deb) ...
Unpacking replacement libwnck-common ...
Preparing to replace libwnck22 1:2.30.2-0ubuntu1 (using .../libwnck22_1%3a2.30.2-0ubuntu2_amd64.deb) ...
Unpacking replacement libwnck22 ...
Preparing to replace linux-headers-2.6.35-6 2.6.35-6.8 (using .../linux-headers-2.6.35-6_2.6.35-6.9_all.deb) ...
Unpacking replacement linux-headers-2.6.35-6 ...
Preparing to replace linux-headers-2.6.35-6-generic 2.6.35-6.8 (using .../linux-headers-2.6.35-6-generic_2.6.35-6.9_amd64.deb) ...
Unpacking replacement linux-headers-2.6.35-6-generic ...
Preparing to replace linux-libc-dev 2.6.35-6.8 (using .../linux-libc-dev_2.6.35-6.9_amd64.deb) ...
Unpacking replacement linux-libc-dev ...
Preparing to replace notify-osd 0.9.29-0ubuntu2 (using .../notify-osd_0.9.29-0ubuntu3_amd64.deb) ...
Unpacking replacement notify-osd ...
Preparing to replace python-gst0.10 0.10.18-2 (using .../python-gst0.10_0.10.18.3-1_amd64.deb) ...
Unpacking replacement python-gst0.10 ...
Preparing to replace rtkit 0.7-0ubuntu1 (using .../rtkit_0.8-0ubuntu1_amd64.deb) ...
Unpacking replacement rtkit ...
Processing triggers for man-db ...
Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66.
Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67.
Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68.
Processing triggers for hicolor-icon-theme ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_CA.UTF8.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for install-info ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for python-support ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.35-6-generic_2.6.35-6.9_amd64.deb
Setting up python-aptdaemon (0.31+bzr416-0ubuntu1) ...
Setting up libxcb-shm0 (1.6-1) ...
Setting up libcairo2 (1.9.10-1ubuntu1) ...
Setting up libdbusmenu-glib1 (0.3.4-0ubuntu1) ...
Setting up libnotify1 (0.5.0-2) ...
Setting up byobu (2.81-0ubuntu1) ...
Setting up grub-common (1.98+20100614-2ubuntu4) ...
Setting up gconf2-common (2.31.5-0ubuntu3) ...
Setting up linux-libc-dev (2.6.35-6.9) ...
Setting up libgp11-0 (2.92.92.is.2.30.3-0ubuntu1) ...
Setting up libpam-gnome-keyring (2.92.92.is.2.30.3-0ubuntu1) ...
Setting up liborc-0.4-0 (0.4.5-1) ...
Setting up rtkit (0.8-0ubuntu1) ...
Setting up net-tools (1.60-23ubuntu3) ...
Setting up libhpmud0 (3.10.5-3ubuntu3) ...
Setting up libsdl1.2debian-alsa (1.2.14-6ubuntu3) ...
Setting up libgstreamer0.10-0 (0.10.29.3-1) ...
Setting up linux-headers-2.6.35-6 (2.6.35-6.9) ...
Setting up grub-pc (1.98+20100614-2ubuntu4) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-6-generic
Found initrd image: /boot/initrd.img-2.6.35-6-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up libwnck-common (1:2.30.2-0ubuntu2) ...
Setting up libwnck22 (1:2.30.2-0ubuntu2) ...
Setting up hplip-data (3.10.5-3ubuntu3) ...
Setting up libdbusmenu-gtk1 (0.3.4-0ubuntu1) ...
Setting up hplip-cups (3.10.5-3ubuntu3) ...
Setting up language-selector-common (0.6.1) ...
Installing new version of config file /etc/fonts/conf.avail/69-language-selector-ja-jp.conf ...
Setting up hplip (3.10.5-3ubuntu3) ...
Creating/updating hplip user account...
Setting up gstreamer0.10-tools (0.10.29.3-1) ...
Setting up gstreamer0.10-plugins-base-apps (0.10.29.3-1) ...
Setting up libsdl1.2debian (1.2.14-6ubuntu3) ...
Setting up hpijs (3.10.5-3ubuntu3) ...
Setting up linux-headers-2.6.35-6-generic (2.6.35-6.9) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.35-6-generic /boot/vmlinuz-2.6.35-6-generic
Setting up libgconf2-4 (2.31.5-0ubuntu3) ...
Setting up libgcr0 (2.92.92.is.2.30.3-0ubuntu1) ...
Setting up libgstreamer-plugins-base0.10-0 (0.10.29.3-1) ...
Setting up python-gst0.10 (0.10.18.3-1) ...
Setting up gstreamer0.10-pulseaudio (0.10.23.3-1ubuntu1) ...
Setting up gconf2 (2.31.5-0ubuntu3) ...
Setting up gstreamer0.10-plugins-base (0.10.29.3-1) ...
Setting up notify-osd (0.9.29-0ubuntu3) ...
Setting up gstreamer0.10-plugins-good (0.10.23.3-1ubuntu1) ...
Setting up gstreamer0.10-x (0.10.29.3-1) ...
Setting up gstreamer0.10-alsa (0.10.29.3-1) ...
Setting up gnome-keyring (2.92.92.is.2.30.3-0ubuntu1) ...
Installing new version of config file /etc/xdg/autostart/gnome-keyring-pkcs11.desktop ...
Installing new version of config file /etc/xdg/autostart/gnome-keyring-secrets.desktop ...
Installing new version of config file /etc/xdg/autostart/gnome-keyring-ssh.desktop ...
Processing triggers for python-central ...
Setting up aptdaemon (0.31+bzr416-0ubuntu1) ...
Setting up python-aptdaemon-gtk (0.31+bzr416-0ubuntu1) ...
Processing triggers for python-central ...
Setting up language-selector (0.6.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-central ... "


When I try to update again using ''update manager" and pressing 'check' I get this in the progress bar:

"Downloaded 0B of 1B"


Perhaps it is something to do with Software Sources?

Any suggestions would be great!

Thank you

davidmohammed
July 2nd, 2010, 09:25 PM
try something like

sudo dpkg --remove linux-image-2.6.35-6-generic_2.6.35-6.9_amd64

or

sudo dpkg --remove --force-remove-reinstreq linux-image-2.6.35-6-generic_2.6.35-6.9_amd64

RJARRRPCGP
July 2nd, 2010, 09:43 PM
Looks like your internet service may be bad. Or you have router issues.

Possibly a bad cat cable.

Looks like you likely had a corrupted download and then a package extract failed.

finnpony
April 4th, 2011, 07:37 PM
its the HHFC shut it down and it will wrk:P





:guitar:





:lolflag:

finnpony
April 4th, 2011, 07:40 PM
Looks like your internet service may be bad. Or you have router issues.

Possibly a bad dog

Looks like you likely had a corrupted download and then a package extract failed. its the HHFC shut it down! :o