Bug 1657123 - Cannot undo a group install or remove
Summary: Cannot undo a group install or remove
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 31
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Daniel Mach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1654129
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-07 07:20 UTC by Matt D.
Modified: 2020-02-14 07:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Matt D. 2018-12-07 07:20:26 UTC
I accidentally allowed a "dnf group remove mate-desktop", unaware that it would also remove a number of dependencies.

I tried to roll back the transaction with a "dnf history undo last" but it fails on an error where it thinks that the group name is a package:

# dnf history undo last
Last metadata expiration check: 2:00:42 ago on Fri 07 Dec 2018 12:17:28 AM EST.
Undoing transaction 11, from Fri 07 Dec 2018 02:12:45 AM EST
...
No package @mate-desktop available.
Error: no package matched

It is assumed that it is otherwise impossible to do dnf history transactions on groups.

Comment 1 lyfbuaa 2019-05-03 14:43:38 UTC
fedora 30 still

Comment 2 Ben Cotton 2019-08-13 16:48:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.


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