Cannot install or remove software using synaptic or Ubuntu software center.

Asked by Alfredo Hidalgo

Various members have tried to help. Basically when I try to either remove software using synaptic or Ubuntu software center I get error messages and the process fails to complete. I try to do updates and that also fails. I tried to remove Virtualbox and received error messages. Examples of error and output message below.

Error message:
E: /var/cache/apt/archives/linux-image-3.0.0-14-generic-pae_3.0.0-14.23_i386.deb: subprocess new post-removal script returned error exit status 1
E: /var/cache/apt/archives/linux-image-3.0.0-15-generic-pae_3.0.0-15.26_i386.deb: subprocess new post-removal script returned error exit status 1

Output:

(Reading database ... 402421 files and directories currently installed.)
Preparing to replace linux-image-3.0.0-14-generic-pae 3.0.0-14.23 (using .../linux-image-3.0.0-14-generic-pae_3.0.0-14.23_i386.deb) ...
Done.
Unpacking replacement linux-image-3.0.0-14-generic-pae ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae.dpkg-tmp...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
P: Updating /boot/extlinux/linux.cfg...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 9372: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 9372: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 9372: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 9372: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.0.0-14-generic-pae.postrm line 328.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae.dpkg-tmp...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 9884: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 9884: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 9884: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 9884: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: error processing /var/cache/apt/archives/linux-image-3.0.0-14-generic-pae_3.0.0-14.23_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-14-generic-pae /boot/vmlinuz-3.0.0-14-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
P: Updating /boot/extlinux/linux.cfg...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 10394: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 10394: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 10394: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 10394: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Preparing to replace linux-image-3.0.0-15-generic-pae 3.0.0-15.25 (using .../linux-image-3.0.0-15-generic-pae_3.0.0-15.26_i386.deb) ...
Done.
Unpacking replacement linux-image-3.0.0-15-generic-pae ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae.dpkg-tmp...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
P: Updating /boot/extlinux/linux.cfg...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 10924: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 10924: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 10924: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 10924: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.0.0-15-generic-pae.postrm line 328.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae.dpkg-tmp...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 11436: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 11436: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 11436: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 11436: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: error processing /var/cache/apt/archives/linux-image-3.0.0-15-generic-pae_3.0.0-15.26_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-15-generic-pae /boot/vmlinuz-3.0.0-15-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
P: Updating /boot/extlinux/linux.cfg...
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 11946: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 11946: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 11946: /bin/sh
File descriptor 66 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 11946: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 328.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.0.0-14-generic-pae_3.0.0-14.23_i386.deb
 /var/cache/apt/archives/linux-image-3.0.0-15-generic-pae_3.0.0-15.26_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-3.0.0-15-generic (3.0.0-15.26) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-15-generic
cryptsetup: WARNING: failed to detect canonical device of /host/ubuntu/disks/root.disk
cryptsetup: WARNING: could not determine root device from /etc/fstab
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
File descriptor 7 (/root/.synaptic/selections.proceed) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 8 (/var/cache/apt-xapian-index/index.1/record.DB) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 9 (/var/cache/apt-xapian-index/index.1/spelling.DB) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 10 (/var/cache/apt-xapian-index/index.1/synonym.DB) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 11 (/var/cache/apt-xapian-index/index.1/termlist.DB) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 14 (pipe:[65581]) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 15 (pipe:[65581]) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 16 (/dev/ptmx) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 21941: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 21941: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-15-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-15-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.0.0-16-generic (3.0.0-16.28) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-16-generic
cryptsetup: WARNING: failed to detect canonical device of /host/ubuntu/disks/root.disk
cryptsetup: WARNING: could not determine root device from /etc/fstab
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
File descriptor 7 (/root/.synaptic/selections.proceed) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 8 (/var/cache/apt-xapian-index/index.1/record.DB) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 9 (/var/cache/apt-xapian-index/index.1/spelling.DB) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 10 (/var/cache/apt-xapian-index/index.1/synonym.DB) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 11 (/var/cache/apt-xapian-index/index.1/termlist.DB) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 14 (pipe:[65581]) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 15 (pipe:[65581]) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 16 (/dev/ptmx) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 31911: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 31911: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-16-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-16-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.0.0-16-generic; however:
  Package linux-image-3.0.0-16-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-3.0.0-16-generic-pae (3.0.0-16.28) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-16-generic-pae /boot/vmlinuz-3.0.0-16-generic-pae
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-16-generic-pae /boot/vmlinuz-3.0.0-16-generic-pae
update-initramfs: Generating /boot/initrd.img-3.0.0-16-generic-pae
cryptsetup: WARNING: failed to detect canonical device of /host/ubuntu/disks/root.disk
cryptsetup: WARNING: could not determine root device from /etc/fstab
Warning: No support for locale: en_US.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-16-generic-pae /boot/vmlinuz-3.0.0-16-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-16-generic-pae /boot/vmlinuz-3.0.0-16-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.0.0-16-generic-pae /boot/vmlinuz-3.0.0-16-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-16-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-16-generic...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic-pae...
P: Writing config for /boot/vmlinuz-3.0.0-15-generic...
P: Writing config for /boot/vmlinuz-3.0.0-14-generic-pae...
File descriptor 7 (/root/.synaptic/selections.proceed) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 8 (/var/cache/apt-xapian-index/index.1/record.DB) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 9 (/var/cache/apt-xapian-index/index.1/spelling.DB) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 10 (/var/cache/apt-xapian-index/index.1/synonym.DB) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 11 (/var/cache/apt-xapian-index/index.1/termlist.DB) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 14 (pipe:[65581]) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 15 (pipe:[65581]) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 16 (/dev/ptmx) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 60 (/var/cache/apt-xapian-index/index.1/postlist.DB) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 62 (pipe:[66616]) leaked on lvs invocation. Parent PID 9828: /bin/sh
File descriptor 63 (socket:[65719]) leaked on lvs invocation. Parent PID 9828: /bin/sh
  No volume groups found
