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

Re: RPM has problems recognizing installed packages



thanks

you gave me the solution

Carlos

On Thursday 01 May 2003 13:07, Michael Schwendt wrote:
> -----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+0LLOn4vvBg999elCfVFKS5qpo
>QCfQLFj JrglGtnMaVHfeOoq3xP0pDU=
> =scp1
> -----END PGP SIGNATURE-----





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