Re: When to sudo apt clean?
tomas wrote:
>> I'd much rather err on the side of extreme caution.
>> If something goes bump, I'm screwed.
>
> To be fair, autoremove can improve safety: when it removes
> old kernel versions filling up your boot partition.
Anything more to add to the 'maintain' function (a1), to
improve safety and dig in from the basis of a sound state?
Now it looks like this:
a1 () {
sudo apt-get -qq check
sudo apt-get -qq update
sudo apt-get -qq autoremove
sudo aptitude -q=99 autoclean
apt -a list --upgradable
}
a2 () {
a1
sudo apt-get -qq upgrade
sudo apt-get dist-upgrade
}
> Having a new kernel install failing because -ENOSPC has
> bitten some of us around here at least once :-)
ENOSPC = error as no space (on the drive).
It only happened to me once as a youth, when I tried to insert
bills into my wallet ...
--
underground experts united
https://dataswamp.org/~incal
Reply to: