Bug 1399233 - [abrt] dnf: repoquery.py:277:run:AttributeError: module 'dnf.sack' has no attribute 'rpmdb_sack': TAINTED
Summary: [abrt] dnf: repoquery.py:277:run:AttributeError: module 'dnf.sack' has no att...
Keywords:
Status: CLOSED DUPLICATE of bug 1398874
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0025ae4ba86a046d302c2141624...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-28 15:26 UTC by Lukas Slebodnik
Modified: 2016-11-28 15:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-28 15:29:28 UTC
Type: ---


Attachments (Terms of Use)
File: _var_log_dnf.log (88.59 KB, text/plain)
2016-11-28 15:26 UTC, Lukas Slebodnik
no flags Details
File: backtrace (980 bytes, text/plain)
2016-11-28 15:26 UTC, Lukas Slebodnik
no flags Details
File: dnf-makecache.log (940.80 KB, text/plain)
2016-11-28 15:26 UTC, Lukas Slebodnik
no flags Details
File: environ (2.14 KB, text/plain)
2016-11-28 15:26 UTC, Lukas Slebodnik
no flags Details

Description Lukas Slebodnik 2016-11-28 15:26:27 UTC
Description of problem:
"dnf repoquery --unsatisfied" caused this failure.

Version-Release number of selected component:
dnf-2.0.0-0.rc1.4.fc26

Additional info:
reporter:       libreport-2.8.0
cmdline:        /usr/libexec/system-python /usr/bin/dnf repoquery --unsatisfied
executable:     /usr/bin/dnf
kernel:         4.8.8-300.fc25.x86_64
pkg_fingerprint: 812A 6B4B 64DA B85D
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
repoquery.py:277:run:AttributeError: module 'dnf.sack' has no attribute 'rpmdb_sack'

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 170, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 111, in _main
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 947, in run
    return self.command.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/repoquery.py", line 277, in run
    rpmdb = dnf.sack.rpmdb_sack(self.base)
AttributeError: module 'dnf.sack' has no attribute 'rpmdb_sack'

Local variables in innermost frame:
q: <dnf.query.Query object at 0x7fa52071dfc0>
self: <dnf.cli.commands.repoquery.RepoQueryCommand object at 0x7fa520814f28>

Comment 1 Lukas Slebodnik 2016-11-28 15:26:34 UTC
Created attachment 1225314 [details]
File: _var_log_dnf.log

Comment 2 Lukas Slebodnik 2016-11-28 15:26:36 UTC
Created attachment 1225315 [details]
File: backtrace

Comment 3 Lukas Slebodnik 2016-11-28 15:26:41 UTC
Created attachment 1225316 [details]
File: dnf-makecache.log

Comment 4 Lukas Slebodnik 2016-11-28 15:26:42 UTC
Created attachment 1225317 [details]
File: environ

Comment 5 Igor Gnatenko 2016-11-28 15:29:28 UTC

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


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