Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Using Debian Lenny
I want to start using Aptitude.
I have been reading through the manual and articles, but have
Is upgrade the same as safe-upgrade and dist-upgrade the same as
When would I use safe or full upgrade?
According to the manual it says:
It is sometimes necessary to remove one package in order to upgrade
another; this command is not able to upgrade packages in such situations.
When would there be a need for this? Would it be necessary in
a stable release?
When should I use purge. wouldn't I want to remove the config files if
I am removing the program?
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
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.
dist-upgrade will upgrade you to the newest version of the OS
Incorrect and misleading.
'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.
I also like aptitude which is a front end for apt-getin a curses based front end.
Not quite right; aptitude is another frontend for dpkg. It's also been Recommended over apt-get by Debian for years. And it's not just curses-based; most of the command-line commands are the same as in apt-get.
Last edited by AlucardZero; 09-25-2009 at 08:49 AM.
Like safe-upgrade, this command will attempt to upgrade packages, but it is more aggressive about solving dependency problems: it will install and remove packages until all dependencies are satisfied. Because of the nature of this command, it is possible that it will do undesirable things, and so you should be careful when using it.
I'm not understanding how this would be a problem. Wouldn't Aptitude upgrade within
the same release?
Wouldn't Aptitude upgrade within
the same release?
Yes. You will not move releases unless you change your sources.list, or your sources.list e.g. points to "stable" instead of "lenny" and the definition of "stable" changes to "squeeze" (when squeeze is declared stable).
it will install and remove packages until all dependencies are satisfied.
You seem to be missing the key point here. As explained before, the big difference between the regular upgrade and dist-upgrade/full upgrade is that the latter will remove packages in addition to updating and installing. If, for example, there's a conflict that requires removing a library that kde, or gnome, or xorg, or whatever depends on, then say goodbye to your kde, gnome, or xorg (and everything that depends on them).
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.
Last edited by David the H.; 09-25-2009 at 10:17 AM.