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

Seth Vidal skvidal at fedoraproject.org
Mon Jun 1 13:59:40 UTC 2009



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




More information about the fedora-devel-list mailing list