Hide Forgot
Description of problem: In an attempt to verify bug 1341086, I tried to use upgraded dnf package. However, even simple dnf install fails. Version-Release number of selected component (if applicable): dnf-2.0.0-0.rc2.2.fc26 How reproducible: Deterministic. Steps to Reproduce: 1. docker run --rm -ti fedora:rawhide bash -c 'dnf upgrade -y dnf ; dnf install -y opencryptoki ; echo $?' Actual results: $ docker run --rm -ti fedora:rawhide bash -c 'dnf upgrade -y dnf ; dnf install -y opencryptoki ; echo $?' Fedora - Rawhide - Developmental packages for t 60 MB/s | 51 MB 00:00 Last metadata expiration check: 0:00:24 ago on Mon Dec 05 09:59:30 2016 UTC. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: dnf noarch 2.0.0-0.rc2.2.fc26 rawhide 221 k dnf-conf noarch 2.0.0-0.rc2.2.fc26 rawhide 41 k dnf-yum noarch 2.0.0-0.rc2.2.fc26 rawhide 24 k python3-dnf noarch 2.0.0-0.rc2.2.fc26 rawhide 416 k Installing dependencies: python3 x86_64 3.5.2-6.fc26 rawhide 57 k python3-libs x86_64 3.5.2-6.fc26 rawhide 1.4 M python3-pip noarch 9.0.1-1.fc26 rawhide 1.8 M python3-setuptools noarch 28.8.0-1.fc26 rawhide 559 k Transaction Summary ================================================================================ Install 4 Packages Upgrade 4 Packages Total download size: 4.4 M Downloading Packages: (1/8): python3-3.5.2-6.fc26.x86_64.rpm 450 kB/s | 57 kB 00:00 (2/8): python3-setuptools-28.8.0-1.fc26.noarch. 28 MB/s | 559 kB 00:00 (3/8): dnf-2.0.0-0.rc2.2.fc26.noarch.rpm 25 MB/s | 221 kB 00:00 (4/8): python3-libs-3.5.2-6.fc26.x86_64.rpm 7.8 MB/s | 1.4 MB 00:00 (5/8): python3-dnf-2.0.0-0.rc2.2.fc26.noarch.rp 19 MB/s | 416 kB 00:00 (6/8): dnf-conf-2.0.0-0.rc2.2.fc26.noarch.rpm 7.0 MB/s | 41 kB 00:00 (7/8): dnf-yum-2.0.0-0.rc2.2.fc26.noarch.rpm 10 MB/s | 24 kB 00:00 (8/8): python3-pip-9.0.1-1.fc26.noarch.rpm 9.2 MB/s | 1.8 MB 00:00 -------------------------------------------------------------------------------- Total 2.9 MB/s | 4.4 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Upgrading : dnf-conf-2.0.0-0.rc2.2.fc26.noarch 1/12 Upgrading : python3-dnf-2.0.0-0.rc2.2.fc26.noarch 2/12 Upgrading : dnf-2.0.0-0.rc2.2.fc26.noarch 3/12 Installing : python3-libs-3.5.2-6.fc26.x86_64 4/12 Installing : python3-pip-9.0.1-1.fc26.noarch 5/12 Installing : python3-setuptools-28.8.0-1.fc26.noarch 6/12 Installing : python3-3.5.2-6.fc26.x86_64 7/12 Upgrading : dnf-yum-2.0.0-0.rc2.2.fc26.noarch 8/12 Cleanup : dnf-yum-2.0.0-0.rc1.4.fc26.noarch 9/12 Cleanup : dnf-2.0.0-0.rc1.4.fc26.noarch 10/12 Failed to connect to bus: No such file or directory Cleanup : python3-dnf-2.0.0-0.rc1.4.fc26.noarch 11/12 Cleanup : dnf-conf-2.0.0-0.rc1.4.fc26.noarch 12/12 Failed to connect to bus: No such file or directory Verifying : python3-3.5.2-6.fc26.x86_64 1/12 Verifying : python3-libs-3.5.2-6.fc26.x86_64 2/12 Verifying : python3-pip-9.0.1-1.fc26.noarch 3/12 Verifying : python3-setuptools-28.8.0-1.fc26.noarch 4/12 Verifying : dnf-2.0.0-0.rc2.2.fc26.noarch 5/12 Verifying : python3-dnf-2.0.0-0.rc2.2.fc26.noarch 6/12 Verifying : dnf-conf-2.0.0-0.rc2.2.fc26.noarch 7/12 Verifying : dnf-yum-2.0.0-0.rc2.2.fc26.noarch 8/12 Verifying : dnf-yum-2.0.0-0.rc1.4.fc26.noarch 9/12 Verifying : python3-dnf-2.0.0-0.rc1.4.fc26.noarch 10/12 Verifying : dnf-2.0.0-0.rc1.4.fc26.noarch 11/12 Verifying : dnf-conf-2.0.0-0.rc1.4.fc26.noarch 12/12 Installed: python3.x86_64 3.5.2-6.fc26 python3-libs.x86_64 3.5.2-6.fc26 python3-pip.noarch 9.0.1-1.fc26 python3-setuptools.noarch 28.8.0-1.fc26 Upgraded: dnf.noarch 2.0.0-0.rc2.2.fc26 dnf-conf.noarch 2.0.0-0.rc2.2.fc26 dnf-yum.noarch 2.0.0-0.rc2.2.fc26 python3-dnf.noarch 2.0.0-0.rc2.2.fc26 Complete! Traceback (most recent call last): File "/usr/bin/dnf", line 57, in <module> from dnf.cli import main File "/usr/lib/python3.5/site-packages/dnf/cli/__init__.py", line 30, in <module> from dnf.cli.cli import Cli # :api File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 48, in <module> import dnf.cli.commands.updateinfo File "/usr/lib/python3.5/site-packages/dnf/cli/commands/updateinfo.py", line 43, in <module> class UpdateInfoCommand(commands.Command): File "/usr/lib/python3.5/site-packages/dnf/cli/commands/updateinfo.py", line 50, in UpdateInfoCommand hawkey.ADVISORY_NEWPACKAGE: _('newpackage')} AttributeError: module 'hawkey' has no attribute 'ADVISORY_NEWPACKAGE' 1 Expected results: No traceback, no failure. Additional info:
rpm -q python3-hawkey
python3-hawkey-0.7.0-0.2git8bd77f8.fc26.x86_64
You need to have latest libdnf (it provides python3-hawkey). libdnf-0.7.0-0.3gitf9b798c.fc26.
The please require that explicitly in dependencies.
Then please require that explicitly in dependencies.
we'll bump requirement in fedora distgit.
New versions were released in rawhide that has correct requirements. Soved in: libdnf-0.7.0-1.3gitf9b798c.fc26 and dnf-2.0.0-0.rc2.4.fc26
s/libdnf-0.7.0-1.3gitf9b798c.fc26/libdnf-0.7.0-0.4gitf9b798c.fc26/