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

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

 



>> Then you use « package-cleanup --leaves ».
>>
>> This will list the packages that were dragged in as dependencies but
>> on which nothing depend anymore.
>
> s/that were dragged in as dependencies but//.  I don't think package-cleanup
> currently has any idea/cares why something was installed.

No, my sentence was confusing.

« package-cleanup --leaves » will tell you what installed packages are
no longer required by any other on your system.

Of course, it can't know why you installed them or even if something
outside of its scope (e.g. a program you compiled manually) still
needs one of those.

I shouldn't have spoken about the intent of the user, you're right. :)

To be more correct, « --leaves » will list packages on which no others
depend AND that match the defined « leaf_regex ». A quick look at the
source seems to indicate that returned packages will be mostly
libraries, as the default leaf_regex appears to be
"(^(compat-)?lib.+|.*libs?[\d-]*$)".


----------

Mathieu Bridon (bochecha)

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux