View Full Version : check when package was updated

18th November 2017, 05:12 PM
Is there a way to check when a package was updated on your system?

18th November 2017, 06:08 PM
# rpm -qa --last | grep <package name>


18th November 2017, 08:02 PM
Is there a way to check when a package was updated on your system?

There is also 'dnf 'history'

dnf history list <packagename>

For example, using package "slack"

dnf history list slack
ID | Command line | Date and time | Action(s) | Altered
47 | update | 2017-11-18 09:24 | Update | 8
31 | install ./slack-2.8.2-0. | 2017-11-09 01:53 | Install | 5

So I know it was installed on Nov 11 and updated Nov 18, if I want to see what happened in that actual dnf update transaction #47, I'd use dnf history info 47

dnf history info 47
Transaction ID : 47
Begin time : Sat 18 Nov 2017 09:24:19 AM EST
Begin rpmdb : 2226:66ca558fd890d173f97bae759ec703d0baab114c
End time : Sat 18 Nov 2017 09:25:09 AM EST (50 seconds)
End rpmdb : 2226:3c3de472e21f52cb859007b003efbce8b6e7c309
User : Mark Schlegel <mos>
Return-Code : Success
Command Line : update
Transaction performed with:
Installed dnf-2.7.5-1.fc27.noarch @updates
Installed rpm-4.14.0-2.fc27.x86_64 @fedora
Packages Altered:
Upgraded ibus-1.5.16-11.fc27.x86_64 @fedora
Upgrade 1.5.17-1.fc27.x86_64 @updates
Upgraded ibus-gtk2-1.5.16-11.fc27.x86_64 @fedora
Upgrade 1.5.17-1.fc27.x86_64 @updates
Upgraded ibus-gtk3-1.5.16-11.fc27.x86_64 @fedora
Upgrade 1.5.17-1.fc27.x86_64 @updates
Upgraded ibus-libs-1.5.16-11.fc27.x86_64 @fedora
Upgrade 1.5.17-1.fc27.x86_64 @updates
Upgraded ibus-setup-1.5.16-11.fc27.noarch @fedora
Upgrade 1.5.17-1.fc27.noarch @updates
Upgraded ibus-wayland-1.5.16-11.fc27.x86_64 @fedora
Upgrade 1.5.17-1.fc27.x86_64 @updates
Upgraded qt5-qtwebengine-5.9.1-5.fc27.x86_64 @updates
Upgrade 5.9.2-2.fc27.x86_64 @updates
Upgraded slack-2.8.2-0.1.fc21.x86_64 @@commandline
Upgrade 2.9.0-0.1.fc21.x86_64 @slack