broken package manager, any clues on how to fix?
Hello, after trying to install linux-backports
for instance:
mercutio@Gir:~$ sudo aptitude safe-upgrade
[sudo] password for mercutio:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
bind9-host dnsutils gzip libbind9-50 libdns50 libdns53 libexpat1 libisc50
libisccc50 libisccfg50 liblwres50
The following partially installed packages will be configured:
linux-
linux-
linux-
linux-
11 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,372kB of archives. After unpacking 4,096B will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Fetched 1,372kB in 0s (1,879kB/s)
(Reading database ... 315299 files and directories currently installed.)
Preparing to replace gzip 1.3.12-8ubuntu1 (using .../gzip_
Ignoring install-info called from maintainer script
The package gzip should be rebuild with new debhelper to get trigger support
Unpacking replacement gzip ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up gzip (1.3.12-8ubuntu1.1) ...
(Reading database ... 315299 files and directories currently installed.)
Preparing to replace bind9-host 1:9.6.1.
Unpacking replacement bind9-host ...
Preparing to replace dnsutils 1:9.6.1.
Unpacking replacement dnsutils ...
Preparing to replace libisc50 1:9.6.1.
Unpacking replacement libisc50 ...
Preparing to replace libdns53 1:9.6.1.
Unpacking replacement libdns53 ...
Preparing to replace libisccc50 1:9.6.1.
Unpacking replacement libisccc50 ...
Preparing to replace libisccfg50 1:9.6.1.
Unpacking replacement libisccfg50 ...
Preparing to replace liblwres50 1:9.6.1.
Unpacking replacement liblwres50 ...
Preparing to replace libbind9-50 1:9.6.1.
Unpacking replacement libbind9-50 ...
Preparing to replace libdns50 1:9.6.1.
Unpacking replacement libdns50 ...
Preparing to replace libexpat1 2.0.1-4ubuntu1 (using .../libexpat1_
Unpacking replacement libexpat1 ...
Processing triggers for man-db ...
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-backports
linux-
Package linux-image-
dpkg: error processing linux-backports
dependency problems - leaving unconfigured
Setting up linux-image-
Running depmod.
No apport report written because the error message indicates its a followup error from a previous failure.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-backports
linux-
Package linux-image-
dpkg: error processing linux-backports
dependency problems - leaving unconfigured
Setting up linux-image-
No apport report written because MaxReports is reached already
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-
No apport report written because MaxReports is reached already
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up libisc50 (1:9.6.
No apport report written because MaxReports is reached already
Setting up libdns53 (1:9.6.
Setting up libisccc50 (1:9.6.
Setting up libisccfg50 (1:9.6.
Setting up libbind9-50 (1:9.6.
Setting up liblwres50 (1:9.6.
Setting up bind9-host (1:9.6.
Setting up dnsutils (1:9.6.
Setting up libdns50 (1:9.6.
Setting up libexpat1 (2.0.1-4ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
linux-
linux-
linux-
linux-
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
: RESUME=/dev/sda2 is not a valid kernel version
update-initramfs: failed for /boot/initrd.
Failed to create initrd image.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-backports
linux-
Package linux-image-
dpkg: error processing linux-backports
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-backports
linux-
Package linux-image-
dpkg: error processing linux-backports
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
linux-
linux-
linux-
linux-
linux-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Current status: 0 updates [-11].
If someone has any clue on how to fix this, please let me know.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by mercutio22