Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
When uninstalling some apps, like amarok, dependencies are not removed, had to do that manually.
After installing kde games I decided to uninstall it, but wait, it wants take the whole kde with it ?
How do I get around this ?
I'm on Debian
btw : I of course understand that if I removed kde, then kdegames wouldn't need to be there anymore, but the other way around ? this one struck me by suprise..
sar:/home/happyhd# apt-get remove -s kdegames
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED: kde kde-amusements kdegames
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Remv kde [5:45]
Remv kde-amusements [5:45]
Remv kdegames [4:3.4.2-1]
sar:/home/happyhd#
Next, I would test it, using the -s switch to simulate the removal. (Done as root.)
Code:
# apt-get -s remove kdegames
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
kde kde-amusements kdegames
0 upgraded, 0 newly installed, 3 to remove and 794 not upgraded.
Remv kde (5:45 Debian:testing)
Remv kde-amusements (5:45 Debian:testing)
Remv kdegames (4:3.4.2-1 Debian:testing)
Notice it didn't actually start removing anything, or asking me if I'm sure, it just simulated the process.
Sure enough, it wants to remove kde, not sure why. Obviously KDE the desktop environment does not depend on kdegames. However, keep in mind that the package kde is more than the core of KDE. In fact, there is a package called kde-core. Try this:
$ apt-cache show kde-core
I realize I'm not offering a definitive answer here, I don't have enough experience with the rather complex package that KDE is...
So 'kde' is a meta package that installs _all_ the major kde packages.
When apt says it is removing 'kde' it is just saying that you no longer want all of them.
It am not sure if this will actually remove all the kde packages (forcing you to install them again individually), or just let apt know that you want to deal with the packages separately...
For kicks, you could just go ahead and apt-get remove kdegames, and let it remove whatever it wants. I'd be more than willing to bet that KDE will still be on your box. Right after the remove, give in "apt-cache policy kde-core".
If KDE gets screwed, you can always just reinstall it -- that's the nice thing about Debian. I don't know whether it keeps profiles stored, probably so if you don't do a purge remove.
I have KDE installed but it's not my main DE, so I tried it with you. Sure enough, it left KDE intact. Unfortunately, since I've installed KDE I've added a testing to my sources.lst, so it now wants to add a whole huge list of new packages and download for 20 minutes. lol
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.