3 ms·
As others have mentioned: $ sudo apt-get update && sudo apt-get upgrade In this particular case, from 7.1 to 7.3, "dist-upgrade" is not needed (you aren't
by jlgaddis 13y ago
As others have mentioned:
$ sudo apt-get update && sudo apt-get upgrade
In this particular case, from 7.1 to 7.3, "dist-upgrade" is not needed (you aren't upgrading from one distribution to another (e.g. from 6 to 7)).
- guipsp 13y agoWell, sometimes you need to dist-upgrade, even when not switching distros.
- RexRollman 13y agoHow would you know when?
- prg318 13y agoSome packages will be held back by apt-get until you "dist-upgrade" them and apt-get will notify you of the held back packages when you apt get "upgrade".
- ars 13y agoIf you get a lot of packages that it tries to uninstall. That's basically what dist-upgrade does: tries to uninstall the least number of packages to allow the update through. It never happens with a point release though - they are careful about that.
- thesigil 13y agodist-upgrade does not mean distribution upgrade, it just handles additional dependencies after an upgrade and it may remove some packages if necessary.
- gernotk 13y agoThis is not Ubuntu. Better use 'aptitude': sudo aptitude update && aptitude full-upgrade
- mikegriff 13y agoWhy is it better to use aptitude on debian? I've been using debian for years and always just used apt-get.
- AaronIG 13y agoThere isn't any specific reason, really. It's a matter of preference, and they can be used interchangeably (which wasn't always the case) nowadays.
- gernotk 13y agoFor a start, aptitudes command line options are less confusing and more powerful. Furthermore: http://superuser.com/questions/93437/aptitude-vs-apt-get-which-is-the-recommended-aka-the-right-tool-to-use http://superuser.com/questions/93437/aptitude-vs-apt-get-whi...
- mikegriff 13y agoThere doesn't seem to be anything that jumps out as a reason to use aptitude over apt-get there. It mentions that the defaults for upgrading the distro are better for aptitude but doesn't say why or what differences there are. I can see the search being useful though. Seeing as my muscle memory is set at apt-get, i'll stick with it for the moment.
- dlitz 13y agoThere was a brief time when aptitude was smarter than apt-get (it was smart enough to remove auto-installed dependencies when you removed a package, for example). During that time, the advice was to use aptitude instead of apt-get. Those smarts were later moved to apt itself, but it's still a part of the folklore.
- jlgaddis 13y agoHuh? I've been using apt-get on Debian since it was first released (in 1998).