Sunday, 27 June 2021

Remove linux-image-lowlatency

$ uname -r 5.8.0-53-generic $ ls -lah /boot shows ls: cannot access 'shows': No such file or directory /boot: total 196M drwxr-xr-x 4 root root 4,0K Mei 21 08:42 . drwxr-xr-x 24 root root 4,0K Feb 2 06:22 .. -rw-r--r-- 1 root root 233K Apr 15 00:35 config-5.4.0-73-lowlatency -rw-r--r-- 1 root root 243K Apr 13 02:47 config-5.8.0-50-generic -rw-r--r-- 1 root root 243K Mei 6 17:28 config-5.8.0-53-generic drwx------ 3 root root 512 Jan 1 1970 efi drwxr-xr-x 4 root root 4,0K Mei 21 08:42 grub lrwxrwxrwx 1 root root 27 Mei 18 14:14 initrd.img -> initrd.img-5.8.0-53-generic -rw-r--r-- 1 root root 49M Mei 18 14:16 initrd.img-5.4.0-73-lowlatency -rw-r--r-- 1 root root 51M Mei 18 14:15 initrd.img-5.8.0-50-generic -rw-r--r-- 1 root root 51M Mei 18 14:16 initrd.img-5.8.0-53-generic lrwxrwxrwx 1 root root 30 Mei 21 08:41 initrd.img.old -> initrd.img-5.4.0-73-lowlatency -rw-r--r-- 1 root root 179K Agu 18 2020 memtest86+.bin -rw-r--r-- 1 root root 181K Agu 18 2020 memtest86+.elf -rw-r--r-- 1 root root 181K Agu 18 2020 memtest86+_multiboot.bin -rw------- 1 root root 4,6M Apr 15 00:35 System.map-5.4.0-73-lowlatency -rw------- 1 root root 5,3M Apr 13 02:47 System.map-5.8.0-50-generic -rw------- 1 root root 5,3M Mei 6 17:28 System.map-5.8.0-53-generic lrwxrwxrwx 1 root root 24 Mei 18 14:14 vmlinuz -> vmlinuz-5.8.0-53-generic -rw------- 1 root root 12M Apr 15 00:37 vmlinuz-5.4.0-73-lowlatency -rw------- 1 root root 9,4M Apr 13 04:17 vmlinuz-5.8.0-50-generic -rw------- 1 root root 9,4M Mei 6 17:29 vmlinuz-5.8.0-53-generic lrwxrwxrwx 1 root root 27 Mei 18 14:14 vmlinuz.old -> vmlinuz-5.4.0-73-lowlatency $ sudo apt-get remove --purge linux-image-5.4.0-73-lowlatency linux-headers-5.4.73-lowlatency Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-5.4.73-lowlatency E: Couldn't find any package by glob 'linux-headers-5.4.73-lowlatency' E: Couldn't find any package by regex 'linux-headers-5.4.73-lowlatency' $ sudo apt-get purge --auto-remove linux-image-lowlatency Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-image-5.4.0-73-lowlatency* linux-image-lowlatency* linux-modules-5.4.0-73-lowlatency* 0 upgraded, 0 newly installed, 3 to remove and 149 not upgraded. After this operation, 291 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 286320 files and directories currently installed.) Removing linux-image-lowlatency (5.4.0.73.76) ... Removing linux-image-5.4.0-73-lowlatency (5.4.0-73.82) ... I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.8.0-50-generic I: /boot/initrd.img.old is now a symlink to initrd.img-5.8.0-50-generic /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.4.0-73-lowlatency /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.8.0-53-generic Found initrd image: /boot/initrd.img-5.8.0-53-generic Found linux image: /boot/vmlinuz-5.8.0-50-generic Found initrd image: /boot/initrd.img-5.8.0-50-generic Adding boot menu entry for UEFI Firmware Settings done Removing linux-modules-5.4.0-73-lowlatency (5.4.0-73.82) ... (Reading database ... 279700 files and directories currently installed.) Purging configuration files for linux-modules-5.4.0-73-lowlatency (5.4.0-73.82) ... dpkg: warning: while removing linux-modules-5.4.0-73-lowlatency, directory '/lib/modules/5.4.0-73-lowlatency' not empty so not removed Purging configuration files for linux-image-5.4.0-73-lowlatency (5.4.0-73.82) ...

Share:

0 comments:

Post a Comment