Bug 1281576 - [abrt] yum-utils: sqlitesack.py:406:returnPrco:KeyError: 'weak_reverse_requires'
Summary: [abrt] yum-utils: sqlitesack.py:406:returnPrco:KeyError: 'weak_reverse_requires'
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 22
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:9389fedfa3deb27d5801465d7a4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-12 20:28 UTC by fedora-mate-testing
Modified: 2016-07-19 18:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:27:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.00 KB, text/plain)
2015-11-12 20:28 UTC, fedora-mate-testing
no flags Details
File: environ (3.45 KB, text/plain)
2015-11-12 20:28 UTC, fedora-mate-testing
no flags Details

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.


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