Why does aptitude want to remove gedit when im using it every day ?
DebianThis forum is for the discussion of Debian Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why does aptitude want to remove gedit when im using it every day ?
Hi
I have been using apt-get every time i have used debian, but i have wanted to start using aptitude instead. Here is the problem.
When i install software with aptitude and then i find out that i didnt want that software anymore it says that i have many unused packages and that it wants to remove them, but one of these packages is "gedit" which i use every day, so i cant imagine why it wants to remove it. When i try to remove the software with apt-get it doesnt remove them, it only removes the software and says that if i want to remove the other unused files i can use the "autoremove" option to apt-get.
Does anyone know why aptitude and apt-get want to remove gedit when im using this application frequently ? This is starting to get really annoying since i have serveral libraries and other tools that i did want it to remove and that really are unused.
apt(itude) hasn't the foggiest idea (and doesn't care) how often something is used. It cares what is installed explicitly and what is installed as dependencies. It seems you installed something that depended on gedit, then removed it, so it think you don't want it. Try aptitude install gedit and see if that lets it know you want it explicitly, or remove then install. Also, see the man page of aptitude for the keep-all command.
Choosing between apt-get and aptitude is something of a religion for some debian users. Me, I use aptitude but before I used to use apt-get. I was happy with both but when I mixed them on the same system I got some weird results on dependencies, pretty much like you're describing now. Use one and stick to it and my take is that you won't run into any serious trouble. Use both on the same system and you're likely to see some unexpected and undesired results, as they don't seem to keep track of each others dependencies (which, by the way, they handle slightly differently anyway).
Last edited by Count Zero; 01-04-2009 at 01:18 AM.
Thanks for your answers. I ran "aptitude keep-all" and then tried to install some software and then removed it and it doesnt seem to try to remove anything else than the software that i had installed now. I'll only use aptitude from now on and see if that gets rid of the wierd dependency information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.