[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM reporting wrong version
- From: "Thomas Ripoche" <thomas ripoche laposte net>
- To: <rpm-list redhat com>
- Subject: Re: RPM reporting wrong version
- Date: Fri, 7 Dec 2001 15:43:21 +0100
First you should ensure that is isn't a path issue :
$ which php
$ rpm -ql php
If paths for the php binary match (/usr/bin/php ?), a privileged user
upgraded your system without using rpm. You should terminate him or educate
him. First option easier :)
If they don't match, a privileged user installed a newer php in another
folder which happens to get first in your path. The previous php should
still be here. Fix your path.
----- Original Message -----
From: "Trev ." <walkabout@hotmail.com>
To: <rpm-list@redhat.com>
Sent: Thursday, December 06, 2001 2:00 AM
Subject: RPM reporting wrong version
> 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?
> Does the database get updated when the package is updated?
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]