Re: RPM Issues

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

 



On Sun, 20 Apr 2008, Sam Varshavchik wrote:

Mark LaPierre writes:

Hey Y'all,

I'm having a problem installing a package with rpm. rpm is telling me that I need some dependencies that I already have. Here's what I get:

[root@mushroom Desktop]# rpm -ivh graphiteone-*
error: Failed dependencies:
        libGLU.so.1 is needed by graphiteone-libs-1.3-1.i586
        libstdc++.so.5 is needed by graphiteone-libs-1.3-1.i586
        libstdc++.so.5(CXXABI_1.2) is needed by graphiteone-libs-1.3-1.i586
libstdc++.so.5(GLIBCPP_3.2) is needed by graphiteone-libs-1.3-1.i586 libstdc++.so.5(GLIBCPP_3.2.2) is needed by graphiteone-libs-1.3-1.i586
[root@mushroom Desktop]#

[mlapier@mushroom lib]$ pwd
/usr/lib
[mlapier@mushroom lib]$ ls | grep GL
libGL.so
libGL.so.1
libGL.so.1.2
[mlapier@mushroom lib]$ ls | grep libstdc

What ls tells you is completely and utterly irrelevant. If you did not

Also libGL != libGLU

install a library via RPM, then RPM doesn't know anything about it. The correct way to check a given dependency would be:

$ rpm -q --whatprovides 'libstdc++.so.5(CXXABI_1.2)'
no package provides libstdc++.so.5(CXXABI_1.2)

That's the answer you get on Fedora 8.

That's an answer you *might* get on Fedora 8 and only tells what we already know, no package providing libstdc++.so.5(CXXABI_1.2) is installed. A more useful answer:

$ repoquery --whatprovides 'libstdc++.so.5(CXXABI_1.2)'
compat-libstdc++-33-0:3.2.3-62.i386

Unlike rpm, repoquery knows what's available, not just installed.

The moral of the story really: use yum to install software - instead of "rpm -Uvh graphiteone-*" try "yum localinstall graphiteone-*", it'll work out the details for you if possible.

	- Panu -

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux