Bug 1971292
| Summary: | `dnf history rollback` fails with `KeyError: 'Reason Change'` | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Anatoli Babenia <anatoli> |
| Component: | dnf | Assignee: | Lukáš Hrázký <lhrazky> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 34 | CC: | bugzilla, ctubbsii, dmach, jcastran, jmracek, jrohel, lhrazky, mblaha, mhatina, ogajduse, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-17 11:19:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Repeating the transaction after reboot helped to restore the system. $ sudo dnf history redo 897 Thanks Redditors for the hint. https://www.reddit.com/r/Fedora/comments/af8gow/accidentally_shut_off_my_system_during_an_update/ I reproduced the same on my workstation today.
$ rpm -qa | grep dnf
dnf-data-4.9.0-1.fc34.noarch
libdnf-0.64.0-1.fc34.x86_64
python3-libdnf-0.64.0-1.fc34.x86_64
python3-dnf-4.9.0-1.fc34.noarch
dnf-4.9.0-1.fc34.noarch
python3-dnf-plugins-core-4.0.24-1.fc34.noarch
dnf-plugins-core-4.0.24-1.fc34.noarch
dnf-utils-4.0.24-1.fc34.noarch
python3-dnf-plugins-extras-common-4.0.15-1.fc34.noarch
python3-dnf-plugin-system-upgrade-4.0.15-1.fc34.noarch
python3-dnf-plugin-leaves-4.0.24-1.fc34.noarch
python3-dnf-plugin-versionlock-4.0.24-1.fc34.noarch
$ sudo dnf -d 10 history undo last
timer: config: 3 ms
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, leaves, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade, versionlock
DNF version: 4.9.0
Command: dnf -d 10 history undo last
Installroot: /
Releasever: 34
cachedir: /var/cache/dnf
Base command: history
Extra commands: ['-d', '10', 'history', 'undo', 'last']
User-Agent: constructed: 'libdnf (Fedora 34; workstation; Linux.x86_64)'
repo: using cache for: copr:copr.fedorainfracloud.org:evgeni:foreman-ansible-modules
copr:copr.fedorainfracloud.org:evgeni:foreman-ansible-modules: using metadata from Tue 27 Apr 2021 12:41:33 PM CEST.
repo: using cache for: copr:copr.fedorainfracloud.org:ibotty:prometheus-exporters
copr:copr.fedorainfracloud.org:ibotty:prometheus-exporters: using metadata from Tue 27 Apr 2021 12:42:02 PM CEST.
repo: using cache for: copr:copr.fedorainfracloud.org:jjelen:opensc-latest
copr:copr.fedorainfracloud.org:jjelen:opensc-latest: using metadata from Thu 25 Nov 2021 05:41:30 AM CET.
repo: using cache for: copr:copr.fedorainfracloud.org:tkorbar:cheat
copr:copr.fedorainfracloud.org:tkorbar:cheat: using metadata from Tue 27 Apr 2021 09:33:05 AM CEST.
repo: using cache for: fedora
fedora: using metadata from Fri 23 Apr 2021 12:47:57 PM CEST.
repo: using cache for: fedora-cisco-openh264
fedora-cisco-openh264: using metadata from Tue 23 Feb 2021 01:49:00 AM CET.
repo: using cache for: fedora-modular
fedora-modular: using metadata from Fri 23 Apr 2021 12:25:38 PM CEST.
repo: using cache for: updates
updates: using metadata from Mon 06 Dec 2021 01:58:37 AM CET.
repo: using cache for: updates-modular
updates-modular: using metadata from Thu 02 Dec 2021 02:43:14 AM CET.
repo: using cache for: google-chrome
google-chrome: using metadata from Wed 01 Dec 2021 05:59:41 PM CET.
repo: using cache for: google-chrome-unstable
google-chrome-unstable: using metadata from Wed 01 Dec 2021 05:59:41 PM CET.
repo: using cache for: hardware_razer
hardware_razer: using metadata from Sun 05 Dec 2021 04:46:38 PM CET.
repo: using cache for: keybase
keybase: using metadata from Thu 30 Sep 2021 06:27:52 PM CEST.
repo: using cache for: rpmfusion-free
rpmfusion-free: using metadata from Sun 25 Apr 2021 08:10:08 PM CEST.
repo: using cache for: rpmfusion-free-updates
rpmfusion-free-updates: using metadata from Fri 03 Dec 2021 11:04:59 PM CET.
repo: using cache for: rpmfusion-nonfree
rpmfusion-nonfree: using metadata from Sun 25 Apr 2021 08:36:02 PM CEST.
repo: using cache for: rpmfusion-nonfree-updates
rpmfusion-nonfree-updates: using metadata from Fri 03 Dec 2021 11:27:13 PM CET.
repo: using cache for: code
code: using metadata from Mon 06 Dec 2021 07:10:09 AM CET.
Last metadata expiration check: 0:43:27 ago on Mon 06 Dec 2021 09:23:44 AM CET.
timer: sack setup: 1840 ms
Cleaning up.
Traceback (most recent call last):
File "/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 201, in user_main
errcode = main(args)
File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 106, in _main
return cli_run(cli, base)
File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 122, in cli_run
cli.run()
File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 1055, in run
return self.command.run()
File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 342, in run
self._hcmd_undo(tids)
File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 190, in _hcmd_undo
self._revert_transaction(old)
File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 233, in _revert_transaction
ti["action"] = action_map[ti["action"]]
KeyError: 'Reason Change'
KeyError: 'Reason Change' preventing rollback and undo is still a problem in Fedora 35. This seems like a major bug. It seems that there's some python code in DNF that doesn't understand certain lines in the transaction, and just fails due to a parse error, and not because of an actual inability to address the transaction. I'm running Fedora 35:
$ rpm -qa | grep dnf
dnf-data-4.9.0-1.fc35.noarch
python3-libdnf-0.64.0-1.fc35.x86_64
python3-dnf-4.9.0-1.fc35.noarch
libdnf-0.64.0-1.fc35.x86_64
dnfdaemon-0.3.20-7.fc35.noarch
dnfdaemon-selinux-0.3.20-7.fc35.noarch
dnf-4.9.0-1.fc35.noarch
python3-dnfdaemon-0.3.20-7.fc35.noarch
python3-dnf-plugins-extras-common-4.0.15-2.fc35.noarch
python3-dnf-plugins-core-4.0.24-1.fc35.noarch
dnf-plugins-core-4.0.24-1.fc35.noarch
dnfdragora-2.1.0-5.fc35.noarch
python3-dnf-plugin-system-upgrade-4.0.15-2.fc35.noarch
My machine lost power in the latter stages of a 'dnf upgrade' command. Nothing seemed wrong with my system but upon trying to run 'sudo dnf history undo last' to rollback these most recent changes I ran into this bug.
I tracked down the exact package versions I needed, made them available to dnf and tried to run the following, as Anatoli Babenia suggests:
$ sudo dnf history redo last
[sudo] password for jazz:
created by dnf config-manager from file:///home/jazz/mykernel 8.6 MB/s | 60 kB 00:00
Last metadata expiration check: 0:00:01 ago on Sat 12 Feb 2022 23:19:09 EET.
Dependencies resolved.
Freed space: 0
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Complete!
Warning, the following problems occurred while running a transaction:
Package nevra "distribution-gpg-keys-1.62-1.fc35.noarch" not installed for action "Upgraded".
Package nevra "lyx-2.3.6.1-3.fc35.x86_64" not installed for action "Upgraded".
Package nevra "lyx-common-2.3.6.1-3.fc35.noarch" not installed for action "Upgraded".
Package nevra "lyx-fonts-2.3.6.1-3.fc35.noarch" not installed for action "Upgraded".
Package nevra "mesa-dri-drivers-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-dri-drivers-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-filesystem-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-filesystem-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libEGL-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libEGL-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libGL-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libGL-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libGL-devel-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libgbm-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libgbm-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libglapi-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libglapi-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libxatracker-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-vulkan-drivers-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-vulkan-drivers-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "webkit2gtk3-2.34.4-2.fc35.x86_64" not installed for action "Upgraded".
Package nevra "webkit2gtk3-jsc-2.34.4-2.fc35.x86_64" not installed for action "Upgraded".
Package nevra "kernel-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-core-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-modules-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-modules-extra-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Info for the failed transaction:
$ sudo dnf history info 179
[sudo] password for jazz:
Transaction ID : 179
Begin time : Sat 12 Feb 2022 20:44:15 EET
Begin rpmdb : 3019:fd6edf3118acfa4398a5b5799a04af53b676cab9
End time : Thu 01 Jan 1970 03:00:00 MSK (-1644691455 seconds)
End rpmdb :
User : Jazz <jazz>
Return-Code : Failure: 1
Releasever :
Command Line : upgrade
Comment :
Packages Altered:
** Install kernel-5.16.8-200.fc35.x86_64 @updates
** Install kernel-core-5.16.8-200.fc35.x86_64 @updates
** Install kernel-modules-5.16.8-200.fc35.x86_64 @updates
** Install kernel-modules-extra-5.16.8-200.fc35.x86_64 @updates
** Upgrade distribution-gpg-keys-1.64-1.fc35.noarch @updates
** Upgraded distribution-gpg-keys-1.62-1.fc35.noarch @@System
** Upgrade lyx-2.3.6.1-5.fc35.x86_64 @updates
** Upgraded lyx-2.3.6.1-3.fc35.x86_64 @@System
** Upgrade lyx-common-2.3.6.1-5.fc35.noarch @updates
** Upgraded lyx-common-2.3.6.1-3.fc35.noarch @@System
** Upgrade lyx-fonts-2.3.6.1-5.fc35.noarch @updates
** Upgraded lyx-fonts-2.3.6.1-3.fc35.noarch @@System
** Upgrade mesa-dri-drivers-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-dri-drivers-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-dri-drivers-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-dri-drivers-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-filesystem-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-filesystem-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-filesystem-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-filesystem-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libEGL-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libEGL-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libEGL-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libEGL-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libGL-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libGL-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libGL-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libGL-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libGL-devel-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libGL-devel-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libgbm-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libgbm-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libgbm-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libgbm-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libglapi-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libglapi-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libglapi-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libglapi-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libxatracker-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libxatracker-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-vulkan-drivers-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-vulkan-drivers-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-vulkan-drivers-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-vulkan-drivers-21.3.5-1.fc35.x86_64 @@System
** Upgrade webkit2gtk3-2.34.5-1.fc35.x86_64 @updates
** Upgraded webkit2gtk3-2.34.4-2.fc35.x86_64 @@System
** Upgrade webkit2gtk3-jsc-2.34.5-1.fc35.x86_64 @updates
** Upgraded webkit2gtk3-jsc-2.34.4-2.fc35.x86_64 @@System
Reason Change Box2D-2.4.1-6.fc35.x86_64 @fedora
** Removed kernel-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-core-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-modules-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-modules-extra-5.15.17-200.fc35.x86_64 @@System
I
I'm running Fedora 35:
$ rpm -qa | grep dnf
dnf-data-4.9.0-1.fc35.noarch
python3-libdnf-0.64.0-1.fc35.x86_64
python3-dnf-4.9.0-1.fc35.noarch
libdnf-0.64.0-1.fc35.x86_64
dnfdaemon-0.3.20-7.fc35.noarch
dnfdaemon-selinux-0.3.20-7.fc35.noarch
dnf-4.9.0-1.fc35.noarch
python3-dnfdaemon-0.3.20-7.fc35.noarch
python3-dnf-plugins-extras-common-4.0.15-2.fc35.noarch
python3-dnf-plugins-core-4.0.24-1.fc35.noarch
dnf-plugins-core-4.0.24-1.fc35.noarch
dnfdragora-2.1.0-5.fc35.noarch
python3-dnf-plugin-system-upgrade-4.0.15-2.fc35.noarch
My machine lost power in the latter stages of a 'dnf upgrade' command. Nothing seemed wrong with my system but upon trying to run 'sudo dnf history undo last' to rollback these most recent changes I ran into this bug.
I tracked down the exact package versions I needed, made them available to dnf and tried to run the following, as Anatoli Babenia suggests:
$ sudo dnf history redo last
[sudo] password for jazz:
created by dnf config-manager from file:///home/jazz/mykernel 8.6 MB/s | 60 kB 00:00
Last metadata expiration check: 0:00:01 ago on Sat 12 Feb 2022 23:19:09 EET.
Dependencies resolved.
Freed space: 0
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Complete!
Warning, the following problems occurred while running a transaction:
Package nevra "distribution-gpg-keys-1.62-1.fc35.noarch" not installed for action "Upgraded".
Package nevra "lyx-2.3.6.1-3.fc35.x86_64" not installed for action "Upgraded".
Package nevra "lyx-common-2.3.6.1-3.fc35.noarch" not installed for action "Upgraded".
Package nevra "lyx-fonts-2.3.6.1-3.fc35.noarch" not installed for action "Upgraded".
Package nevra "mesa-dri-drivers-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-dri-drivers-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-filesystem-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-filesystem-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libEGL-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libEGL-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libGL-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libGL-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libGL-devel-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libgbm-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libgbm-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libglapi-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-libglapi-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-libxatracker-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "mesa-vulkan-drivers-21.3.5-1.fc35.i686" not installed for action "Upgraded".
Package nevra "mesa-vulkan-drivers-21.3.5-1.fc35.x86_64" not installed for action "Upgraded".
Package nevra "webkit2gtk3-2.34.4-2.fc35.x86_64" not installed for action "Upgraded".
Package nevra "webkit2gtk3-jsc-2.34.4-2.fc35.x86_64" not installed for action "Upgraded".
Package nevra "kernel-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-core-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-modules-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Package nevra "kernel-modules-extra-5.15.17-200.fc35.x86_64" not installed for action "Removed".
Info for the halted/interrupted transaction:
$ sudo dnf history info 179
[sudo] password for jazz:
Transaction ID : 179
Begin time : Sat 12 Feb 2022 20:44:15 EET
Begin rpmdb : 3019:fd6edf3118acfa4398a5b5799a04af53b676cab9
End time : Thu 01 Jan 1970 03:00:00 MSK (-1644691455 seconds)
End rpmdb :
User : Jazz <jazz>
Return-Code : Failure: 1
Releasever :
Command Line : upgrade
Comment :
Packages Altered:
** Install kernel-5.16.8-200.fc35.x86_64 @updates
** Install kernel-core-5.16.8-200.fc35.x86_64 @updates
** Install kernel-modules-5.16.8-200.fc35.x86_64 @updates
** Install kernel-modules-extra-5.16.8-200.fc35.x86_64 @updates
** Upgrade distribution-gpg-keys-1.64-1.fc35.noarch @updates
** Upgraded distribution-gpg-keys-1.62-1.fc35.noarch @@System
** Upgrade lyx-2.3.6.1-5.fc35.x86_64 @updates
** Upgraded lyx-2.3.6.1-3.fc35.x86_64 @@System
** Upgrade lyx-common-2.3.6.1-5.fc35.noarch @updates
** Upgraded lyx-common-2.3.6.1-3.fc35.noarch @@System
** Upgrade lyx-fonts-2.3.6.1-5.fc35.noarch @updates
** Upgraded lyx-fonts-2.3.6.1-3.fc35.noarch @@System
** Upgrade mesa-dri-drivers-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-dri-drivers-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-dri-drivers-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-dri-drivers-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-filesystem-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-filesystem-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-filesystem-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-filesystem-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libEGL-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libEGL-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libEGL-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libEGL-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libGL-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libGL-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libGL-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libGL-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libGL-devel-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libGL-devel-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libgbm-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libgbm-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libgbm-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libgbm-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libglapi-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-libglapi-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-libglapi-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libglapi-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-libxatracker-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-libxatracker-21.3.5-1.fc35.x86_64 @@System
** Upgrade mesa-vulkan-drivers-21.3.6-1.fc35.i686 @updates
** Upgraded mesa-vulkan-drivers-21.3.5-1.fc35.i686 @@System
** Upgrade mesa-vulkan-drivers-21.3.6-1.fc35.x86_64 @updates
** Upgraded mesa-vulkan-drivers-21.3.5-1.fc35.x86_64 @@System
** Upgrade webkit2gtk3-2.34.5-1.fc35.x86_64 @updates
** Upgraded webkit2gtk3-2.34.4-2.fc35.x86_64 @@System
** Upgrade webkit2gtk3-jsc-2.34.5-1.fc35.x86_64 @updates
** Upgraded webkit2gtk3-jsc-2.34.4-2.fc35.x86_64 @@System
Reason Change Box2D-2.4.1-6.fc35.x86_64 @fedora
** Removed kernel-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-core-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-modules-5.15.17-200.fc35.x86_64 @@System
** Removed kernel-modules-extra-5.15.17-200.fc35.x86_64 @@System
It looks like the package Box2D triggered the bug in this case.
*** This bug has been marked as a duplicate of bug 2010259 *** |
Description of problem: `dnf update` got frozen with `load_policy` child in D+ state. I could not interrupt or kill the process, so I rebooted. Now `dnf update` fails with `Transaction test error`. I tried to rollback to previous transaction, and that fails with the traceback. $ sudo dnf history rollback 896 Last metadata expiration check: 0:00:54 ago on Sun 13 Jun 2021 11:19:40 AM +03. Traceback (most recent call last): File "/usr/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 201, in user_main errcode = main(args) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main return _main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 106, in _main return cli_run(cli, base) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 122, in cli_run cli.run() File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 1055, in run return self.command.run() File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 346, in run self._hcmd_rollback(tids) File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 212, in _hcmd_rollback self._revert_transaction(merged_trans) File "/usr/lib/python3.9/site-packages/dnf/cli/commands/history.py", line 233, in _revert_transaction ti["action"] = action_map[ti["action"]] KeyError: 'Reason Change' Any hints how to fix my system? Version-Release number of selected component (if applicable): dnf-4.7.0-1.fc34.noarch