[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#592834: Just saw this when using autoremove



I just updated my 20.04 install, it installed 5.4.0-84 (among other things). I rebooted and then used apt autoremove to remove anything old. Here's what I got:

root@rct2:/home/farokh# apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
  linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
  linux-modules-extra-5.4.0-77-generic linux-modules-extra-5.4.0-80-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 755 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 187508 files and directories currently installed.)
Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
done
Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on lvs invocation. Parent PID 4086: /bin/sh
done
Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...


Here is all the text from the ssh sessions:


farokhs-Mac-Pro:~ farokh$ ssh rctmail
farokh@mail.rocklandtimes.com's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-81-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue 07 Sep 2021 01:20:58 PM EDT

  System load:  0.01                Processes:               273
  Usage of /:   50.1% of 194.88GB   Users logged in:         0
  Memory usage: 14%                 IPv4 address for ens160: 10.185.4.94
  Swap usage:   0%                  IPv4 address for ens192: 165.254.4.94

 * Super-optimized for small spaces - read how we shrank the memory
   footprint of MicroK8s to make it the smallest full K8s around.

   https://ubuntu.com/blog/microk8s-memory-optimisation

3 updates can be applied immediately.
To see these additional updates run: apt list --upgradable


Last login: Mon Aug 23 17:40:26 2021 from 165.254.4.10
farokh@rct2:~$ sudo su
[sudo] password for farokh:
root@rct2:/home/farokh# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,202 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [257 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [14.1 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [440 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [62.9 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [853 kB]
Fetched 3,157 kB in 1s (2,450 kB/s)                     
Reading package lists... Done
Building dependency tree      
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@rct2:/home/farokh# apt upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.4.0-84 linux-headers-5.4.0-84-generic linux-image-5.4.0-84-generic linux-modules-5.4.0-84-generic
  linux-modules-extra-5.4.0-84-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic python-apt-common python3-apt thermald
