Mixing apt-* and aptitude NOK?
Hello
I read somewhere that it's not a good idea to mix the use of apt-* (eg. apt-get, apt-file, etc.) and "aptitude". I guess they're not using the same database to keep track of things. Problem is, they don't offer the same features: "apt-get safe-upgrade" doesn't exist, so have to use "aptitude safe-upgrade". "aptitude show/list mypackage" doesn't show the files that an uninstalled package (ie. still in depot) contains, so have to use "apt-file show mypackage". So... what's the solution? Is it really a problem to use "apt-*" and "aptitude", depending on what we need to do? Thank you. |
There's no problem using apt-file and aptitude. Just try not to mix apt-get and aptitude.
"safe-upgrade" is aka "upgrade". "full-upgrade" is aka "dist-upgrade". |
apt-get* can do all of the things that aptitude can and can do more.
|
Umm.. like what?
And aptitude has been recommended over apt-get by Debian Themselves since, what, Sarge? |
Quote:
I recommend using apt-get in Ubutnu. Based on a lot of testing I have done, using the update-manager in Ubuntu is the same as running: Code:
sudo apt-get update There are subtle differences between the way apt-get and aptitude handle dependencies. How significant this is in Ubuntu, I really don't know. But I recommend using apt-get just to keep in sync with update-manager, and synaptic package manager, just in case you ever use those. I do like searching for things with aptitude though. This is fine. |
Thanks for the tip. I'll stick to "apt-get" while in Ubuntu.
|
All times are GMT -5. The time now is 02:32 AM. |