Bug 1630665 - [abrt] yum-cron: string_to_prco_tuple(): misc.py:727:string_to_prco_tuple:MiscError: Invalid version flag: or
Summary: [abrt] yum-cron: string_to_prco_tuple(): misc.py:727:string_to_prco_tuple:Mis...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a43ef36116595b74932be69f2ec...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-19 03:12 UTC by RobbieTheK
Modified: 2018-09-27 12:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-27 12:55:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.15 KB, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: cgroup (309 bytes, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: cpuinfo (1.14 KB, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: environ (196 bytes, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: mountinfo (4.32 KB, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details
File: open_fds (1.91 KB, text/plain)
2018-09-19 03:12 UTC, RobbieTheK
no flags Details

Description RobbieTheK 2018-09-19 03:12:41 UTC
Version-Release number of selected component:
yum-cron-3.4.3-517.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python -tt /usr/sbin/yum-cron
crash_function: string_to_prco_tuple
exception_type: MiscError
executable:     /usr/sbin/yum-cron
interpreter:    python2-2.7.15-2.fc28.x86_64
kernel:         4.17.14-202.fc28.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
misc.py:727:string_to_prco_tuple:MiscError: Invalid version flag: or

Traceback (most recent call last):
  File "/usr/sbin/yum-cron", line 713, in <module>
    main()
  File "/usr/sbin/yum-cron", line 710, in main
    base.updatesCheck()
  File "/usr/sbin/yum-cron", line 616, in updatesCheck
    self.findDeps()
  File "/usr/sbin/yum-cron", line 503, in findDeps
    (res, resmsg) = self.buildTransaction()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1214, in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 911, in resolveDeps
    CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors)
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1027, in _resolveRequires
    thisneeds = self._checkInstall(txmbr)
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1144, in _checkInstall
    _deal_with_req(txmbr, req, False)
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1126, in _deal_with_req
    provs = self.tsInfo.getProvides(*req)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 636, in getProvides
    result = self.getOldProvides(name, flag, version)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 629, in getOldProvides
    for pkg, hits in self.rpmdb.getProvides(name, flag, version).iteritems():
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1494, in getProvides
    pkgs = self.searchProvides(name)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 497, in searchProvides
    ret = self.searchPrco(name, 'provides')
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 467, in searchPrco
    (n,f,(e,v,r)) = misc.string_to_prco_tuple(name)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 727, in string_to_prco_tuple
    raise Errors.MiscError, 'Invalid version flag: %s' % f
MiscError: Invalid version flag: or

Local variables in innermost frame:
e: ValueError("invalid literal for int() with base 10: 'or'",)
f: 'or'
prcoString: '(enchant or enchant2)'
n: '(enchant'
prco_split: ['(enchant', 'or', 'enchant2)']
v: 'enchant2)'

Comment 1 RobbieTheK 2018-09-19 03:12:44 UTC
Created attachment 1484559 [details]
File: backtrace

Comment 2 RobbieTheK 2018-09-19 03:12:45 UTC
Created attachment 1484560 [details]
File: cgroup

Comment 3 RobbieTheK 2018-09-19 03:12:46 UTC
Created attachment 1484561 [details]
File: cpuinfo

Comment 4 RobbieTheK 2018-09-19 03:12:47 UTC
Created attachment 1484562 [details]
File: environ

Comment 5 RobbieTheK 2018-09-19 03:12:48 UTC
Created attachment 1484563 [details]
File: mountinfo

Comment 6 RobbieTheK 2018-09-19 03:12:48 UTC
Created attachment 1484564 [details]
File: namespaces

Comment 7 RobbieTheK 2018-09-19 03:12:49 UTC
Created attachment 1484565 [details]
File: open_fds

Comment 8 Jaroslav Mracek 2018-09-27 12:55:33 UTC
Thanks for the report. Yum is going to be remove from Fedora 30 as Python2 package, therefore please use dnf-automatic instead.


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