Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strip down system ebuilds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Sun Feb 09, 2003 6:05 pm    Post subject: strip down system ebuilds Reply with quote

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
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Sun Feb 09, 2003 6:55 pm    Post subject: Reply with quote

I think "emerge depclean" is the closest portage has to this. In what way does it not do what you want?
Back to top
View user's profile Send private message
caefer
Apprentice
Apprentice


Joined: 14 Jan 2003
Posts: 170
Location: Hamburg, Germany

PostPosted: Mon Feb 10, 2003 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
fifo
Guru
Guru


Joined: 14 Jan 2003
Posts: 437

PostPosted: Mon Feb 10, 2003 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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