aptitude: upgrade
Using Debian Lenny
I want to start using Aptitude. I have been reading through the manual and articles, but have some questions. Is upgrade the same as safe-upgrade and dist-upgrade the same as full-upgrade? When would I use safe or full upgrade? According to the manual it says: Quote:
a stable release? When should I use purge. wouldn't I want to remove the config files if I am removing the program? |
I cannot answer all your questions as I am not familiar with full-upgrade, however, I can tell you the regular upgrade will upgrade installed software to newer versions available in the repository, dist-upgrade will upgrade you to the newest version of the OS, say for instance Lenny is superceeded by sid in the stable branch a dist-upgrade would upgrade everything, of course I usually use apt-get for specific packages, but I also like aptitude which is a front end for apt-getin a curses based front end.
As far as purge goes, you may want to remove configs unless you are reinstalling it later or adding a new version. |
Quote:
'upgrade' is the old name for 'safe-upgrade' and will update packages without adding or removing any packages. Sometimes, new versions depend on new packages, or packages are removed, etc. 'dist-upgrade' is the old name for 'full-upgrade' and will upgrade everything that needs upgrading, removing packages or adding new packages if needed. Quote:
|
I found this in the Aptitude user's manual:
Quote:
the same release? Thanks |
Quote:
|
Quote:
dist-upgrade is mostly there for the purpose of upgrading to a new distribution level, where the main idea is to configure the base system to the specified point. Higher-level user tools take a back seat to this. Yes, it can be also used within a single release and usually not be too much of a problem, because the base system won't change too much, but you do have to watch what it does very carefully, because it will sometimes attempt to remove things you don't want it to. |
All times are GMT -5. The time now is 09:39 AM. |