Version-Release number of selected component: dnf-0.2.11-1.git9da1268.fc18 Additional info: libreport version: 2.0.13 abrt_version: 2.0.12 cmdline: /usr/bin/python /usr/bin/dnf --version kernel: 3.3.4-5.fc17.x86_64 backtrace: :cli.py:317:getOptionsConfig:AttributeError: 'YumBaseCli' object has no attribute 'rpmdb' : :Traceback (most recent call last): : File "/usr/bin/dnf", line 35, in <module> : yummain.user_main(sys.argv[1:], exit_code=True) : File "/usr/lib/python2.7/site-packages/dnf/cli/yummain.py", line 316, in user_main : errcode = main(args) : File "/usr/lib/python2.7/site-packages/dnf/cli/yummain.py", line 98, in main : base.getOptionsConfig(args) : File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 317, in getOptionsConfig : for pkg in sorted(self.rpmdb.returnPackages(patterns=yum_progs)): :AttributeError: 'YumBaseCli' object has no attribute 'rpmdb' : :Local variables in innermost frame: :bad_setopt_ne: [] :bad_setopt_tm: [] :pc: <dnf.yum._YumPreBaseConf instance at 0x7fc28aacfe60> :root: '/' :self: <dnf.cli.cli.YumBaseCli object at 0x7fc28aacc350> :args: ['--version'] :sm_ui_date: <function sm_ui_date at 0x7fc28aad6578> :sm_ui_time: <function sm_ui_time at 0x7fc28aad6500> :done: False :yum_progs: set(['dnf', 'rpm']) :opts: <Values at 0x7fc28aadab90: {'skipbroken': None, 'verbose': False, 'errorlevel': None, 'color': None, 'repos': [], 'assumeno': None, 'conffile': '/etc/dnf/dnf.conf', 'exclude': [], 'enableplugins': [], 'cacheonly': None, 'rpmverbosity': None, 'disableplugins': [], 'sleeptime': None, 'version': True, 'releasever': None, 'obsoletes': None, 'debuglevel': 0, 'disableexcludes': [], 'showdupesfromrepos': None, 'assumeyes': None, 'installroot': None, 'quiet': True, 'nogpgcheck': None, 'setopts': [], 'noplugins': None}>
Created attachment 613407 [details] File: core_backtrace
Thanks for the report, looking into for a fix now.
Fixed by commit 9f96d91.
dnf-0.2.12-2.git832ecd1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dnf-0.2.12-2.git832ecd1.fc18
Package dnf-0.2.12-2.git832ecd1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.2.12-2.git832ecd1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14685/dnf-0.2.12-2.git832ecd1.fc18 then log in and leave karma (feedback).
dnf-0.2.12-2.git832ecd1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.