Skip to content

Instantly share code, notes, and snippets.

@kurtis318
Last active August 22, 2018 20:10
Show Gist options
  • Save kurtis318/15e9e02c657c4996bb75e5561d7d01c9 to your computer and use it in GitHub Desktop.
Save kurtis318/15e9e02c657c4996bb75e5561d7d01c9 to your computer and use it in GitHub Desktop.
dnf history list example
[kurtis@kwr50p anydesk-2.9.7] $ sudo dnf history list
Contacting OpenClient Router for restricted repository information
Added restricted repo: RHEL-7-x86_64-crashplan
Added restricted repo: Fedora-28-x86_64-Licensed
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
115 | install mesa-dri-drivers | 2018-07-18 11:49 | Install | 5
114 | install python2-vlc.noar | 2018-07-18 10:21 | Install | 2
113 | -y update | 2018-07-18 07:45 | E, I, U | 59 EE
112 | -y update | 2018-07-17 08:44 | Update | 17
111 | -y update | 2018-07-16 09:04 | Update | 9
110 | update | 2018-07-13 15:36 | E, I, U | 21 EE
109 | update ./libobasis6.0-ba | 2018-07-13 09:05 | Update | 41 EE
108 | -y update | 2018-07-13 08:31 | I, U | 21
107 | -y update | 2018-07-12 08:15 | E, I, U | 60 EE
106 | update | 2018-07-11 08:32 | Update | 2
105 | install gtkglext-libs.i6 | 2018-07-10 11:26 | Install | 11
104 | install gtkglext-libs | 2018-07-10 11:19 | Install | 1
103 | update | 2018-07-09 08:29 | Update | 7
102 | -y update | 2018-07-06 22:44 | Update | 74
101 | -y update | 2018-07-05 12:40 | E, I, O, U | 133 EE
100 | -y update | 2018-06-27 17:15 | Update | 3 EE
99 | install youtube-dl | 2018-06-26 20:22 | Install | 1
98 | -y update | 2018-06-26 19:15 | Update | 31
97 | -y update | 2018-06-26 08:22 | Update | 21
96 | -y update | 2018-06-24 18:31 | E, I, U | 37 EE
95 | -y update | 2018-06-23 10:41 | Update | 5
94 | -y update | 2018-06-22 08:21 | Update | 82 EE
93 | -y update | 2018-06-20 08:49 | E, I, U | 74 EE
92 | update | 2018-06-17 19:36 | Update | 5
91 | -y update | 2018-06-16 21:09 | Update | 89
90 | update | 2018-06-15 15:52 | Update | 18 EE
89 | install ipmitool | 2018-06-15 14:56 | Install | 1
88 | -y update | 2018-06-15 09:06 | E, I, U | 45 EE
87 | -y update | 2018-06-13 21:56 | Update | 24
86 | -y update | 2018-06-12 09:50 | E, I, O, U | 115 EE
85 | -y update | 2018-06-07 09:04 | I, U | 27
84 | -y update | 2018-06-06 08:15 | Update | 21
83 | -y update | 2018-06-05 08:46 | Update | 10
82 | -y update | 2018-06-04 08:57 | E, I, U | 79 EE
81 | -y update | 2018-06-01 09:49 | Update | 10
80 | -y update | 2018-05-31 09:44 | E, I, U | 38 EE
79 | | 2018-05-29 22:28 | Install | 8
78 | -y update | 2018-05-29 10:29 | I, U | 110 EE
77 | install lightdm-gtk-gree | 2018-05-25 16:10 | Install | 1
76 | install slick-greeter | 2018-05-25 09:44 | Install | 6
75 | -y update | 2018-05-25 08:01 | E, I, U | 28 EE
74 | install xfce4-whiskermen | 2018-05-24 10:15 | Install | 1
73 | remove abrt* | 2018-05-24 09:45 | Erase | 29
72 | group install Xfce Deskt | 2018-05-24 09:44 | Install | 139 EE
71 | -y update | 2018-05-24 09:35 | E, I, U | 87 E<
70 | -y update | 2018-05-21 16:12 | E, I, U | 110 >E
69 | -y update | 2018-05-18 07:14 | Update | 11
68 | install minicom | 2018-05-17 09:13 | Install | 1
67 | install seamonkey | 2018-05-17 08:27 | Install | 1
66 | -y update | 2018-05-17 08:09 | Update | 37 EE
65 | install remmina-plugins- | 2018-05-16 16:15 | Install | 1
64 | update | 2018-05-15 16:19 | Update | 5
63 | install ./messengerforde | 2018-05-15 13:56 | Install | 1
62 | install ./libobasis6.0-b | 2018-05-15 13:48 | Install | 41 EE
61 | reinstall IBM-security-c | 2018-05-15 09:47 | Reinstall | 1 EE
60 | install ./displaylink-1. | 2018-05-15 09:34 | Install | 3
59 | remove displaylink | 2018-05-15 09:34 | Erase | 3 EE
58 | install ./displaylink-1. | 2018-05-15 09:30 | Install | 3
57 | -y update | 2018-05-15 09:04 | I, O, U | 16 EE
56 | -y install gtk-murrine-e | 2018-05-14 16:42 | Install | 1
55 | -y install telegram-desk | 2018-05-14 16:41 | Install | 3
54 | -y groupinstall multimed | 2018-05-14 16:41 | Install | 12
53 | -y install msttcore-font | 2018-05-14 16:40 | Install | 1 EE
52 | -y install libdvdcss | 2018-05-14 16:40 | Install | 1
51 | -y install http://rpm.li | 2018-05-14 16:40 | Install | 1
50 | -y install cabextract lz | 2018-05-14 16:40 | Install | 5
49 | -y install flash-player- | 2018-05-14 16:40 | Install | 1 EE
48 | -y install flash-plugin | 2018-05-14 16:40 | Install | 1
47 | -y install http://linuxd | 2018-05-14 16:39 | Install | 1
46 | -y install numix-icon-th | 2018-05-14 16:39 | Install | 4
45 | -y install code | 2018-05-14 16:39 | Install | 1
44 | -y install https://downl | 2018-05-14 16:39 | Install | 2
43 | -y install jdk-8u171-lin | 2018-05-14 16:38 | Install | 1 EE
42 | -y install cvs rcs meld | 2018-05-14 16:37 | Install | 267
41 | -y install ./atom.x86_64 | 2018-05-14 16:36 | Install | 1
40 | -y install java-*-openjd | 2018-05-14 16:34 | Install | 13
39 | -y install libgcc.i686 c | 2018-05-14 16:33 | Install | 9
38 | -y install https://go.sk | 2018-05-14 16:33 | Install | 1 EE
37 | -y install https://dl.go | 2018-05-14 16:32 | Install | 1 EE
36 | -y install https://dl.go | 2018-05-14 16:32 | Install | 1 EE
35 | remove libreoffice* | 2018-05-14 16:31 | Erase | 69
34 | remove abrt* | 2018-05-14 16:30 | Erase | 31
33 | remove eclipse | 2018-05-14 16:30 | Erase | 221 EE
32 | install chrome-gnome-she | 2018-05-14 16:06 | Install | 1
31 | install gnome-tweaks | 2018-05-14 16:05 | Install | 2
30 | -y install CrashPlan ibm | 2018-05-14 15:53 | Install | 3 EE
29 | install glade | 2018-05-14 15:45 | Install | 1
28 | install slack | 2018-05-14 14:02 | Install | 1
27 | -y group install IBM Glo | 2018-05-14 13:55 | Install | 6 EE
26 | -y group install IBM Ope | 2018-05-14 13:55 | I, O | 4
25 | -y group install IBM Lic | 2018-05-14 13:55 | Install | 8
24 | -y group install IBM Cli | 2018-05-14 13:55 | Install | 36 EE
23 | -y group install IBM Sam | 2018-05-14 13:54 | Install | 8 EE
22 | -y group install IBM Not | 2018-05-14 13:51 | Install | 235 EE
21 | -y group install IBM Sec | 2018-05-14 13:46 | Install | 2 EE
20 | -y group install IBM Fir | 2018-05-14 13:46 | Install | 1 EE
19 | -y install http://ocfedo | 2018-05-14 13:46 | Install | 1
18 | -y install fedy | 2018-05-14 11:28 | Install | 1
17 | -y install https://dl.fo | 2018-05-14 11:28 | Install | 1
16 | -y install guestfs-brows | 2018-05-14 11:28 | Install | 19
15 | -y install audacity blen | 2018-05-14 11:27 | Install | 77
14 | -y install tigervnc tige | 2018-05-14 11:26 | Install | 36
13 | -y install screen shutte | 2018-05-14 11:26 | Install | 97 EE
12 | -y install pavumeter per | 2018-05-14 11:25 | Install | 36
11 | -y install NetworkManage | 2018-05-14 11:24 | Install | 36
10 | -y install iptraf-ng k3b | 2018-05-14 11:23 | Install | 88
9 | -y install ftp gedit-plu | 2018-05-14 11:23 | Install | 50
8 | -y install curlftpfs ecl | 2018-05-14 11:21 | Install | 244 EE
7 | -y install banshee brase | 2018-05-14 11:18 | Install | 67
6 | -y group install Adminis | 2018-05-14 11:17 | Install | 146
5 | -y group install Develop | 2018-05-14 11:17 | Install | 36
4 | -y install http://downlo | 2018-05-14 11:16 | Install | 1
3 | -y install http://downlo | 2018-05-14 11:16 | Install | 1
2 | -y update | 2018-05-14 11:07 | I, U | 337 EE
1 | | 2018-04-25 01:33 | Install | 1596 EE
[kurtis@kwr50p anydesk-2.9.7] $ sudo dnf history info 105
Contacting OpenClient Router for restricted repository information
Added restricted repo: RHEL-7-x86_64-crashplan
Added restricted repo: Fedora-28-x86_64-Licensed
Transaction ID : 105
Begin time : Tue 10 Jul 2018 11:26:23 AM CDT
Begin rpmdb : 3042:a5fb80021e75b8e4338da6680c07da003aabfde9
End time : Tue 10 Jul 2018 11:26:26 AM CDT (3 seconds)
End rpmdb : 3053:ec46a38c32149d5459f437d75f00553a16124b80
User : kurt ruby <kurtis>
Return-Code : Success
Command Line : install gtkglext-libs.i686
Transaction performed with:
Installed dnf-2.7.5-12.fc28.noarch @anaconda
Installed rpm-4.14.1-9.fc28.x86_64 @updates
Packages Altered:
Install gtkglext-libs-1.2.0-32.fc28.i686 @fedora
Install libXmu-1.1.2-8.fc28.i686 @fedora
Install libXxf86vm-1.1.4-7.fc28.i686 @fedora
Install libdrm-2.4.92-1.fc28.i686 @updates
Install libglvnd-1:1.0.1-0.7.git5baa1e5.fc28.i686 @updates
Install libglvnd-glx-1:1.0.1-0.7.git5baa1e5.fc28.i686 @updates
Install libpciaccess-0.13.4-8.fc28.i686 @fedora
Install libxshmfence-1.3-1.fc28.i686 @fedora
Install mesa-libGL-18.0.5-2.fc28.i686 @updates
Install mesa-libGLU-9.0.0-14.fc28.i686 @fedora
Install mesa-libglapi-18.0.5-2.fc28.i686 @updates
[kurtis@kwr50p Downloads] $ sudo dnf history undo 140
Contacting OpenClient Router for restricted repository information
Added restricted repo: RHEL-7-x86_64-crashplan
Added restricted repo: Fedora-28-x86_64-Licensed
Last metadata expiration check: 0:44:52 ago on Wed 22 Aug 2018 02:23:52 PM CDT.
Undoing transaction 140, from Wed 22 Aug 2018 02:13:29 PM CDT
Install chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 @@commandline
Install chromium-freeworld-libs-68.0.3440.75-7.fc28.x86_64 @@commandline
Install libatomic-8.1.1-5.fc28.x86_64 @updates
Install openh264-1.8.0-1.git6fe15a6.fc28.x86_64 @@commandline
Install re2-20160401-6.fc28.x86_64 @fedora
===============================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================
Removing:
chrome-remote-desktop x86_64 68.0.3440.75-7.fc28 @@commandline 75 M
chromium-freeworld-libs x86_64 68.0.3440.75-7.fc28 @@commandline 20 M
libatomic x86_64 8.1.1-5.fc28 @updates 28 k
openh264 x86_64 1.8.0-1.git6fe15a6.fc28 @@commandline 2.1 M
re2 x86_64 20160401-6.fc28 @fedora 467 k
Transaction Summary
===============================================================================================================================================
Remove 5 Packages
Freed space: 98 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 1/1
Running scriptlet: chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 1/5
Erasing : chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 1/5
Running scriptlet: chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 1/5
Erasing : chromium-freeworld-libs-68.0.3440.75-7.fc28.x86_64 2/5
Erasing : libatomic-8.1.1-5.fc28.x86_64 3/5
Running scriptlet: libatomic-8.1.1-5.fc28.x86_64 3/5
Erasing : openh264-1.8.0-1.git6fe15a6.fc28.x86_64 4/5
Running scriptlet: openh264-1.8.0-1.git6fe15a6.fc28.x86_64 4/5
Erasing : re2-20160401-6.fc28.x86_64 5/5
Running scriptlet: re2-20160401-6.fc28.x86_64 5/5
Verifying : chromium-freeworld-libs-68.0.3440.75-7.fc28.x86_64 1/5
Verifying : openh264-1.8.0-1.git6fe15a6.fc28.x86_64 2/5
Verifying : libatomic-8.1.1-5.fc28.x86_64 3/5
Verifying : chrome-remote-desktop-68.0.3440.75-7.fc28.x86_64 4/5
Verifying : re2-20160401-6.fc28.x86_64 5/5
Removed:
chrome-remote-desktop.x86_64 68.0.3440.75-7.fc28 chromium-freeworld-libs.x86_64 68.0.3440.75-7.fc28 libatomic.x86_64 8.1.1-5.fc28
openh264.x86_64 1.8.0-1.git6fe15a6.fc28 re2.x86_64 20160401-6.fc28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment