Stefan van der Eijk <[EMAIL PROTECTED]> wrote: > > > If, however, you urpme'd libbar, foo *would* be uninstalled. That > > is, urpme uninstalls things that depend on the package you call to > > be urpme'd, but not things the package you call to be urpme'd > > depends upon. Clear? > > Yep. So you would like a switch / option to be added that when you > remove foo (urpme foo --something) that it'll suggest to remove > libbar and libmoo as well. Hmmm... Interesting. What criteria will be > used to remove those packages? Should start with "lib"? Only the top- > level ones?
[snip: description of method] You suggesting to calculate it. These calculations can become very complex. I would suggest to make a log. So if you urpmi foo, you also have to install bar and blah. This results in a line in /var/cache/urpmi/installlog: foo bar blah Now if urpme tries to uninstall foo it will read that line and will try to uninstall those rpms, on request and only if no other apps have grown dependent on them as well. This sounds like a much simpler and therefor safer solution. Most of the time I know after 10 minutes of using an app whether I like it or not ;) # Han -- http://www.xs4all.nl/~hanb/software http://www.xs4all.nl/~hanb/documents/quotingguide.html
