Bug 1134572 - dnf group install "Development Tools" fails
Summary: dnf group install "Development Tools" fails
Keywords:
Status: CLOSED DUPLICATE of bug 1130878
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-27 20:03 UTC by Chris Murphy
Modified: 2014-08-28 05:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-28 05:48:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debugdata.tar (4.59 MB, application/octet-stream)
2014-08-27 20:03 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2014-08-27 20:03:24 UTC
Created attachment 931661 [details]
debugdata.tar

Description of problem:
dnf group install "Development Tools" fails with a traceback.

Version-Release number of selected component (if applicable):
dnf-0.6.0-1.fc21.noarch
hawkey-0.5.0-2.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dnf group install "Development Tools"

Actual results:

# dnf group install "Development Tools"
Dependencies resolved.
Traceback (most recent call last):
  File "/usr/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 141, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 160, in resolving
    base.do_transaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 185, in do_transaction
    grp_diff = self._groups_diff()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 145, in _groups_diff
    return self.group_persistor.diff()
  File "/usr/lib/python2.7/site-packages/dnf/persistor.py", line 273, in diff
    return _GroupsDiff(self._original, self.db)
  File "/usr/lib/python2.7/site-packages/dnf/persistor.py", line 170, in __init__
    self.added, self.removed = _diff_dcts(db_old, db_new)
  File "/usr/lib/python2.7/site-packages/dnf/persistor.py", line 60, in _diff_dcts
    keys1 = set(dct1.keys())
AttributeError: 'NoneType' object has no attribute 'keys'

Expected results:

To install that group.

Additional info:

Comment 1 Chris Murphy 2014-08-28 04:22:14 UTC
Actually I get this same error with any group listed below "Available groups". I get a different message when using groups listed below "Available environment groups:"

Meanwhile using the exact same syntax, but with info instead of install, I get a list of packages in the group without a traceback error. So just install is affected.

Comment 2 Chris Murphy 2014-08-28 04:33:34 UTC
yum groupinstall "Development Tools" works, as does other groups.

Comment 3 Ales Kozumplik 2014-08-28 05:48:12 UTC

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


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