Bug 1214968 - dnf reports installed group does not exist
Summary: dnf reports installed group does not exist
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Luscon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-24 01:08 UTC by David Green
Modified: 2015-06-22 19:48 UTC (History)
18 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2015-06-21 00:16:11 UTC


Attachments (Terms of Use)

Description David Green 2015-04-24 01:08:55 UTC
Description of problem:
Attempting to remove installed package group dnf reports group does not exist when grouplist shows group name

Version-Release number of selected component (if applicable):
0.6.5-2

How reproducible:


Steps to Reproduce:
1. dnf grouplist -v to list installed groups
2.  select a package group to remove
3.  dnf groupremove <selected group name>

Actual results:
dnf gives warning that specified group does not exist

Expected results:
dnf should remove the package group

Additional info:
Seems to be the same as this bug opened against dnf in Fedora21:
https://bugzilla.redhat.com/show_bug.cgi?id=1199648

Comment 1 David Green 2015-04-24 01:11:33 UTC
for example:

dnf grouplist -v
   Installed environment groups:
   KDE Plasma Workspaces (kde-desktop-environment)

dnf groupremove "KDE Plasma Workspaces"
     Warning: Group 'KDE Plasma Workspaces' does not exist.

Comment 2 Dan Mossor [danofsatx] 2015-04-24 01:16:18 UTC
Confirmed on F22 Beta:

[root@g55 ~]# dnf group install LibreOffice
Using metadata from Tue Apr 21 23:19:04 2015 (1 day, 20:48:50 hours old)
Dependencies resolved.
===================================================================================
 Group                     Packages
===================================================================================
Marking installed:
 LibreOffice               libreoffice-impress            libreoffice-pyuno
                           libreoffice-base               libreoffice-calc
                           libreoffice-emailmerge         libreoffice-graphicfilter
                           libreoffice-draw               libreoffice-writer
                           libreoffice-math         
Is this ok [y/N]: y
Complete!
[root@g55 ~]# dnf group remove LibreOffice
Warning: Group 'LibreOffice' does not exist.
Dependencies resolved.
Is this ok [y/N]:

Comment 3 Dan Mossor [danofsatx] 2015-04-24 01:18:23 UTC
Also exists in the Python3 dnf packages:

[root@g55 ~]# dnf-3 group remove LibreOffice
Warning: Group 'LibreOffice' does not exist.
Dependencies resolved.
Is this ok [y/N]: n
Operation aborted.
[root@g55 ~]# dnf-3 remove @libreoffice
Warning: Group 'libreoffice' does not exist.
Error: No packages marked for removal.
[root@g55 ~]# dnf remove @libreoffice
Warning: Group 'libreoffice' does not exist.
Error: No packages marked for removal.

Comment 4 Michal Luscon 2015-04-24 07:25:38 UTC
Thanks for the report. I will take a look.

Comment 5 Robin Lee 2015-05-28 05:58:14 UTC
Also met this issue with dnf-1.0.0-1.fc22.noarch

Comment 6 Lalatendu Mohanty 2015-05-28 13:58:34 UTC
I am too seeing this issue. Are we planning to fix it soon?

Comment 7 Anoop C S 2015-05-28 14:02:50 UTC
Same here for me..

Comment 8 Steven Kelbley 2015-05-28 19:20:45 UTC
Also have this issue with dnf-1.0.0-1.fc22

Comment 9 David Green 2015-05-28 19:53:03 UTC
Confirming the bug still exists in dnf-1.0.0-1.fc22, using same steps when reporting the original bug

Comment 10 Anoop C S 2015-05-29 05:24:15 UTC
Somehow I managed to remove kde-desktop group by retrieving the transaction ID (from dnf history list) and did a dnf history undo for that ID. I hope this will work for others too (as a workaround).

Comment 11 Zach Villers 2015-06-08 02:26:11 UTC
This fix does not work for me. Discussed in #fedora, add convo to pastebin; http://pastebin.com/bCGK8RDd

Comment 12 Skip Wyatt 2015-06-11 16:44:20 UTC
I am having the same issue with dnf-1.0.0-1.fc22 

I cannot remove the Xfce Desktop group.

Comment 13 Fedora Update System 2015-06-12 09:05:31 UTC
dnf-1.0.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnf-1.0.1-2.fc22

Comment 14 Fedora Update System 2015-06-14 17:33:29 UTC
Package dnf-1.0.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-1.0.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10004/dnf-1.0.1-2.fc22
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2015-06-21 00:16:11 UTC
dnf-1.0.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 David Green 2015-06-22 19:48:51 UTC
I did an update today and picked up the new version.  I verified that the bug is fixed.


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