Bug 1252032 - TypeError: unsupported operand type(s) for -=: 'set' and 'map'
Summary: TypeError: unsupported operand type(s) for -=: 'set' and 'map'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1252031 1252622 1252624 1252731 1252875 1253030 1253044 1253174 1253192 1253388 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-10 14:02 UTC by darrell pfeifer
Modified: 2015-08-19 07:51 UTC (History)
16 users (show)

Fixed In Version: dnf-plugins-core-0.1.10-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-15 02:13:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description darrell pfeifer 2015-08-10 14:02:32 UTC
Description of problem:

# dnf update
Last metadata expiration check performed 0:38:22 ago on Mon Aug 10 06:18:36 2015.
Dependencies resolved.
Traceback (most recent call last):
  File "/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'


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

dnf.noarch                                             1.1.0-1.fc24   


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Fails with no arguments, but works with a specific one, as in

dnf update cups\*

Comment 1 Honza Silhan 2015-08-10 19:38:18 UTC
PR: https://github.com/rpm-software-management/dnf/pull/333

Comment 2 Honza Silhan 2015-08-11 14:42:45 UTC
*** Bug 1252031 has been marked as a duplicate of this bug. ***

Comment 3 Parag Nemade 2015-08-12 03:21:51 UTC
*** Bug 1252624 has been marked as a duplicate of this bug. ***

Comment 4 Parag Nemade 2015-08-12 03:23:19 UTC
*** Bug 1252622 has been marked as a duplicate of this bug. ***

Comment 5 Parag Nemade 2015-08-12 07:44:21 UTC
*** Bug 1252731 has been marked as a duplicate of this bug. ***

Comment 6 Parag Nemade 2015-08-12 12:35:25 UTC
*** Bug 1252875 has been marked as a duplicate of this bug. ***

Comment 7 Michael Schwendt 2015-08-12 12:41:11 UTC
With a better summary, one could have found this ticket -> avoiding duplicates!

Comment 8 Vinson Lee 2015-08-12 23:57:00 UTC
*** Bug 1253030 has been marked as a duplicate of this bug. ***

Comment 9 Parag Nemade 2015-08-13 02:48:29 UTC
*** Bug 1253044 has been marked as a duplicate of this bug. ***

Comment 10 Parag Nemade 2015-08-13 08:03:43 UTC
*** Bug 1253192 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2015-08-13 08:17:05 UTC
dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/FEDORA-2015-13162/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-2.fc22,hawkey-0.6.0-1.fc22

Comment 12 Fedora Update System 2015-08-13 08:17:12 UTC
dnf-plugins-core-0.1.10-1.fc23, hawkey-0.6.0-1.fc23, dnf-1.1.0-2.fc23 has been submitted as an update for Fedora 23.
https://admin.fedoraproject.org/updates/FEDORA-2015-13289/dnf-plugins-core-0.1.10-1.fc23,dnf-1.1.0-2.fc23,hawkey-0.6.0-1.fc23

Comment 13 Honza Silhan 2015-08-13 08:43:25 UTC
*** Bug 1253174 has been marked as a duplicate of this bug. ***

Comment 14 Marius Vollmer 2015-08-13 08:52:22 UTC
Is the fix also coming to Rawhide?

Comment 15 Parag Nemade 2015-08-13 15:43:59 UTC
*** Bug 1253388 has been marked as a duplicate of this bug. ***

Comment 16 Parag Nemade 2015-08-13 15:46:12 UTC
Fix for rawhide is already available on koji and now released in today's rawhide.

Comment 17 Fedora Update System 2015-08-13 16:55:11 UTC
Package dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-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-plugins-core-0.1.10-1.fc22 hawkey-0.6.0-1.fc22 dnf-1.1.0-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-13162/dnf-plugins-core-0.1.10-1.fc22,dnf-1.1.0-2.fc22,hawkey-0.6.0-1.fc22
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2015-08-15 02:13:55 UTC
dnf-plugins-core-0.1.10-1.fc22, hawkey-0.6.0-1.fc22, dnf-1.1.0-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 19 Fedora Update System 2015-08-19 07:51:44 UTC
dnf-plugins-core-0.1.10-1.fc23, hawkey-0.6.0-1.fc23, dnf-1.1.0-2.fc23 has been pushed to the Fedora 23 stable repository.  If problems still persist, please make note of it in this bug report.


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