Updating kernel using aptitude

run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic update-initramfs: Generating /boot/initrd.img-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-38-generic /boot/vmlinuz-4.4.0-38-generic Generating grub configuration file ...

You will get the message "The following packages were automatically installed and are no longer required". The following packages will be REMOVED: linux-headers-4.4.0-21-generic* linux-headers-4.4.0-34-generic* linux-headers-4.4.0-36-generic* linux-headers-4.4.0-38-generic* linux-image-4.4.0-21-generic* linux-image-4.4.0-34-generic* linux-image-4.4.0-36-generic* linux-image-4.4.0-38-generic* linux-image-extra-4.4.0-34-generic* linux-image-extra-4.4.0-36-generic* linux-image-extra-4.4.0-38-generic* 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.

This message is no specific for kernel, but for any package which no longer required in your system: This program will remove old kernel and header packages from the system, freeing disk space. By default, it will keep at least the latest 2 kernels, but the user can override that value using the --keep parameter. After this operation, 738 MB disk space will be freed. 393355 files and directories currently installed.) Removing linux-headers-4.4.0-21-generic (4.4.0-21.37) ... run-parts: executing /etc/kernel/prerm.d/dkms 4.4.0-21-generic /boot/vmlinuz-4.4.0-21-generic dkms: removing: bbswitch 0.8 (4.4.0-21-generic) (x86_64) -------- Uninstall Beginning -------- Module: bbswitch Version: 0.8 Kernel: 4.4.0-21-generic (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel.

Removing linux-image-4.4.0-36-generic (4.4.0-36.55) ... bbswitch.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-36-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. dkms: removing: nvidia-361 361.42 (4.4.0-36-generic) (x86_64) -------- Uninstall Beginning -------- Module: nvidia-361 Version: 361.42 Kernel: 4.4.0-36-generic (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel.

- Use the dkms install command to reinstall any previous module version. nvidia_361.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-36-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel.

Removing linux-image-4.4.0-38-generic (4.4.0-38.57) ... bbswitch.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-38-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. dkms: removing: nvidia-361 361.42 (4.4.0-38-generic) (x86_64) -------- Uninstall Beginning -------- Module: nvidia-361 Version: 361.42 Kernel: 4.4.0-38-generic (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel.

- Use the dkms install command to reinstall any previous module version. nvidia_361.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-38-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel.

After removing old kernels, new boot menu will be available in next reboot.

In a healthy Debian system, each time you install a package or update your system, you will be prompted that old kernels (if any) can ber removed. The following package was automatically installed and is no longer required: linux-image-extra-4.4.0-42-generic Use 'sudo apt autoremove' to remove it.

nvidia_361_uvm.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-34-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

- Use the dkms install command to reinstall any previous module version. Found linux image: /boot/vmlinuz-4.4.0-45-generic Found initrd image: /boot/initrd.img-4.4.0-45-generic Found linux image: /boot/vmlinuz-4.4.0-43-generic Found initrd image: /boot/initrd.img-4.4.0-43-generic Found linux image: /boot/vmlinuz-4.4.0-42-generic Found initrd image: /boot/initrd.img-4.4.0-42-generic Found linux image: /boot/vmlinuz-4.4.0-38-generic Found initrd image: /boot/initrd.img-4.4.0-38-generic Found linux image: /boot/vmlinuz-4.4.0-36-generic Found initrd image: /boot/initrd.img-4.4.0-36-generic Found memtest86 image: /memtest86 Found memtest86 image: /memtest86 done Purging configuration files for linux-image-4.4.0-34-generic (4.4.0-34.53) ... run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-34-generic /boot/vmlinuz-4.4.0-34-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-34-generic /boot/vmlinuz-4.4.0-34-generic Removing linux-image-extra-4.4.0-36-generic (4.4.0-36.55) ...

nvidia_361_modeset.ko: - Uninstallation - Deleting from: /lib/modules/4.4.0-34-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel.

295 Comments

  1. (This is a painful experience, but it causes no lasting harm.) On the first trial, the volunteers kept their hand in a chilly fifty-seven degree water bath for sixty seconds.

Comments are closed.