Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unemerging a package + dependancies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
sonicwave
n00b
n00b


Joined: 18 Apr 2002
Posts: 28
Location: The Netherlands

PostPosted: Thu Jun 06, 2002 3:13 pm    Post subject: Unemerging a package + dependancies Reply with quote

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


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

PostPosted: Thu Jun 06, 2002 6:51 pm    Post subject: Re: Unemerging a package + dependancies Reply with quote

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


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu Jun 06, 2002 10:15 pm    Post subject: Re: Unemerging a package + dependancies Reply with quote

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


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

PostPosted: Thu Jun 06, 2002 11:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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