Update Manager and apt-get dist-upgrade - difference?
Been using Linux for a few years now, but mainly Ubuntu and Mint which both have graphical update managers. For a while now I've been using Debian with Xfce on my laptop because of it's small footprint on resources. In Debian i run "apt-get dist-upgrade" to update my system, but in Mint that command seems to upgrade/change rather more stuff than the graphical update manager does. So what is the difference between Mint's Update Manager and running "apt-get dist-upgrade"?
|
There is a difference between apt-get upgrade and apt-get dist-upgrade. From the apt-get man page (man 8 apt-get):
Quote:
|
dist- and upgrade
frankbell:
"Upgrade would commonly be used for normal updates. Dist-upgrade is commonly used when Debian release a new version. I occasionaly use it on Sid, as Sid is sort of a moving target." Yes but that would involve changing sources, dist-upgrade on Mint(13) can have unforseen consequenses. It does look like recently Mint have moved server addresses, hence mirror updates, but usually if you have been relying on the gui updates and change to cmd and you type 'dist-upgrade' the results are different than if you did it on either Debian or Ubuntu, at the very least it might ask you a set of questions you might not know how best to answer. This is not ideal behaviour for sonething that is often recomended to new Linux users. Fred. |
As Sid as a testing release, not a numbered release, apt-get dist-upgrade on Sid does not require changing sources.list.
From time to time on Sid, an apt-get update && apt-get upgrade will report that something is being held back pending apt-get dist-upgrade. Running apt-get dist-upgrade will generally update most, if not all, of the items that have been held back. I haven't bothered to investigate the technical reasons for that, I have just observed that it works. My best guess is that, as updated programs are added to the repos, some of the underlying dependencies do not get updated via apt-get upgrade, but do get updated via apt-get dist-upgrade. As for Mint and dist-upgrade, as Mint does not support on-line version upgrades, that's a whole nother issue. Anyone who wants to try a "dist-upgrade" on Mint should prepare for it just as if preparing for full new version install, because, if dist-upgrade fails, he or she is on his or her own. |
All times are GMT -5. The time now is 10:20 PM. |