Re: The 'rpm -q --whatrequires' variant to get list of all dependant packages?

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

 



On Thursday, November 10, 2016 11:46:16 AM CET Pádraig Brady wrote:
> On 10/11/16 07:08, Pavel Raiskup wrote:
> > Is there something similar to 'dnf repoquery --whatrequires foo-libs --all-deps'
> > in RPM?  See the following:
> > 
> >     $ rpm -q --whatrequires libarchive
> >     no package requires libarchive
> >     $ sudo dnf remove libarchive
> >     Dependencies resolved.
> >     Error: The operation would result in removing the following protected packages: dnf.
> 
> You can do that with `rpm -e --test`.
> I've a wrapper script for deb and rpm at:
> http://www.pixelbeat.org/scripts/whatrequires

Thanks to everybody for suggestions;  yes those are commands I need.
There's now also rhbz#1393704 to have it implemented in RPM.

Pavel
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[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