Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage: how to unmerge all dependant files, too?
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
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Mon Jun 24, 2002 4:32 pm    Post subject: portage: how to unmerge all dependant files, too? Reply with quote

Hello,

when I try out a single program sometimes this results in emerging a lot of dependant files.
If I later want to unmerge the program: How can I make it to automatically unmerge all the dependant files, too?

Do I have to remember these dependencies manually?

Thank You,
Felix
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Mon Jun 24, 2002 6:33 pm    Post subject: Reply with quote

Check out the Portage Manual. I beleive it answers your question.

Yes, it requires a bit of reading.
_________________
Quis separabit? Quo animo?


Last edited by pjp on Tue Jun 25, 2002 1:16 am; edited 1 time in total
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Mon Jun 24, 2002 7:19 pm    Post subject: Re: portage: how to unmerge all dependant files, too? Reply with quote

f.kater wrote:
Do I have to remember these dependencies manually?


Super short answer: Yes.

Longer answer, read the doc that kanusplus pointed you to.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Houdini
Apprentice
Apprentice


Joined: 14 Jun 2002
Posts: 224
Location: New Mexico Tech, Socorro, NM

PostPosted: Mon Jun 24, 2002 11:43 pm    Post subject: Reply with quote

Unless you mean him to read the 404 message, you probably want http://www.gentoo.org/doc/en/portage-user.xml. Trailing slash :)
_________________
^]:wq
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Tue Jun 25, 2002 1:18 am    Post subject: Reply with quote

Houdini wrote:
Unless you mean him to read the 404 message, you probably want http://www.gentoo.org/doc/en/portage-user.xml. Trailing slash :)

Very strange, could've sword the link worked for me. Anyway, its updated.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
f.kater
Guru
Guru


Joined: 23 May 2002
Posts: 342
Location: Berlin

PostPosted: Tue Jun 25, 2002 8:39 am    Post subject: Reply with quote

Hi,

thanks for your answers. After having read the docus again I found:
Quote:
Portage does not warn you if you are removing core packages or dependencies for other packages.


So, if you don't mind, I continue to ask you...: WHY? 8O With other words: I'd like to know if it would be somehow possible for a future version of gentoo portage to take care of all those dependencies (at least those which where installed with emerge) so that the system knows if it can remove a dependent package savely or not...? Anything against it?

And how do you prevent your system to be crowded with packages you do not need but are still there because they were necessary for a program once? Would you for example do the following: Unmerge all packages you believe to be unnecessary and later do 'emerge system' to be sure that all necessary packages are installed?

Thank You,
Felix
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Tue Jun 25, 2002 11:16 am    Post subject: Reply with quote

f.kater wrote:
So, if you don't mind, I continue to ask you...: WHY?


Nobody (that I'm aware of) does this. At least not well. Debian is starting to with the 'cruft' package, but I have yet to see another distro or even another OS handle removing dependencies well.

f.kater wrote:
With other words: I'd like to know if it would be somehow possible for a future version of gentoo portage to take care of all those dependencies (at least those which where installed with emerge) so that the system knows if it can remove a dependent package savely or not...? Anything against it?


Who knows? Hopefully. Dependency tracking is a Hard Thing To Do. I'd love for Gentoo to get it right, and they're certainly taking a step in the right direction by moving portage to a database backend.

f.kater wrote:
And how do you prevent your system to be crowded with packages you do not need but are still there because they were necessary for a program once?


There is no good way that I've found. If anyone else has a never fail tactic for getting it done, please share it with the group.

--kurt
_________________
The problem with political jokes is that they get elected
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