Bug 1399233

Summary: [abrt] dnf: repoquery.py:277:run:AttributeError: module 'dnf.sack' has no attribute 'rpmdb_sack': TAINTED
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/65c6c5b9eb88e101d59cd5e211fbd2ae2ddb029d
Whiteboard: abrt_hash:0025ae4ba86a046d302c2141624e534fab41979b;VARIANT_ID=server;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-28 15:29:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: _var_log_dnf.log
none
File: backtrace
none
File: dnf-makecache.log
none
File: environ none

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 ***