purge-old-kernels deprecated

Liam Proven lproven at gmail.com
Sun Jan 8 22:49:29 UTC 2023


On 08/01/2023 6:20 pm, Bo Berglund wrote:

> 
> Seems like this is what I would like to do too, but on a regular PC server (see
> reply to Ian Bruntlett showing what it is used for on my PC).

Sure, yes.

I mean, when I was actively using the RasPi server, I set it to run the 
`unattended-upgrades` tool on a regular basis, so it installed its own 
updates.

It emailed me to tell me the results, and only if there was a problem 
did I SSH in to fix it.

> How exactly did you remove snap and can it be done on a regular Ubuntu system
> too (rather than the RaspberryPi one)?

Yes it can.

It's fairly easy.

[1] Remove all Snap packages.
[2] Remove snapd itself.

Here are some how-tos:

https://www.simplified.guide/ubuntu/remove-snapd

This was the first one I saw personally:

https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-10-and-20-04-lts/

Rediscovered via this:

https://askubuntu.com/questions/1035915/how-to-remove-snap-from-ubuntu

This one also documents how to block it from being re-installed 
automatically:

https://www.debugpoint.com/remove-snap-ubuntu/


> BTW I do have some 10-15 RPi systems running too...
> (Cannot get more now because they are out of stock everywhere)

I have considered selling my unused ones. :-)

Yes, but of course, if they run Raspbian, you don't need to care. It 
doesn't include snapd or snap support... although it's Debian underneath 
so you could add it.


-- 
Liam Proven - Profile: https://about.me/liamproven
Email: lproven at cix.co.uk - Google Mail/Hangouts/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053



More information about the ubuntu-users mailing list