[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM reporting wrong version
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: RPM reporting wrong version
- Date: Wed, 5 Dec 2001 17:36:55 -0500
On Tue, Dec 04, 2001 at 11:44:08PM -0500, T Lowing wrote:
> When I query RPM for the version info on an installed package, it returns
> the wrong version number:
>
> For instance, if I query rpm for the installed version of PHP I get:
>
> >$ rpm -q php
> php-3.0.12-6
>
>
> When I ask PHP what version is running I get:
> >$ php -v
> 4.0.6
>
> How do I get the correct version, or a report for the most current versions?
You're confusing (or being confused by) the version number of the package,
and the version number reported by an executable.
There are any number of ways that these numbers can differ.
For starters, what does
rpm -V php
report? If that says the executable has a different MD5 sum, then
the problem is that, in fact, the php excutable didn't come from
the package installed, which would explain the difference. Where
the executable came from is an entirely different matter.
That's the likeliest explanation I can think of. Another possibility is
that someone has mispackaged php.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]