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

Re: How to find package name for files



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Timothy Wu wrote:
> Hi,
>
> I am trying to upgrade libstdc++.so.6.0.8 to a newer version in the
> /usr/lib directory. I used aptitude to install libstdc++6-dev
> package. But the /usr/lib so file is still not updated. I suspect
> that's not the package for it.
>
> Given an existing file, Is there any method to find out which
> package the file comes from? If I can find out which package the
> file is from, maybe I can guess the name of the newer package.
>
> Timothy
apt-get install apt-file
apt-file update
apt-file search

man apt-file
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFcU1eGayQCPNwwHsRAl/TAJ9r5U5Hk8QtUzqsyOZ5N5RkBtdw5wCfYJLx
gxW22ist2wSYKgab/FKPndA=
=QtIM
-----END PGP SIGNATURE-----



Reply to: