View previous topic :: View next topic |
Author |
Message |
sonicwave n00b
Joined: 18 Apr 2002 Posts: 28 Location: The Netherlands
|
Posted: Thu Jun 06, 2002 3:13 pm Post subject: Unemerging a package + dependancies |
|
|
Hi all,
Is it possible to unemerge a package and its dependancies that installed with it? Currently, when a package is installed because it was a dependancy, it isnt removed when the package that depended on it is unemerged.
This is offcourse a good thing because other packages can depend on it too. But if this isnt the case there is a good deal of bytes just sitting on your HD doing absolutely nothing..
Can the current version of Portage/Emerge deal with this? Or maybe Portage2.. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 06, 2002 6:51 pm Post subject: Re: Unemerging a package + dependancies |
|
|
sonicwave wrote: | Can the current version of Portage/Emerge deal with this? |
No
sonicwave wrote: | Or maybe Portage2.. |
Good question -- I haven't heard of that feature being added, but it certainly would be welcome. It's a pretty tough nut to crack, though -- coming up with a system-wide dependency matrix is no easy feat of programming. Debian doesn't do this very well (though cruft is making some good progress) and I'm not aware of other distros that do this any better.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 06, 2002 10:15 pm Post subject: Re: Unemerging a package + dependancies |
|
|
klieber wrote: | Good question -- I haven't heard of that feature being added, but it certainly would be welcome. It's a pretty tough nut to crack, though -- coming up with a system-wide dependency matrix is no easy feat of programming. Debian doesn't do this very well (though cruft is making some good progress) and I'm not aware of other distros that do this any better.
--kurt |
It's late and I need some sleep, but if you have a list of the manually installed files, you can calculate all needed dependencies (just like emerge already does, think of rebuilding all package, but only add the dependencies in a temp list.) (it will take some time... but well don't need to do it for every removal, just make a seperate option), put them in a list, compare this list with the installed packages, and you get the packages that aren't used by the system. So all manually installed packages are kept and dependencies are recalculated and checked againt the system,
Well I probably forgot something,.....sleep........ Cya, lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 06, 2002 11:42 pm Post subject: |
|
|
This is getting into the feature request stage, so I'm going to move this over to Gentoo Suggestions.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
|
|
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
|
|