[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM has problems recognizing installed packages
- From: Michael Schwendt <ms0301rh arcor de>
- To: redhat-list redhat com
- Subject: Re: RPM has problems recognizing installed packages
- Date: Thu May 1 11:56:09 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 1 May 2003 10:52:20 +0200, Carlos wrote:
> Quite frequently RPM on RH 8.0 seems to have trouble
> indentifying installed packages. I just installed a
> java_plugin and after installing a ask "rpm -qi
> packagename" and I get the message that the package is not
> installed. However, if I try to installe it again, then a
> get a message saying that it is already installed. I have
> rebuild the rpm data base and it keeps on doing the same.
>
> Could someone clarify ?
With RPM, the package name need not be the file name. The real
package name is stored inside the RPM file header. Run something
like the following on the package file
rpm --query --package java_plugin* --queryformat "%{name}\n"
to find out the package name. That's the name used inside the RPM
database. Or take a look at the top of
rpm --query --all --last | less
to see what packages you have installed most recently.
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+sP/90iMVcrivHFQRAp2hAJ9+0LLOn4vvBg999elCfVFKS5qpoQCfQLFj
JrglGtnMaVHfeOoq3xP0pDU=
=scp1
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]