Bug 1218345 - [abrt] python-dnf: subprocess.py:573:check_output:CalledProcessError: Command '[u'/usr/bin/yum-deprecated', u'group', u'list', u'installed']' returned non-zero exit status 1
Summary: [abrt] python-dnf: subprocess.py:573:check_output:CalledProcessError: Command...
Keywords:
Status: CLOSED DUPLICATE of bug 1214807
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Honza Silhan
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bd3a365287c0d7adaa1eb0f70d7...
: 1242133 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-04 16:36 UTC by Christian Stadelmann
Modified: 2015-07-13 10:44 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-18 11:58:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.59 KB, text/plain)
2015-05-04 16:36 UTC, Christian Stadelmann
no flags Details
File: dso_list (85 bytes, text/plain)
2015-05-04 16:36 UTC, Christian Stadelmann
no flags Details
File: environ (2.30 KB, text/plain)
2015-05-04 16:36 UTC, Christian Stadelmann
no flags Details
stdout and stderr of yum-deprecated (296 bytes, application/x-xz)
2015-05-05 21:18 UTC, Christian Stadelmann
no flags Details

Description Christian Stadelmann 2015-05-04 16:36:21 UTC
Description of problem:
I ran `# dnf migrate groups` and it failed with a backtrace.

Version-Release number of selected component:
python-dnf-1.0.0-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python -OO /bin/dnf-2 migrate
executable:     /bin/dnf-2
kernel:         4.0.0-1.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
subprocess.py:573:check_output:CalledProcessError: Command '[u'/usr/bin/yum-deprecated', u'group', u'list', u'installed']' returned non-zero exit status 1

Traceback (most recent call last):
  File "/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 244, in migrate_groups
    installed = self.get_yum_installed_groups(yum_exec)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 252, in get_yum_installed_groups
    "installed"]))
  File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '[u'/usr/bin/yum-deprecated', u'group', u'list', u'installed']' returned non-zero exit status 1

Local variables in innermost frame:
retcode: 1
process: <subprocess.Popen object at 0x7f35bc624e50>
cmd: [u'/usr/bin/yum-deprecated', u'group', u'list', u'installed']
unused_err: None
kwargs: {}
output: ''
popenargs: ([u'/usr/bin/yum-deprecated', u'group', u'list', u'installed'],)

Comment 1 Christian Stadelmann 2015-05-04 16:36:24 UTC
Created attachment 1021794 [details]
File: backtrace

Comment 2 Christian Stadelmann 2015-05-04 16:36:26 UTC
Created attachment 1021795 [details]
File: dso_list

Comment 3 Christian Stadelmann 2015-05-04 16:36:27 UTC
Created attachment 1021796 [details]
File: environ

Comment 4 Honza Silhan 2015-05-05 13:00:49 UTC
Thanks for the report. Can you post the output of `/usr/bin/yum-deprecated group list installed', please?

Comment 5 Christian Stadelmann 2015-05-05 21:18:50 UTC
Created attachment 1022321 [details]
stdout and stderr of yum-deprecated

I can not reproduce the crasher. But I still see an error message when running `# dnf migrate groups`:

Error: Malformed yum output

When running `/usr/bin/yum-deprecated group list installed` I get this on stderr:
===
Yum command has been deprecated, use dnf instead.
See 'man dnf' and 'man yum2dnf' for more information.

===

and on stdout:
=====
Installed groups:
   LibreOffice
Fertig
=====

For exact output see attached file. I created them by running `yum-deprecated group list installed >stdout.log 2>stderr.log` as root.

Comment 6 Christian Stadelmann 2015-05-07 21:08:14 UTC
I think the original bug is a duplicate of #1214526 fixed in dnf-plugins-extras 0.0.7.

The second part for getting the "Error: Malformed yum output" is a duplicate of #1214807.

Can this be closed?

Comment 7 Honza Silhan 2015-05-18 11:58:43 UTC
Right. Bug 1214807 is fixed in the upstream but new version of dnf-plugins-extras has not been released yet.

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

Comment 8 Honza Silhan 2015-07-13 10:44:35 UTC
*** Bug 1242133 has been marked as a duplicate of this bug. ***


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