Bug 1281576

Summary: [abrt] yum-utils: sqlitesack.py:406:returnPrco:KeyError: 'weak_reverse_requires'
Product: [Fedora] Fedora Reporter: fedora-mate-testing <fedora-mate-testing>
Component: yum-utilsAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: admiller, packaging-team-maint, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c19e717c0a4c468f1c6ab6ea68b2868cfc26fe20
Whiteboard: abrt_hash:9389fedfa3deb27d5801465d7a4e1b84e11a01f5;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:27:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description fedora-mate-testing 2015-11-12 20:28:47 UTC
Description of problem:
$ repoquery --weak-reverse-requires opus

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


Traceback (most recent call last):
  File "/usr/bin/repoquery", line 1677, in <module>
    main(sys.argv)
  File "/usr/bin/repoquery", line 1669, in main
    repoq.runQuery(regexs)
  File "/usr/bin/repoquery", line 1078, in runQuery
    dot = self.options.dot)
  File "/usr/bin/repoquery", line 236, in doQuery
    return getattr(self, "fmt_%s" % method)(*args, **kw)
  File "/usr/bin/repoquery", line 324, in fmt_weak_reverse_requires
    return "\n".join(self.prco('weak_reverse_requires'))
  File "/usr/bin/repoquery", line 698, in prco
    for rptup in self.pkg.returnPrco(what):
  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 406, in returnPrco
    if sql_table_exists and isinstance(self.prco[prcotype], tuple):
KeyError: 'weak_reverse_requires'

Version-Release number of selected component:
yum-utils-1.1.31-508.fc22

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python -tt /usr/bin/repoquery --weak-reverse-requires opus
dso_list:       yum-3.4.3-505.fc22.noarch
executable:     /usr/bin/repoquery
kernel:         4.2.5-201.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
sqlitesack.py:406:returnPrco:KeyError: 'weak_reverse_requires'

Traceback (most recent call last):
  File "/usr/bin/repoquery", line 1677, in <module>
    main(sys.argv)
  File "/usr/bin/repoquery", line 1669, in main
    repoq.runQuery(regexs)
  File "/usr/bin/repoquery", line 1078, in runQuery
    dot = self.options.dot)
  File "/usr/bin/repoquery", line 236, in doQuery
    return getattr(self, "fmt_%s" % method)(*args, **kw)
  File "/usr/bin/repoquery", line 324, in fmt_weak_reverse_requires
    return "\n".join(self.prco('weak_reverse_requires'))
  File "/usr/bin/repoquery", line 698, in prco
    for rptup in self.pkg.returnPrco(what):
  File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 406, in returnPrco
    if sql_table_exists and isinstance(self.prco[prcotype], tuple):
KeyError: 'weak_reverse_requires'

Local variables in innermost frame:
printable: False
prcotype: 'weak_reverse_requires'
self: <YumAvailablePackageSqlite : opus-1.1.1-0.4.rc.fc22.i686 (0x7f4baa1396d0)>
sql_table_exists: True

Comment 1 fedora-mate-testing 2015-11-12 20:28:51 UTC
Created attachment 1093446 [details]
File: backtrace

Comment 2 fedora-mate-testing 2015-11-12 20:28:53 UTC
Created attachment 1093447 [details]
File: environ

Comment 3 Fedora End Of Life 2016-07-19 18:27:57 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.