View previous topic :: View next topic |
Author |
Message |
falso n00b
Joined: 22 Feb 2003 Posts: 40 Location: Caparica, Portugal
|
Posted: Wed Jul 02, 2003 1:14 am Post subject: remove orphan libraries |
|
|
hello, i want to ask a question, is there any way that i can know which libraries are orphaned in my system, like for example:
i few days ago i emerged evolution just to check it out, and it installed a lot of gnome libs as dependencies, but i didnt like evolution that much so i removed it from my system, but all those gnome libs (i dont use gnome) continued here without being needed for anything else.
Does anyone had this idea and made something about it, or just like to know which libs does a package needs, but like that way i may remove some libs that others programs need.
If anyone knows any kind of good answer please post
Regards,
Pedro de Oliveira _________________ I don't intend to offend, I offend with my intent |
|
Back to top |
|
|
Abraxas l33t
Joined: 25 May 2003 Posts: 814
|
Posted: Wed Jul 02, 2003 1:50 am Post subject: re: |
|
|
try 'man emerge'. read about 'emerge depclean'. |
|
Back to top |
|
|
Safrax Guru
Joined: 23 Apr 2002 Posts: 422
|
Posted: Wed Jul 02, 2003 1:56 am Post subject: |
|
|
portage needs some work in this area..
Portage should be able to check individual packages for deps, create a universal list, and then select packages that arent needed. How this could be done.. I dunno.. I'm not even sure if depclean does it that way... |
|
Back to top |
|
|
dilandau Guru
Joined: 24 May 2003 Posts: 485 Location: germany
|
Posted: Thu Nov 25, 2004 1:50 pm Post subject: |
|
|
this is my idea for a solution:
any package should have a used-counter. if it is installed manually or required from annother package, the counter is incremented by 1. if a package is removed the counter is subtracted by 1. if a counter reaches 0, it will be automatically removed by default. you also cannot remove packages manually that are still requeired from annother package (overrideable). packages that are installed from first setup, such like modutils, get an initial counter of 1 or a special flag set.
this method would never delete packages, that are installed manually.
see also this thread: https://forums.gentoo.org/viewtopic.php?p=1803360
(links back here at the 6th reply) _________________ gentoo linux - amd duron stalebred 1600 - elsa gladiac 311 (nvidia) - elitegroup k7s5a (sis, lan) - 256mb ram - wintv pci fm - airstar2 dvb-t pci - ide cdwriter - hp psc 1110 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|