Bug 1252624

Summary: Dnf update crashed | TypeError: unsupported operand type(s) for -=: 'set' and 'map'
Product: [Fedora] Fedora Reporter: technixp
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, mluscon, packaging-team-maint, pnemade, rholy, technixp, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 03:21:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description technixp 2015-08-11 22:31:14 UTC
Description of problem:
dnf update crashes with 
TypeError: unsupported operand type(s) for -=: 'set' and 'map'

Version-Release number of selected component (if applicable):
# dnf --version
1.1.0
  Installed: dnf-0:1.1.0-1.fc22.noarch at 2015-08-11 11:02
  Built    : Fedora Project at 2015-08-10 09:54

  Installed: dnf-0:1.1.0-1.fc24.noarch at 2015-08-11 21:25
  Built    : Fedora Project at 2015-08-10 09:42

  Installed: rpm-0:4.12.0.1-12.fc22.x86_64 at 2015-07-02 23:35
  Built    : Fedora Project at 2015-06-29 10:36

  Installed: rpm-0:4.12.90-7.fc24.x86_64 at 2015-08-11 21:24
  Built    : Fedora Project at 2015-08-10 13:06


How reproducible:


Steps to Reproduce:
1. use fedora 22
2. run command: dnf update --enablerepo=rawhide
3. dnf stopped responding on cleanup @ 4739/5998

Actual results:
# dnf update
Last metadata expiration check performed 0:02:10 ago on Wed Aug 12 01:20:42 2015.
Dependencies resolved.
Traceback (most recent call last):
  File "/usr/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 193, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 146, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 168, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 165, in do_transaction
    pkg_str = self.output.list_transaction(trans)
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 1024, in list_transaction
    for pkg in self._skipped_broken_deps(skipped_conflicts):
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 947, in _skipped_broken_deps
    goal_diff -= skipped_conflicts
TypeError: unsupported operand type(s) for -=: 'set' and 'map'


Expected results:
$dnf update
should be working correctly

Additional info:

Comment 1 Parag Nemade 2015-08-12 03:21:51 UTC

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