Software update problem

Ralf Mardorf silver.bullet at zoho.com
Mon Oct 24 21:30:44 UTC 2016


On Mon, 24 Oct 2016 22:45:23 +0200, Liam Proven wrote:
>sudo apt clean
>sudo apt autoclean

Running 'autoclean' after 'clean' makes no sense. Liam most likely made
a typo, this probably should read.

sudo apt clean
sudo apt autoremove

>sudo apt dist-upgrade -y

'apt dist-upgrade' works, but we should avoid using this apt-get option
with apt and replace it by 'full-upgrade'.

sudo apt full-upgrade -y

IMO we shouldn't run apt non-interactively, I would remove -y, aka
--yes, --assume-yes, IOW I recommend to run

sudo apt full-upgrade

Résumé:

sudo -i
dpkg --configure -a
apt install -f
apt clean
apt autoremove
apt update
apt full-upgrade # with or withot -y
logout # or Ctrl+D

Regards,
Ralf





More information about the ubuntu-users mailing list