Re: apt-get doesn't upgrade, but synaptic does
On 04/10/2014 04:56 PM, Patrick Bartek wrote:
> Dist-upgrade installs the NEWER version of a file(s) and its
> dependencies, and removes the OLD version. That is, v1.0 to v2.0.
> Upgrade does v1.0 to v1.1 as well a security and bug fixes. Check the
> versions of what was going to be installed against what was initially
> installed. Also, check the held-back files against what
> dist-upgrade would have installed. Any match up namewise?
No, upgrade/safe-upgrade will replace any packages with the newest
version available in the repositories, regardless of whether it's a
major or minor version.
What it won't do is remove any packages. So if upgrading foo requires
bar to be removed in order to satisfy dependencies, foo won't be upgraded.
Dist-upgrade/full-upgrade will remove package to satisfy dependencies.
Debian does avoid major version changes in stable and old-stable. That's
a matter of repository policies though, not an apt/aptitude thing.
Testing and Sid regularly see major version upgrades, by design.