.
So what, if anything, happens if you mix apt-get with aptitude? - Grin with cat attached
Previous Entry Next Entry
Feb. 6th, 2006 09:16 pm
So what, if anything, happens if you mix apt-get with aptitude?

From: steer
Date: February 6th, 2006 - 09:59 pm (Link)
Front ends to the same mechanism. Aptitude remembers whether you chose to install or if it was installed as a dependency. You might also like to try synaptic.
From: dennyd
Date: February 6th, 2006 - 10:43 pm (Link)
Last I heard, aptitude was using a different dependency resolution algorithm - which is why doing the last version upgrade with apt-get was prone to explosive b0rking while doing it with aptitude (the recommended approach) was fairly sure to work.

For updating a handful of packages at a time, the difference is probably irrelevant.
From: steer
Date: February 6th, 2006 - 11:03 pm (Link)
Hmm... they're all front ends to apt (in Debian and Ubuntu at least) unless I am drastically misunderstanding. You may well be right that they handle dependencies differently (particularly recommends type dependencies). I guess the other issue is that if you install things with apt-get then aptitude won't know you've chosen it as opposed to having it installed as dependency (will it?).
From: reddragdiva
Date: February 6th, 2006 - 10:37 pm (Link)
Not a lot, as I understand it - only one package tool can access the database at a time, they put a lock on it. I use Synaptic most of the time on Ubuntu, but if I do stuff from the command line with apt-get it doesn't foul up the database.
From: ciphergoth
Date: February 7th, 2006 - 12:11 am (Link)
Apt doesn't remember which of your installs are "automatic" last I looked, so if it installs something as a dependency it stays installed even if you uninstall the original package. So use aptitude even if installing from the command line.
From: fellcat
Date: February 8th, 2006 - 02:51 pm (Link)
Nothing bad: the list of installed packages gets updated by both.