Originally posted by TRobo
View Post
Before reading that comment I had only changed the status of the linux-image* packages from manual to auto e.g. with 'sudo apt-mark auto
Code:
[FONT=monospace][COLOR=#54ff54][B]TRobo@desktop[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ sudo apt-mark auto 'linux-headers-5.4.0-54' [/COLOR]
linux-headers-5.4.0-54 set to automatically installed.
[COLOR=#54ff54][B]TRobo@desktop[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ sudo apt-mark auto 'linux-headers-5.4.0-54-generic' [/COLOR]
linux-headers-5.4.0-54-generic set to automatically installed.
[COLOR=#54ff54][B]TRobo@desktop[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ sudo apt-mark auto 'linux-modules-5.4.0-54-generic' [/COLOR]
linux-modules-5.4.0-54-generic set to automatically installed.
[COLOR=#54ff54][B]TRobo@desktop[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ sudo apt-mark auto 'linux-modules-extra-5.4.0-54-generic' [/COLOR]
linux-modules-extra-5.4.0-54-generic set to automatically installed.
linux-image-5.4.0-54-generic', but there are also other related packages that need to have their status changed to auto as well before 'sudo apt autoremove --purge' will remove any of them:
Code:
[FONT=monospace][COLOR=#54ff54][B]TRobo@desktop[/B][/COLOR][COLOR=#000000]:[/COLOR][COLOR=#5454ff][B]~[/B][/COLOR][COLOR=#000000]$ sudo apt autoremove --purge [/COLOR] Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-5.4.0-54* linux-headers-5.4.0-54-generic* linux-headers-5.4.0-66* linux-headers-5.4.0-66-generic* linux-image-5.4.0-54-generic* linux-image-5.4.0-66-generic* linux-modules-5.4.0-54-generic* linux-modules-5.4.0-66-generic* linux-modules-extra-5.4.0-54-generic* linux-modules-extra-5.4.0-66-generic* 0 to upgrade, 0 to newly install, 10 to remove and 0 not to upgrade. After this operation, 721 MB disk space will be freed. Do you want to continue? [Y/n] [/FONT]
Leave a comment: