View previous topic :: View next topic |
Author |
Message |
f.kater Guru
Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Mon Jun 24, 2002 4:32 pm Post subject: portage: how to unmerge all dependant files, too? |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Mon Jun 24, 2002 6:33 pm Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Jun 24, 2002 7:19 pm Post subject: Re: portage: how to unmerge all dependant files, too? |
|
|
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 |
|
|
Houdini Apprentice
Joined: 14 Jun 2002 Posts: 224 Location: New Mexico Tech, Socorro, NM
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Tue Jun 25, 2002 1:18 am Post subject: |
|
|
Very strange, could've sword the link worked for me. Anyway, its updated. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
f.kater Guru
Joined: 23 May 2002 Posts: 342 Location: Berlin
|
Posted: Tue Jun 25, 2002 8:39 am Post subject: |
|
|
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? 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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Tue Jun 25, 2002 11:16 am Post subject: |
|
|
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 |
|
|
|