View previous topic :: View next topic |
Author |
Message |
GTrax n00b
Joined: 02 Jan 2007 Posts: 40 Location: Hampshire UK
|
Posted: Fri Dec 07, 2007 7:30 pm Post subject: Portage Synaptic Yast Yum .. |
|
|
.. and maybe others.
Some are bits of others wrapped up with front-ends. We try them all. emerge is (rightly) famous as a defining characteristic of Gentoo, yet it has a foible I don't understand the need for.
In the grey past when "Windows 95" held sway here, un-installing software might bring the message that there were left over certain drivers no longer used by anything, and we had the choice to delete, or preserve them. Clearly it was possible that not only could a software package ensure its needs were present, the resources could be shared, but that also, at the back end, some sort of indexing could prevent its inappropriate removal.
I just don't know enough about a thing like a 'dependency database' to know if its easy to do - I suspect not, but an emerge command to remove software that was friendly enough not to come with a red warning, and only remove what was sensibly removable would score high with me. _________________ Living with: Ubuntu, Sidux and Gentoo |
|
Back to top |
|
|
Theimon Tux's lil' helper
Joined: 16 Mar 2007 Posts: 99 Location: Netherlands
|
Posted: Fri Dec 07, 2007 9:01 pm Post subject: |
|
|
Code: | emerge --depclean -p | for starters?
Maybe a to go along with that? _________________ It doesn't matter what's right, it's only wrong if you get caught. |
|
Back to top |
|
|
GTrax n00b
Joined: 02 Jan 2007 Posts: 40 Location: Hampshire UK
|
Posted: Fri Dec 07, 2007 11:10 pm Post subject: |
|
|
Yes - I figured that out. I am sure we all have to. I am even sure some folks put that stanza into a script to make it into a personalised command.
What I am expressing is surprise at the method. It looks like ..
1. Simply throw out what is on the dependency list of the application being dumped.
2. Invoke a new system-wide re-count of the dependency requirements of what is left.
3. Put the missing bits back according to the new information.
Now simply because I don't actually know, I cannot get overly critical. For all I know, the net effect of the emerge commands we issue to do this is not to dump and put back. Maybe it only appears so.
That is why this thread is in 'chat'. _________________ Living with: Ubuntu, Sidux and Gentoo |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Sat Dec 08, 2007 9:08 pm Post subject: |
|
|
Portage doesn't care about the dependencies when unmerging. There is no counter how many ebuilds list another ebuild as dependency. What Portage does on --depclean is looking up the dependency tree, which subtrees are not referenced by the world file entries. These subtrees are the set of ebuilds to be removed. _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
|