PDA

View Full Version : [lubuntu] Update and Upgrade before apt-get optional utilities or after?



walker452
August 14th, 2017, 12:30 AM
What is considered "Best Practice", update/upgrade just after install and *before* apt-get of 'optional utilities' or update/upgrade *after* apt-get of 'optional utilities'?

vasa1
August 14th, 2017, 01:01 AM
What do you mean by "apt-get of 'optional utilities'"?

walker452
August 14th, 2017, 01:18 AM
What do you mean by "apt-get of 'optional utilities'"?

After I install Ubuntu I may want to install inxi via "apt-get install inxi", or ssh with "apt-get install openssh-server".

vasa1
August 14th, 2017, 02:04 AM
I'd update, upgrade, then install.

walker452
August 14th, 2017, 02:14 AM
Sounds reasonable, thanks.

halogen2
August 14th, 2017, 04:02 AM
Not that you could really do it the other way around. If you haven't yet run sudo apt-get update (or equivalent, e.g. update manager) on a newly installed system, it knows only the installed software. So if you try to do it backwards, it'd tell you your optional utilities don't exist in the repos, even though they actually do.