P: Writing config for Windows 7 (loader) on /dev/sda2...
P: Installing debian theme...cp: cannot stat `/usr/share/syslinux/themes/debian-squeeze/extlinux/memtest.bin': No such file or directory
run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-16-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.0.0-16-generic-pae (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-pae:
 linux-image-generic-pae depends on linux-image-3.0.0-16-generic-pae; however:
  Package linux-image-3.0.0-16-generic-pae is not configured yet.
dpkg: error processing linux-image-generic-pae (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image:
 linux-image depends on linux-image-generic (= 3.0.0.16.19); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-image (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-pae:
 linux-generic-pae depends on linux-image-generic-pae (= 3.0.0.16.19); however:
  Package linux-image-generic-pae is not configured yet.
dpkg: error processing linux-generic-pae (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux:
 linux depends on linux-image (= 3.0.0.16.19); however:
  Package linux-image is not configured yet.
dpkg: error processing linux (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-3.0.0-15-generic
 linux-image-3.0.0-16-generic
 linux-image-generic
 linux-image-3.0.0-16-generic-pae
 linux-image-generic-pae
 linux-image
 linux-generic-pae
 linux

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.28.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic-pae 3.0.13
Uname: Linux 3.0.0-15-generic-pae i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,gnomecompat,move,vpswitch,mousepoll,regex,snap,commands,grid,place,imgpng,resize,wall,session,obs,unitymtgrabhandles,animation,expo,ezoom,workarounds,fade,scale,unityshell,dbus]
Date: Wed Feb 29 14:49:11 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to oneiric on 2012-01-07 (53 days ago)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabio Marconi (fabiomarconi) said :
#1

not a bug
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
Fabio Marconi (fabiomarconi) said :
#2

Hello
please run in a terminal
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade

Revision history for this message
Alfredo Hidalgo (amh-nyc) said :
#3

Fabio thanks for the suggestion but unfortunately that did not work. I still cannot remove or add software using the terminal, synaptic or software center. Any other ideas.

Revision history for this message
Alfredo Hidalgo (amh-nyc) said :
#4

I tired to remove virtualbox in the software center and received the error message below

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the linux-image-3.0.0-15-generic-pae package. This might mean you need to manually fix this package.

Revision history for this message
Stephen Kestle (stephen-kestle) said :
#5

I have the same problem (with postinst.d:1010). When I get to "sudo apt-get autoremove" as suggested it outputs:

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.0.0-16-generic (3.0.0-16.29) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.0.0-16.28 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.0.0-16.28 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-16-generic
ln: creating symbolic link `/tmp/mkinitramfs_I6JMNq/lib/plymouth/themes/text.plymouth': File exists
ln: creating symbolic link `/tmp/mkinitramfs_I6JMNq/lib/plymouth/themes/default.plymouth': File exists
ln: creating symbolic link `/tmp/mkinitramfs_I6JMNq/sbin/mount.ntfs-3g': File exists
E: /usr/share/initramfs-tools/hooks/ntfs_3g failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.0.0-16-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-16-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-16-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-3.0.0-16-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

I had had issues with a /usr restore that had not correctly restored setuid flags (for su and sudo). Perhaps that's related.

Revision history for this message
Stephen Kestle (stephen-kestle) said :
#6

"ls /usr/share/initramfs-tools/hooks" showed lots of backup files:

brltty framebuffer
brltty.backup.20120228 framebuffer.backup.20120228
btrfs fuse_utils
busybox fuse_utils.backup.20120228
busybox.backup.20120228 kbd
casper kbd.backup.20120228
compcache klibc
compcache.backup.20120228 klibc.backup.20120228
console_setup lupin_casper
console_setup.backup.20120228 mountall
cryptgnupg mountall.backup.20120228
cryptopenct ntfs_3g
cryptopensc ntfs_3g.backup.20120228
cryptpassdev plymouth
cryptroot plymouth.backup.20120228
dmraid thermal
dmsetup thermal.backup.20120228
dmsetup.backup.20120228 udev
fixrtc udev.backup.20120228
fixrtc.backup.20120228

moving these out and re-running fixed my issue. This seems to be caused by my /usr restore using Back In Time, but would indicate that having extraneous duplicate files will break things.

Can you help with this problem?

Provide an answer of your own, or ask Alfredo Hidalgo for more information if necessary.

To post a message you must log in.