Bug 1225285 - dnf-2 migrate tracebacks
Summary: dnf-2 migrate tracebacks
Keywords:
Status: CLOSED DUPLICATE of bug 1222694
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-extras
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 03:07 UTC by Bill Nottingham
Modified: 2015-06-16 09:39 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-16 09:11:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2015-05-27 03:07:39 UTC
Description of problem:

Once I did 'yum-deprecated makecache' to get past bug 1225282:

3278 YUMDB records found, 0 migrated, 3278 skipped/preserved
Migrating groups data...
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

Traceback (most recent call last):
  File "/usr/bin/dnf-2", 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 185, 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 134, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1077, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 126, in run
    self.migrate_groups()
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 250, in migrate_groups
    group_cmd._mark_install(installed)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/group.py", line 236, in _mark_install
    res.environments, types)
  File "/usr/lib/python2.7/site-packages/dnf/comps.py", line 86, in install_or_skip
    count += install_fnc(grp, types, None)
TypeError: unsupported operand type(s) for +=: 'int' and 'TransactionBunch'

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

python-dnf-plugins-extras-migrate-0.0.8-1.fc22.noarch

How reproducible:

100%

Steps to Reproduce:
1. dnf-2 migrate

Actual results:

See above.

Expected results:

Success

Comment 1 Duco van Amstel 2015-05-29 07:01:26 UTC
I have exactly the same traceback given to me by 'dnf-2 migrate'. On the other hand I had no other errors before that. It occurred at my first run of 'dnf-2 migrate' and is 100% reproducible since.

Only difference is my Version-Release number : 0.0.7-1.fc22.noarch (and my system does not seem to detect any available updates in the repos even after forced cache update).

Comment 2 Honza Silhan 2015-06-16 09:11:06 UTC

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


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