[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM Soft dependencies (Was: Re: Agenda for the 2009-05-26 Packaging Committee meeting)





On Mon, 1 Jun 2009, Kevin Kofler wrote:

Mathieu Bridon (bochecha) wrote:
Actually, there are two:
- package-cleanup that I mentioned
- yum-plugin-remove-with-leaves that Seth mentioned which is even easier

But both are completely broken by design because they don't understand the
difference between something being dragged in as a dependency or being
explicitly installed. Applications can require other applications,
remove-with-leaves will happily remove those even if you actually want
them! package-cleanup --leaves even finds almost all applications, so it's
entirely useless.

if you run:

yum install foo-app

and it drags in:

bar-app
and
foo-lib


Then you've not explicitly chosen to install bar-app.

With the availability of the yumdb information we should be able to make remove-with-leaves know more about the intent.

-sv


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]