Bug 1252624 - Dnf update crashed | TypeError: unsupported operand type(s) for -=: 'set' and 'map'
Summary: Dnf update crashed | TypeError: unsupported operand type(s) for -=: 'set' and...
Keywords:
Status: CLOSED DUPLICATE of bug 1252032
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-11 22:31 UTC by technixp
Modified: 2015-08-12 03:21 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 03:21:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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