apt-get question: dist-upgrade vs upgrade
apt-get upgrade
This command installs the latest versions of any out-of-date packages on your system. It never installs a package that is not yet installed. apt-get dist-upgrade This command installs up-to-date version of packages, and may install additional packages. ----------------------- So does this mean dist-upgrade installs packages not installed on the system? If so, are those packages absolutely necessary? I need to keep the OS size small since I need to be able to backup the system to a single restore CD. I only want currently installed packages to be updated and packages improving the reliablilty/stability of the OS to be installed. Which one should I use? Thanks! |
Hi,
From the man-page: "upgrade is used to install the newest versions of all packages currently installed on the system ... dist-upgrade, in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages" Quote:
Quote:
If you want to simply upgrade the packages you have installed for your current distro, use 'apt-get upgrade'. I hope that clears up your confusion. |
updates kernel as well?
Does this command updates to latest kernel as well? I want to update my ubuntu to latest kernel.
|
Quote:
Quote:
|
Just realized this thread is from 8 years ago...
|
I understand what you saying. It updates to latest kernel of current OS version loaded. Thanks you
|
I think "apt-get dist-upgrade" is equal to synaptic 'smart upgrade' option.
|
Just tried an
Code:
apt-get -s dist-upgrade |
It amazes me that people back in 2004 were asking the same questions I find myself asking now. Thanks for this thread, it's helped me understand a little more :)
|
Quote:
Oh how little I knew with the OtherOS blanket over my eyes. :) |
All times are GMT -5. The time now is 10:47 PM. |