Bug 7638 - yum does not work
: yum does not work
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: -Enter Bugs Here-
: unspecified
: All Linux
: Normal normal
: ---
Assigned To: Desktop Triage Team
: Desktop Triage Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-07 14:33 MSK by neobht
Modified: 2017-01-29 11:43 MSK (History)
1 user (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description neobht 2017-01-07 14:33:08 MSK
Description of problem:
yum does not work

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


How reproducible:


Steps to Reproduce:
1. urpmi yum
2. yum

yum need rpm python module, but it does not support rpm5 version:

bash-4.4# yum
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 262, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 88, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 863, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 295, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.7/site-packages/yum/config.py", line 872, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.7/site-packages/yum/config.py", line 1002, in _getsysver
    ts = rpmUtils.transaction.initReadOnlyTransaction(root=installroot)
  File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 180, in initReadOnlyTransaction
    read_ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
AttributeError: 'module' object has no attribute '_RPMVSF_NOSIGNATURES'
Comment 1 Denis Silakov 2017-01-29 11:43:24 MSK
Fixed.