Re: What does "require" actually mean?

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

 



On Sat, 2013-08-24 at 12:16 +0200, Michael Schwendt wrote:
> On Sat, 24 Aug 2013 10:43:10 +0100, Patrick O'Callaghan wrote:
> 
> > I thought I had a working understanding of yum and rpm, until I came
> > across this:
> > 
> > # rpm -q --whatrequires libvdpau
> > no package requires libvdpau
> > # yum --assumeno erase libvdpau
> > [snip]
> > Transaction Summary
> > ==============================================================================================================
> > Remove  1 Package (+147 Dependent packages)
> > ...
> > 
> > Why does yum want to remove 147 additional packages if none of them
> > require libvdpau? (Note that I'm not asking about libvdpau specifically,
> > it's just an example).
> 
> They don't require the package name "libvdpau", but contents of the
> package. Run "rpm -e --test libvdpau" to display those dependencies.
> The package may be renamed (or the contents moved to a different
> package) without breaking the dependencies.
> 
> The repoquery tool can distinguish between --exactdeps and --alldeps
> queries:
> 
>   $ repoquery --exactdeps --whatrequires libvdpau
>   $
> 
> is similar to your "rpm -q --whatrequires libvdpau" query except that
> it looks at repositories, too. The default is the --alldeps option,
> which also takes into account what is provided by the package:

[snip]

OK, all becomes clear, thanks.

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux