Red Hat Bugzilla – Bug 1013764
DNF group remove doesn't work
Last modified: 2014-09-30 19:41:43 EDT
Description of problem:
dnf can't be used to remove installed groups.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Try to remove some installed group with DNF
Fails with this backtrace:
Traceback (most recent call last):
File "/bin/dnf", line 35, in <module>
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 272, in user_main
errcode = main(args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 133, in _main
result, resultmsgs = cli.run()
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1290, in run
return self.command.doCommand(self.base.basecmd, self.base.extcmds)
File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 885, in doCommand
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 920, in removeGroups
txmbrs = self.groupRemove(group_string)
File "/usr/lib/python2.7/site-packages/dnf/yum/base.py", line 1583, in groupRemove
txmbrs = self.remove(name=pkg, silence_warnings=True)
TypeError: remove() got an unexpected keyword argument 'name'
Successful resolve of dependencies and group remove.
Hi, thanks for the report. We haven't worked on the group support much yet so this is unfortunately normal and I can reproduce this.
We'll take a look.
Fixed by 6e4be2b, will be included in dnf-0.4.3
dnf-0.4.3-1.gitc1716d7.fc20 has been submitted as an update for Fedora 20.
dnf-0.4.3-2.fc20 has been submitted as an update for Fedora 20.
dnf-0.4.3-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.