6 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.0 MB of archives.
After this operation, 378 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python-apt-common all 2.0.0ubuntu0.20.04.6 [17.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-apt amd64 2.0.0ubuntu0.20.04.6 [154 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-5.4.0-84-generic amd64 5.4.0-84.94 [14.8 MB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-5.4.0-84-generic amd64 5.4.0-84.94 [8,992 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-modules-extra-5.4.0-84-generic amd64 5.4.0-84.94 [39.4 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-generic amd64 5.4.0.84.88 [1,896 B]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-image-generic amd64 5.4.0.84.88 [2,568 B]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-84 all 5.4.0-84.94 [11.0 MB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-84-generic amd64 5.4.0-84.94 [1,396 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-generic amd64 5.4.0.84.88 [2,436 B]
Get:11 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 thermald amd64 1.9.1-1ubuntu0.5 [233 kB]
Fetched 76.0 MB in 2s (48.1 MB/s)  
(Reading database ... 151087 files and directories currently installed.)
Preparing to unpack .../00-python-apt-common_2.0.0ubuntu0.20.04.6_all.deb ...
Unpacking python-apt-common (2.0.0ubuntu0.20.04.6) over (2.0.0ubuntu0.20.04.5) ...
Preparing to unpack .../01-python3-apt_2.0.0ubuntu0.20.04.6_amd64.deb ...
Unpacking python3-apt (2.0.0ubuntu0.20.04.6) over (2.0.0ubuntu0.20.04.5) ...
Selecting previously unselected package linux-modules-5.4.0-84-generic.
Preparing to unpack .../02-linux-modules-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
Unpacking linux-modules-5.4.0-84-generic (5.4.0-84.94) ...
Selecting previously unselected package linux-image-5.4.0-84-generic.
Preparing to unpack .../03-linux-image-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
Unpacking linux-image-5.4.0-84-generic (5.4.0-84.94) ...
Selecting previously unselected package linux-modules-extra-5.4.0-84-generic.
Preparing to unpack .../04-linux-modules-extra-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
Unpacking linux-modules-extra-5.4.0-84-generic (5.4.0-84.94) ...
Preparing to unpack .../05-linux-generic_5.4.0.84.88_amd64.deb ...
Unpacking linux-generic (5.4.0.84.88) over (5.4.0.81.85) ...
Preparing to unpack .../06-linux-image-generic_5.4.0.84.88_amd64.deb ...
Unpacking linux-image-generic (5.4.0.84.88) over (5.4.0.81.85) ...
Selecting previously unselected package linux-headers-5.4.0-84.
Preparing to unpack .../07-linux-headers-5.4.0-84_5.4.0-84.94_all.deb ...
Unpacking linux-headers-5.4.0-84 (5.4.0-84.94) ...
Selecting previously unselected package linux-headers-5.4.0-84-generic.
Preparing to unpack .../08-linux-headers-5.4.0-84-generic_5.4.0-84.94_amd64.deb ...
Unpacking linux-headers-5.4.0-84-generic (5.4.0-84.94) ...
Preparing to unpack .../09-linux-headers-generic_5.4.0.84.88_amd64.deb ...
Unpacking linux-headers-generic (5.4.0.84.88) over (5.4.0.81.85) ...
Preparing to unpack .../10-thermald_1.9.1-1ubuntu0.5_amd64.deb ...
Unpacking thermald (1.9.1-1ubuntu0.5) over (1.9.1-1ubuntu0.4) ...
Setting up linux-headers-5.4.0-84 (5.4.0-84.94) ...
Setting up linux-modules-5.4.0-84-generic (5.4.0-84.94) ...
Setting up python-apt-common (2.0.0ubuntu0.20.04.6) ...
Setting up thermald (1.9.1-1ubuntu0.5) ...
Setting up python3-apt (2.0.0ubuntu0.20.04.6) ...
Setting up linux-headers-5.4.0-84-generic (5.4.0-84.94) ...
Setting up linux-headers-generic (5.4.0.84.88) ...
Setting up linux-image-5.4.0-84-generic (5.4.0-84.94) ...
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.4.0-81-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.4.0-81-generic
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-84-generic
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-84-generic
Setting up linux-modules-extra-5.4.0-84-generic (5.4.0-84.94) ...
Setting up linux-image-generic (5.4.0.84.88) ...
Setting up linux-generic (5.4.0.84.88) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for linux-image-5.4.0-84-generic (5.4.0-84.94) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-84-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
Found linux image: /boot/vmlinuz-5.4.0-77-generic
Found initrd image: /boot/initrd.img-5.4.0-77-generic
done
root@rct2:/home/farokh# shutdown -r now
Connection to mail.rocklandtimes.com closed by remote host.
Connection to mail.rocklandtimes.com closed.
farokhs-Mac-Pro:~ farokh$ ssh rctmail
farokh@mail.rocklandtimes.com's password:
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-84-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue 07 Sep 2021 01:25:56 PM EDT

  System load:  0.81                Processes:               279
  Usage of /:   50.3% of 194.88GB   Users logged in:         0
  Memory usage: 8%                  IPv4 address for ens160: 10.185.4.94
  Swap usage:   0%                  IPv4 address for ens192: 165.254.4.94

 * Super-optimized for small spaces - read how we shrank the memory
   footprint of MicroK8s to make it the smallest full K8s around.

   https://ubuntu.com/blog/microk8s-memory-optimisation

0 updates can be applied immediately.


Last login: Tue Sep  7 13:21:00 2021 from 165.254.4.10
farokh@rct2:~$ sudo su
[sudo] password for farokh:
root@rct2:/home/farokh# apt autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.4.0-77 linux-headers-5.4.0-77-generic linux-headers-5.4.0-80 linux-headers-5.4.0-80-generic
  linux-image-5.4.0-77-generic linux-image-5.4.0-80-generic linux-modules-5.4.0-77-generic linux-modules-5.4.0-80-generic
  linux-modules-extra-5.4.0-77-generic linux-modules-extra-5.4.0-80-generic
0 upgraded, 0 newly installed, 10 to remove and 0 not upgraded.
After this operation, 755 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 187508 files and directories currently installed.)
Removing linux-headers-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-headers-5.4.0-77 (5.4.0-77.86) ...
Removing linux-headers-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-headers-5.4.0-80 (5.4.0-80.90) ...
Removing linux-modules-extra-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-image-5.4.0-77-generic (5.4.0-77.86) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-77-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
Found linux image: /boot/vmlinuz-5.4.0-80-generic
Found initrd image: /boot/initrd.img-5.4.0-80-generic
done
Removing linux-modules-extra-5.4.0-80-generic (5.4.0-80.90) ...
Removing linux-image-5.4.0-80-generic (5.4.0-80.90) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-80-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3468: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3481: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3494: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3507: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3579: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found linux image: /boot/vmlinuz-5.4.0-81-generic
Found initrd image: /boot/initrd.img-5.4.0-81-generic
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on vgs invocation. Parent PID 3979: /usr/sbin/grub-probe
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.4.0-77-generic (deleted)) leaked on lvs invocation. Parent PID 4086: /bin/sh
done
Removing linux-modules-5.4.0-77-generic (5.4.0-77.86) ...
Removing linux-modules-5.4.0-80-generic (5.4.0-80.90) ...
root@rct2:/home/farokh# shutdown -r now
Connection to mail.rocklandtimes.com closed by remote host.
Connection to mail.rocklandtimes.com closed.
farokhs-Mac-Pro:~ farokh$



-- 

Farokh
----------------------------------------------------------------------------
Best Tech Service, LLC - When only the Best Tech will do...
For all your technology needs including hosting solutions.
Office: 845-735-0210
Cell: 914-262-1594
Like us on Facebook: https://www.facebook.com/besttechsvc

Reply to: