Bug 1136584
Summary: | [abrt] dnf: rpmsack.py:255:_read:AttributeError: <dnf.yum.rpmsack.RPMDBAdditionalDataPackage object at 0x7f10fed01b50> has no attribute reason | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> | ||||||||
Component: | dnf | Assignee: | Honza Silhan <jsilhan> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 21 | CC: | bugzilla, ignatenko, jsilhan, juan77.sonic, jzeleny, pnemade, RIKINET71, tim.lauridsen | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Unspecified | ||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/9c1b75090c9f10939894a620a2c2234d6f2e3c55 | ||||||||||
Whiteboard: | abrt_hash:18a17d1c037331d1a036b2b631f23fb548c2fbc2 | ||||||||||
Fixed In Version: | dnf-0.6.2 dnf-0.6.4-7.fc21 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-10-13 06:53:00 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
Chris Murphy
2014-09-02 23:50:55 UTC
Created attachment 933916 [details]
File: backtrace
Created attachment 933917 [details]
File: environ
Hi, thanks for the report. I cannot reproduce it, can you? Did it crash at the beginning of transaction (no package installed)? Was it your first command execution in newly installed/upgraded dnf? Upload your '/var/lib/dnf/yumdb' dir, please. Created attachment 934649 [details]
yumdb.tar
And yes it always happens for me right now with a relatively new Fedora 21 installation from Fedora-Live-Workstation-x86_64-21-Alpha-TC5.iso I just reran the command, post upload of yumdb and I get this: Traceback (most recent call last): File "/usr/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 145, in _main cli.command.run_transaction() File "/usr/lib/python2.7/site-packages/dnf/cli/commands/group.py", line 460, in run_transaction db_pkg.reason = goal.group_reason(pkg, db_pkg.reason) File "/usr/lib/python2.7/site-packages/dnf/yum/rpmsack.py", line 291, in __getattr__ return self._read(attr) File "/usr/lib/python2.7/site-packages/dnf/yum/rpmsack.py", line 255, in _read raise AttributeError("%s has no attribute %s" % (self, attr)) AttributeError: <dnf.yum.rpmsack.RPMDBAdditionalDataPackage object at 0x7ff44a17fb50> has no attribute reason *** Bug 1138376 has been marked as a duplicate of this bug. *** (In reply to Jan Silhan from comment #3) Sorry, didn't answer all of these. It crashes at the end, right after "Complete!" appears. And it's not the first execution of dnf or yum for this installation. Thanks for additional info. Fixed in the upstream. The problem was that some mandatory packages from group were already installed on the system outside DNF with no record in yumdb. These packages are marked as group install now. dnf-0.6.2-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dnf-0.6.2-1.fc21 Package dnf-0.6.2-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.6.2-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12254/dnf-0.6.2-1.fc21 then log in and leave karma (feedback). *** Bug 1171304 has been marked as a duplicate of this bug. *** wasn't properly closed by Fedora Update System. dnf-0.6.4-6.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update dnf'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14323 dnf-0.6.4-7.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update dnf' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-9bcdcdc46b dnf-0.6.4-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |