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

Re: when is a package installed on this system?



On 24/07/2001 06:03, Kenneth Porter wrote:
On Tue, 24 Jul 2001 05:55:18 +0700, Steven Haryanto wrote:

>this might be trivial and obvious, but i cannot get it from the
>manpage...

Rephrase? Do you mean temporally, or whether a package is installed?
The package is installed at the time you run "rpm -i" or "rpm -U", and
you tell if it's done with "rpm -q".

sorry, guess i was just being lazy. i found the INSTALLTIME tag or i can just use:

$ rpm -q --last perl

to know the time at which this package is installed. by the way, any
chance i can know which root user installed this package? is this even
recorded by rpm, or can i somehow add this information to the database?
i currently have five users with uid=0, and i'd like to know which of
these four actually installed a certain package.

but if that is not possible, i can always alias or wrap the 'rpm'
command to some script.

Steve





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