View previous topic :: View next topic |
Author |
Message |
caefer Apprentice
Joined: 14 Jan 2003 Posts: 170 Location: Hamburg, Germany
|
Posted: Sun Feb 09, 2003 6:05 pm Post subject: strip down system ebuilds |
|
|
hi there!
I wonder if there is a safe way to do the following:
1. define what packages you want ()
2. additionally define packages the system wants
3. unmerge all left ebuilds
I don't search for emerge depclean. I want to get rid of depently installed ebuilds that i don'w want any more
regards
/christian |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sun Feb 09, 2003 6:55 pm Post subject: |
|
|
I think "emerge depclean" is the closest portage has to this. In what way does it not do what you want? |
|
Back to top |
|
|
caefer Apprentice
Joined: 14 Jan 2003 Posts: 170 Location: Hamburg, Germany
|
Posted: Mon Feb 10, 2003 7:08 am Post subject: |
|
|
well, my problem is this:
I am a newbie to linux in a way. I can follow instructions and understand a lot already, but when it comes to applications, I don't know what is good and what isn't. so let's say I want icq on my desktop. I install licq which installes some dependencies like kdestuff, that i did'nt have (nor needed nor wanted) until then. I didn't like it so I unmerged it and emerged centericq and so on.
ending up with one application but a whole bunch of dependencies, that somehow I lost total awareness of.
I really like to see a tree diagram where I can see, what dependencies there are and what subtrees I can unmerge..
depclean doesn't do that really..
/christian |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Mon Feb 10, 2003 12:16 pm Post subject: |
|
|
Well depclean should be able to remove the dependences that you no longer need. In your example, you would edit /var/cache/edb/world and make sure only the icq program you want is listed. Then depclean would remove any unneeded (with the proviso about USE flags) dependences installed by the others.
Another thing you might find useful is the --emptytree option. If you do "emerge -p -e <package>" it will show the latest version of the entire dependency list of the package. |
|
Back to top |
|
|
|