{"id":11990,"date":"2026-01-16T23:52:59","date_gmt":"2026-01-17T04:52:59","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=11990"},"modified":"2026-02-06T00:07:10","modified_gmt":"2026-02-06T05:07:10","slug":"dnf5-history-undo","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=11990","title":{"rendered":"DNF5 History *UNDO*?!?"},"content":{"rendered":"<p>This is cool &#8211; I&#8217;ve only tested with a package I didn&#8217;t need and didn&#8217;t matter if it got mucked up. No idea if there&#8217;s an undo for, say, kernels. Or if\u00a0<em>undo<\/em> on an update would roll back to the previous version. That&#8217;s the sort of testing to do on a sandbox that you don&#8217;t want running 30 minutes from now!<\/p>\n<p>[root@fedora log]# dnf5 install bvi<br \/>\nUpdating and loading repositories:<br \/>\nRepositories loaded.<br \/>\nPackage Arch Version Repository Size<br \/>\nInstalling:<br \/>\nbvi x86_64 1.5.0-1.fc43 fedora 157.1 KiB<\/p>\n<p>Transaction Summary:<br \/>\nInstalling: 1 package<\/p>\n<p>Total size of inbound packages is 83 KiB. Need to download 83 KiB.<br \/>\nAfter this operation, 157 KiB extra will be used (install 157 KiB, remove 0 B).<br \/>\nIs this ok [y\/N]: y<br \/>\n[1\/1] bvi-0:1.5.0-1.fc43.x86_64 100% | 351.6 KiB\/s | 83.0 KiB | 00m00s<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n[1\/1] Total 100% | 164.9 KiB\/s | 83.0 KiB | 00m01s<br \/>\nRunning transaction<br \/>\n[1\/3] Verify package files 100% | 142.0 B\/s | 1.0 B | 00m00s<br \/>\n[2\/3] Prepare transaction 100% | 2.0 B\/s | 1.0 B | 00m00s<br \/>\n[3\/3] Installing bvi-0:1.5.0-1.fc43.x86_64 100% | 243.9 KiB\/s | 160.0 KiB | 00m01s<br \/>\nComplete!<br \/>\n[root@fedora log]# dnf5 history list<br \/>\nID Command line Date and time Action(s) Altered<br \/>\n29 dnf install bvi 2026-02-06 04:50:43 1<br \/>\n28 dnf remove kernel-core-6.18.3-200.fc43.x86_64 kernel-modules-6.18.3-200.fc43.x86_64 kernel-modules-extra-6.18.3-200.fc43.x86_64 2026-01-14 05:07:22 4<br \/>\n27 dnf update 2026-01-14 05:01:58 70<br \/>\n26 dnf remove kernel-core-6.17.9-300.fc43.x86_64 kernel-modules-6.17.9-300.fc43.x86_64 kernel-modules-extra-6.17.9-300.fc43.x86_64 2026-01-14 05:01:28 4<br \/>\n25 dnf update 2026-01-09 19:19:48 42<br \/>\n24 dnf update 2026-01-08 19:57:05 618<br \/>\n23 dnf5 remove kernel-core-6.11.10-300.fc41.x86_64 kernel-modules-6.11.10-300.fc41.x86_64 kernel-modules-core-6.11.10-300.fc41.x86_64 2026-01-08 19:53:42 3<br \/>\n22 dnf remove kernel-6.11.10-300.fc41 2025-12-26 02:06:47 1<br \/>\n21 dnf install speedtest-cli 2025-12-19 23:06:12 1<br \/>\n20 yum install chromedriver 2025-12-08 00:20:24 3<br \/>\n19 dnf system-upgrade download &#8211;releasever=43 2025-12-06 18:40:14 3792<br \/>\n18 dnf upgrade &#8211;refresh 2025-12-06 08:22:19 1422<br \/>\n17 dnf install -y cloud-utils-growpart 2025-12-06 08:16:00 1<br \/>\n16 dnf install xmlsec1 xmlsec1-openssl 2025-10-27 20:44:39 1<br \/>\n15 yum install xmlsec1 2025-10-27 20:42:29 1<br \/>\n14 dnf install mod_md 2025-07-03 19:22:36 1<br \/>\n13 yum install npm 2025-06-23 20:05:13 5<br \/>\n12 dnf update 2025-02-23 19:56:36 482<br \/>\n11 dnf update 2025-01-31 16:01:33 626<br \/>\n10 dnf5 install dnf5-plugin-automatic 2025-01-31 15:59:29 9<br \/>\n9 yum install xxd 2025-01-15 21:38:38 1<br \/>\n8 dnf install mosquitto 2025-01-04 23:40:52 3<br \/>\n7 dnf update 2025-01-03 04:51:41 14<br \/>\n6 dnf update 2025-01-01 00:19:22 358<br \/>\n5 dnf update 2024-12-06 04:30:32 18<br \/>\n4 dnf update 2024-12-06 04:14:41 404<br \/>\n3 dnf update 2024-11-22 17:21:43 65<br \/>\n2 dnf update 2024-11-18 18:33:18 116<br \/>\n1 dnf update 2024-11-14 18:58:09 54<\/p>\n<p>[root@fedora log]# dnf5 history undo 29<br \/>\nUpdating and loading repositories:<br \/>\nRepositories loaded.<br \/>\nPackage Arch Version Repository Size<br \/>\nRemoving:<br \/>\nbvi x86_64 1.5.0-1.fc43 fedora 157.1 KiB<\/p>\n<p>Transaction Summary:<br \/>\nRemoving: 1 package<\/p>\n<p>After this operation, 157 KiB will be freed (install 0 B, remove 157 KiB).<br \/>\nIs this ok [y\/N]: y<br \/>\nRunning transaction<br \/>\n[1\/2] Prepare transaction 100% | 4.0 B\/s | 1.0 B | 00m00s<br \/>\n[2\/2] Removing bvi-0:1.5.0-1.fc43.x86_64 100% | 35.0 B\/s | 20.0 B | 00m01s<br \/>\nComplete!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is cool &#8211; I&#8217;ve only tested with a package I didn&#8217;t need and didn&#8217;t matter if it got mucked up. No idea if there&#8217;s an undo for, say, kernels. Or if\u00a0undo on an update would roll back to the previous version. That&#8217;s the sort of testing to do on a sandbox that you don&#8217;t &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[],"class_list":["post-11990","post","type-post","status-publish","format-standard","hentry","category-system-administration"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/11990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11990"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/11990\/revisions"}],"predecessor-version":[{"id":11991,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/11990\/revisions\/11991"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}