Re: rpm logs?

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

 




On Feb 7, 2007, at 3:36 PM, Dominick Petracca wrote:

Does rpm maintain logs of all install and removals?


rpm does not maintain logs.

rpm -qa --last will show when packages were added.

rpm-4.4.6 and later also maintains forward/backward links of previous
versions of packages.

E.g. here's whate the currently installed yum package replaced:

# rpm -q --blink yum
yum-3.1.0-2.fc7.noarch.rpm
        <= yum-3.0.1-6.fc7.noarch.rpm

I know we have the rpmpkgs logs in /var/log but how do we know if an install actually went ok?

You know by examining whatever rpm command was run.

Meaning is there a way to see the full install log of each package installed (without having to specify the -v at the time of install).

Add -v to whatever is invoking rpm. Its not like rpm is invoking itself ...

For example, how could I see if someone installed a package but it actually failed one of the post install scripts but still installed...etc.?


Ask the someone is the only reliable answer at the moment ;-)

Seriously, better could/should be done.

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux