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

Re: RPM reporting wrong version



"Trev ." 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
>

Do You have two versions installed? One rpm packaga and, the 3.012-6, and
another version built and installed from a tarball?

>
> 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?
>

If it is updated with an rpm package, yes.

BF





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