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 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
_______________________________________________
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