[opensuse] Where can I find logfiles from last update?
![](https://seccdn.libravatar.org/avatar/121770a2309c63509aee6fb6d55cbd4a.jpg?s=120&d=mm&r=g)
I recently made an update on my 13.1 machine with the latest patches from the standard repositories. Now I have to check something. Where can I find the logfiles, which items/packages have been updated? I had this already once but I forgot this "tiny" detail. ;-) Thanks in advance Markus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7574aaee71d8971a36f4283a7cad6b2c.jpg?s=120&d=mm&r=g)
* MarkusGMX
I recently made an update on my 13.1 machine with the latest patches from the standard repositories.
Now I have to check something. Where can I find the logfiles, which items/packages have been updated? I had this already once but I forgot this "tiny" detail. ;-)
perhaps following is what you need: rpm -qa --last | head -n 30 will list most recent updates/installs first adjust head to fit -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 2015-06-13 14:25, MarkusGMX wrote:
I recently made an update on my 13.1 machine with the latest patches from the standard repositories.
Now I have to check something. Where can I find the logfiles, which items/packages have been updated?
/var/log/zypp/history
I had this already once but I forgot this "tiny" detail. ;-)
Or something like this: rpm -q -a --queryformat "%{INSTALLTIME};%{INSTALLTIME:day}; \ %{BUILDTIME:day}; %{NAME};%{VERSION}-%-7{RELEASE};%{arch}; \ %{VENDOR};%{PACKAGER};%{DISTRIBUTION};%{DISTTAG}\n" \ | sort | cut --fields="2-" --delimiter=\; \ | tee rpmlist.csv | less -S or rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \ | sort | cut --fields="2-" | tee rpmlist | less -S Both display a list of all installed packages, sorted by installation date. The first version generates a file suitable for importing in a calc sheet. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
![](https://seccdn.libravatar.org/avatar/121770a2309c63509aee6fb6d55cbd4a.jpg?s=120&d=mm&r=g)
Am 13/06/15 um 16:37 schrieb Carlos E. R.:
rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" \ | sort | cut --fields="2-" | tee rpmlist | less -S
Thanks all! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
MarkusGMX
-
Patrick Shanahan