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.
I want a (debian lenny) system with KDE and without any games.
In order to remove all games (including, but not limited to kde-games) from the system, I have to break the kde package.
After that apt-get tells me that there are some 400 packages that "were automatically installed and are no longer required" every time I install or remove any package.
I once played along and apt-get autoremove(d) the allegedly unnecessary packages. It went on and on until my system had even been disburdened of its kernel...
So I really want to keep these packages.
I can't use aptitude install or remove at all any more because it would remove those some 400 packages right away, just like apt-get autoremove would.
I tried aptitude unmarkauto to make the apt* family believe the packages had been installed by hand, but to no avail.
I've found you can usually simply run "apt-get install" again on any "autoremove" packages you want to keep to remove them from the list. You can even just highlight and paste the list to do them all at once.
I usually try to avoid installing the bigger metapackages now for just this reason. It's usually better in the long run to target what you want installed more selectively.
You can unmark them as being automatically installed:
Code:
aptitude unmarkauto foo-pacakge
Edit: Sorry, I see now in your post that you say you did this. Can you please post the output from a terminal session demonstrating that this does not work?
FamilyPC:~# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
akregator{u} ark{u} ...
FamilyPC:~# aptitude unmarkauto akregator
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
akregator{u} ark{u} ...
It's like telling my 8 yr old son to not touch the PC alone while he's alone. ;-)
FamilyPC:~# apt-get install akregator
Reading package lists... Done
Building dependency tree
Reading state information... Done
akregator is already the newest version.
akregator set to manually installed.
...
apt-get remove libkdegames5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bomber bovo kapman katomic kbattleship kbreakout kdiamond kfourinline kjumpingcube kmahjongg kolf kollision kpat kreversi ksame kshisen ksirk ksquares libkdegames5
0 upgraded, 0 newly installed, 19 to remove and 1 not upgraded.
Nothing but games being removed here. But I do not use the big kde metapackage to install kde.
I installed debian lenny from debian-50x-amd64-kde-CD-1.iso and was quite astonished that the system self-destructed only because I wanted to get rid of the games.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.