Update commands sequence - was - Re: The Register : Article on a CUPS bug..
MR ZenWiz
mrzenwiz at gmail.com
Sat Sep 28 19:56:07 UTC 2024
On Sat, Sep 28, 2024 at 11:56 AM Bret Busby <bret at busby.net> wrote:
>
:
> I believe and suggest that the following command sequence is preferable,
> when doing a system update involving rebooting;
>
> sudo -i
> apt update
> apt full-upgrade -y
> apt autoremove -y
> apt autoclean
> shutdown -r now
>
> I believe that this leaves the system in a cleaner state.
>
> More knowledgeable people than me, may care to comment on this.
I could be mistaken, but I believe the auoremove and autoclean are
more effective after the reboot.
HTH,
MRZ
More information about the ubuntu-users
mailing list