Skip to content

Instantly share code, notes, and snippets.

@giuseb
Created November 28, 2016 07:42
Show Gist options
  • Save giuseb/ef11c040c527f9014d0f4f1a79fe11b1 to your computer and use it in GitHub Desktop.
Save giuseb/ef11c040c527f9014d0f4f1a79fe11b1 to your computer and use it in GitHub Desktop.
Holding 3 packages
$ sudo aptitude hold linux-image-extra-3.13.0-100-generic linux-image-extra-3.13.0-101-generic linux-image-extra-3.13.0-92-generic
The following partially installed packages will be configured:
linux-image-3.13.0-100-generic linux-image-3.13.0-101-generic linux-image-3.13.0-92-generic linux-image-3.13.0-93-generic linux-image-3.13.0-96-generic
linux-image-extra-3.13.0-93-generic linux-image-extra-3.13.0-96-generic
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/111 MB of archives. After unpacking 0 B will be used.
Setting up linux-image-3.13.0-100-generic (3.13.0-100.147) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-101-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-100-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-100-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.13.0-100-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-100-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-101-generic (3.13.0-101.148) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-100-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-101-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-101-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.13.0-101-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-101-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-92-generic (3.13.0-92.139) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-101-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-92-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-92-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.13.0-92-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-92-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-92-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-93-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.13.0-93-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-93-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-96-generic (3.13.0-96.143) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-93-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-96-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-96-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.13.0-96-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-96-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: error processing package linux-image-extra-3.13.0-100-generic (--configure):
package linux-image-extra-3.13.0-100-generic is not ready for configuration
cannot configure (current status `half-installed')
dpkg: error processing package linux-image-extra-3.13.0-101-generic (--configure):
package linux-image-extra-3.13.0-101-generic is not ready for configuration
cannot configure (current status `half-installed')
dpkg: error processing package linux-image-extra-3.13.0-92-generic (--configure):
package linux-image-extra-3.13.0-92-generic is not ready for configuration
cannot configure (current status `half-installed')
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-93-generic:
linux-image-extra-3.13.0-93-generic depends on linux-image-3.13.0-93-generic; however:
Package linux-image-3.13.0-93-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-93-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-96-generic:
linux-image-extra-3.13.0-96-generic depends on linux-image-3.13.0-96-generic; however:
Package linux-image-3.13.0-96-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-96-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.13.0-100-generic
linux-image-3.13.0-101-generic
linux-image-3.13.0-92-generic
linux-image-3.13.0-93-generic
linux-image-3.13.0-96-generic
linux-image-extra-3.13.0-100-generic
linux-image-extra-3.13.0-101-generic
linux-image-extra-3.13.0-92-generic
linux-image-extra-3.13.0-93-generic
linux-image-extra-3.13.0-96-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-image-3.13.0-100-generic (3.13.0-100.147) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-96-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-100-generic /boot/vmlinuz-3.13.0-100-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-100-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-100-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.13.0-100-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-100-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-96-generic (3.13.0-96.143) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-100-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-96-generic /boot/vmlinuz-3.13.0-96-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-96-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-96-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.13.0-96-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-96-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-92-generic (3.13.0-92.139) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-96-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-92-generic /boot/vmlinuz-3.13.0-92-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-92-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-92-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.13.0-92-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-92-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-92-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-93-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.13.0-93-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-93-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.13.0-101-generic (3.13.0-101.148) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.13.0-93-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-101-generic /boot/vmlinuz-3.13.0-101-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-101-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-101-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.13.0-101-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-101-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-96-generic:
linux-image-extra-3.13.0-96-generic depends on linux-image-3.13.0-96-generic; however:
Package linux-image-3.13.0-96-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-96-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-93-generic:
linux-image-extra-3.13.0-93-generic depends on linux-image-3.13.0-93-generic; however:
Package linux-image-3.13.0-93-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-93-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-3.13.0-100-generic
linux-image-3.13.0-96-generic
linux-image-3.13.0-92-generic
linux-image-3.13.0-93-generic
linux-image-3.13.0-101-generic
linux-image-extra-3.13.0-96-generic
linux-image-extra-3.13.0-93-generic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment