Re: RPM Issues

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

 



Sam Varshavchik wrote:
> What ls tells you is completely and utterly irrelevant. If you did
> not 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.

Using rpm will only tell you if you've already got the package that
provides the dep installed.  That's often quite useless if you know
it's not installed and want to install whatever package provides it.

For that you could use:

# yum install 'libstdc++.so.5(CXXABI_1.2)'

To simply query, repoquery (from yum-utils) is handy:

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

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Going to hell when I die would just be redundant.

Attachment: pgpk0GAPUTxTr.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux