purge-old-kernels deprecated
Bret Busby
bret at busby.net
Sat Jan 7 18:42:30 UTC 2023
On 08/01/2023 02:28, Liam Proven wrote:
> On Sat, 7 Jan 2023 at 19:10, Bret Busby <bret at busby.net> wrote:
>
>> I think that a simpler way, is to do the following.
>>
>> Run the combined command
>>
>> sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y &&
>> sudo apt autoclean
>
> I agree.
>
> The && only proceeds if the previous command succeeded.
>
> For completeness, I add `snap refresh` to the end of that now, too.
>
>
I believe that some also append the purge command (sudo apt purge ?) to
the combination command.
..
Bret Busby
Armadale
West Australia
(UTC+0800)
..............
More information about the ubuntu-users
mailing list