Hi,
Is there a way to get a history of which packages were installed/updated when?? I have been googling and trying all sorts or yum and rpm commands and found nothing :-\
Thank you in advance.
Regards, Dan
On Sunday 02 April 2006 22:19, Dogsbody wrote:
Hi,
Is there a way to get a history of which packages were installed/updated when?? I have been googling and trying all sorts or yum and rpm commands and found nothing :-\
Thank you in advance.
You're probably looking for the log file /var/log/yum.log
Peter.
Is there a way to get a history of which packages were installed/updated when?? I have been googling and trying all sorts or yum and rpm commands and found nothing :-\
You're probably looking for the log file /var/log/yum.log
Perfect and by far the quickest response I have ever had on a mailing list. Thank you :-)
Dan
Can't you something like this, to get the install time and date.
rpm -qa --queryformat '%{name} %{version}%{release} %{installtime:date} %{Summary} \n'
The --queryformat has a bunch of options, I am not familiar with all of them. I had done that a long time back.
-- Prasad "If everything is coming your way, then you are in the wrong lane"
Prasad Pillarisetti wrote:
Can't you something like this, to get the install time and date.
rpm -qa --queryformat '%{name} %{version}%{release} %{installtime:date} %{Summary} \n'
The --queryformat has a bunch of options, I am not familiar with all of them. I had done that a long time back.
--
rpm -qa --last
and no, it wont give you details on the yum operations for update and dep installs.
There is also rpm -qa --last which lists the rpms in "last installed" order.
------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine