Re: rpm question

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

 



On Sat, 09 Jun 2012 12:57:46 -0700, JD wrote:

> >>>> # rpm -e libmapi libzeitgeist
> >>>> error: Failed dependencies:
> >>>>        libinetmapi.so.1 is needed by (installed) php-mapi-7.0.7-1.fc16.i686
> >>>>        libmapi.so.0 is needed by (installed) php-mapi-7.0.7-1.fc16.i686
> >>>>        libmapi.so.0 is needed by (installed) pam_mapi-0.1.1-1.fc16.i686
> >>>>        libzeitgeist-1.0.so.1 is needed by (installed)
> >>>> zeitgeist-datahub-0.7.0-2.fc16.i686
> >>>>        libzeitgeist-1.0.so.1 is needed by (installed)
> >>>> gedit-zeitgeist-2:3.2.6-1.fc16.i686
> >>> Pay extra attention to what is display in the "Failed dependencies"
> >>> section. These packages don't depend on "package names" but on library
> >>> names.
> >>>
> >> Please re-read the dependencies.
> >> Not all are just lib names.
> > *All* in above quote are versioned library SONAMEs.
> > These are automatic RPM dependencies Fedora packagers prefer over
> > explicit dependencies on package names.
> >
> It is nevertheless a dependency, which should be
> detectable by --whatrequires, but unfortunately,
> it is not.

Well, RPM expects you to specify exact capabilities. That has been like
that always. You can query --whatrequires for the library names, too.
Repoquery also had started with such exact queries, and only later
--alldeps has become the default. A default --alldeps option can lead to
confusion, however.

It's common practice to simulate an --aldeps RPM query with

  rpm --test --erase PACKAGENAME

as that will find any dependencies on that package.

In the days of depsolvers, one doesn't run raw RPM queries too often
anymore, IMO, unless one is interested in specific package capabilities
(where the query is convenient enough), because one can simply run
"yum remove libmapi libzeitgeist" and find out how many additional
packages that command would want to erase due to dependencies.

-- 
Fedora release 17 (Beefy Miracle) - Linux 3.4.0-1.fc17.x86_64
loadavg: 0.25 0.64 0.39
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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