Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Even though aptitude and synaptic are both front-end to the APT (and I myself stick only with apt-get), peculiarities in each of the available dpkg/APT frontends seem to cause problems and confusions when they are used interchangeably. Beginners especially -- who tend to do copy & paste more often, thereby executing apt-get and aptitude commands more or less identically -- may find some situation puzzling.

Please list the possible problems that might arise when they are mixed up and tips to avoid when one has to rely on multiple packaging managers.

share|improve this question
add comment

2 Answers

For what I know, different package managers can have different opinions about which packages are installed automatically, or at least it was true time ago, not sure if it is yet so.

This can have consequences on autoremove subcommand (be aware that aptitude does not have an autoremove subcommand, but executes autoremove automatically).

So one can have unuseful packages hanging around, not a big problem anyway.

Also, they can have different opinion about which packages are blocked, but this should not be an issue for the normal user that often make no use of this feature.

The dependencies and conflicts resolution algorithms are more or less equivalent, so in conclusion I think the user can mix the use of different package manager without the fear of breaking something.

share|improve this answer
1  
The dependency resolution isn't equivalent. apt-get does a better job. aptitude often fails on installing new releases of KDE where apt-get succeeds. –  maco Oct 16 '10 at 5:02
add comment

apt-get and aptitude use the same backend really. If something is installing a package using apt-get, aptitude will be blocked and vice-versa.

aptitude is slightly better at resolving conflicts and cleaning up after itself, but it the end, if you use aptitude, synaptic, or apt-get you're performing the same task.. its just a matter of user preference.

share|improve this answer
4  
ehhh they just use the same locking file –  maco Oct 16 '10 at 5:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.