Bug 2043038 - [abrt] dnf: _revert_transaction(): history.py:233:_revert_transaction:KeyError: 'Reason Change'
Summary: [abrt] dnf: _revert_transaction(): history.py:233:_revert_transaction:KeyErro...
Keywords:
Status: CLOSED DUPLICATE of bug 2010259
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f478f4211d9e2ac868426f469f1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-20 14:18 UTC by Yann Droneaud
Modified: 2022-01-24 12:51 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-24 12:51:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (834.04 KB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: backtrace (40.97 KB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: cpuinfo (2.91 KB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: dnf-makecache.log (5.32 MB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: environ (1.81 KB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: mountinfo (2.89 KB, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: namespaces (172 bytes, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details
File: open_fds (613 bytes, text/plain)
2022-01-20 14:18 UTC, Yann Droneaud
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2010259 1 unspecified CLOSED [abrt] dnf: _revert_transaction(): history.py:233:_revert_transaction:KeyError: 'Reason Change' 2022-11-15 18:33:00 UTC

Description Yann Droneaud 2022-01-20 14:18:04 UTC
Description of problem:
Tried to rollback the most recent transaction: it failed with a python trace

Version-Release number of selected component:
dnf-4.10.0-1.fc36

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/python3 /usr/bin/dnf history undo 341
crash_function: _revert_transaction
exception_type: KeyError
executable:     /usr/bin/dnf
interpreter:    python3-3.10.1-3.fc36.x86_64
kernel:         5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
#1 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:233] _revert_transaction
#2 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:190] _hcmd_undo
#3 [/usr/lib/python3.10/site-packages/dnf/cli/commands/history.py:342] run
#4 [/usr/lib/python3.10/site-packages/dnf/cli/cli.py:1055] run
#5 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:122] cli_run
#6 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:106] _main
#7 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:67] main
#8 [/usr/lib/python3.10/site-packages/dnf/cli/main.py:201] user_main
#9 [/usr/bin/dnf:58] <module>

Potential duplicate: bug 1966550

Comment 1 Yann Droneaud 2022-01-20 14:18:09 UTC
Created attachment 1852170 [details]
File: _var_log_dnf.log

Comment 2 Yann Droneaud 2022-01-20 14:18:10 UTC
Created attachment 1852171 [details]
File: backtrace

Comment 3 Yann Droneaud 2022-01-20 14:18:11 UTC
Created attachment 1852172 [details]
File: cpuinfo

Comment 4 Yann Droneaud 2022-01-20 14:18:15 UTC
Created attachment 1852173 [details]
File: dnf-makecache.log

Comment 5 Yann Droneaud 2022-01-20 14:18:17 UTC
Created attachment 1852174 [details]
File: environ

Comment 6 Yann Droneaud 2022-01-20 14:18:18 UTC
Created attachment 1852175 [details]
File: mountinfo

Comment 7 Yann Droneaud 2022-01-20 14:18:19 UTC
Created attachment 1852176 [details]
File: namespaces

Comment 8 Yann Droneaud 2022-01-20 14:18:21 UTC
Created attachment 1852177 [details]
File: open_fds

Comment 9 Yann Droneaud 2022-01-20 14:24:12 UTC
Duplicate of bug #2010259

Comment 10 Nicola Sella 2022-01-24 12:51:48 UTC

*** This bug has been marked as a duplicate of bug 2010259 ***


Note You need to log in before you can comment on or make changes to this bug.