purge-old-kernels deprecated

Liam Proven lproven at gmail.com
Sun Jan 8 11:48:32 UTC 2023


On Sat, 7 Jan 2023 at 20:27, Ian Bruntlett <ian.bruntlett at gmail.com> wrote:

> apt full-upgrade -y # upgrade and remove packages if required

It's not just that it will remove packages; if necessary,
"full-upgrade" will add new dependencies if needed. Just "upgrade"
won't: it will only apply upgrades to what is already present.

> apt autoclean # removes virtually useless files from the cache

Just "apt clean" is enough, IMHO.

> apt purge # even more tidying up

We can be more specific: if a program has been removed, "purge"
removes config files left behind.

> # is it ok to do this here? snap-store --quit

Er, I guess.

> # how do I restart the snap-store here? By running snap-store?

Er... why would you want to?

> In an ideal world I'd make a script like this runnable from the GUI so that friends who run Ubuntu Linux but don't like the command line can update their systems without me having to be physically present.


But there already _is_ a graphical update tool... so why do another?

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lproven at cix.co.uk ~ gMail/gTalk/FB: lproven at gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053



More information about the ubuntu-users mailing list