Skip to content

Instantly share code, notes, and snippets.

@abadger
Created Apr 6, 2017
Embed
What would you like to do?
FROM fedora:24
RUN dnf clean all && dnf -y install python2-dnf && dnf clean all
# This also shows the problem:
# RUN dnf -y upgrade hawkey && dnf clean all
$ docker build . (14:11:51)
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM fedora:24
Trying to pull repository docker.io/library/fedora ...
sha256:7ffee69dbfaea363cba55db07942a5c0d29f291eaf510edd6c07f139001f4174: Pulling from docker.io/library/fedora
2bf01635e2a0: Pull complete
Digest: sha256:7ffee69dbfaea363cba55db07942a5c0d29f291eaf510edd6c07f139001f4174
Status: Downloaded newer image for docker.io/fedora:24
---> f623aaef07f0
Step 2 : RUN dnf clean all && dnf -y install python2-dnf && dnf clean all
---> Running in 8eb848683e18
0 files removed
Last metadata expiration check: 0:02:02 ago on Thu Apr 6 21:22:20 2017.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
pyliblzma x86_64 0.5.3-15.fc24 fedora 53 k
python x86_64 2.7.13-1.fc24 updates 96 k
python-libs x86_64 2.7.13-1.fc24 updates 5.8 M
python-pip noarch 8.0.2-1.fc24 fedora 1.7 M
python-six noarch 1.10.0-2.fc24 fedora 34 k
python2-dnf noarch 1.1.10-4.fc24 updates 443 k
python2-hawkey x86_64 0.6.4-2.fc24 updates 46 k
python2-iniparse noarch 0.4-19.fc24 fedora 45 k
python2-libcomps x86_64 0.1.7-4.fc24 fedora 47 k
python2-librepo x86_64 1.7.18-2.fc24 fedora 56 k
python2-pygpgme x86_64 0.3-18.fc24 updates 90 k
python2-setuptools noarch 20.1.1-1.fc24 fedora 417 k
rpm-python x86_64 4.13.0-0.rc1.27.fc24 fedora 102 k
system-python x86_64 3.5.1-7.fc24 fedora 49 k
Upgrading:
dnf noarch 1.1.10-4.fc24 updates 275 k
dnf-conf noarch 1.1.10-4.fc24 updates 95 k
dnf-yum noarch 1.1.10-4.fc24 updates 79 k
hawkey x86_64 0.6.4-2.fc24 updates 64 k
python3-dnf noarch 1.1.10-4.fc24 updates 451 k
python3-hawkey x86_64 0.6.4-2.fc24 updates 46 k
Transaction Summary
================================================================================
Install 14 Packages
Upgrade 6 Packages
Total download size: 9.9 M
Downloading Packages:
/usr/share/locale/bg/LC_MESSAGES/dnf.mo: No such file or directory
cannot reconstruct rpm from disk files
dnf-1.1.10-4.fc24.noarch: Delta RPM rebuild failed
--------------------------------------------------------------------------------
Total 189 kB/s | 9.7 MB 00:52
Delta RPMs reduced 9.9 MB of updates to 9.7 MB (2.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : python-libs-2.7.13-1.fc24.x86_64 1/26
Installing : python-pip-8.0.2-1.fc24.noarch 2/26
Installing : python2-setuptools-20.1.1-1.fc24.noarch 3/26
Installing : python-2.7.13-1.fc24.x86_64 4/26
Upgrading : hawkey-0.6.4-2.fc24.x86_64 5/26
Upgrading : dnf-conf-1.1.10-4.fc24.noarch 6/26
Installing : python2-hawkey-0.6.4-2.fc24.x86_64 7/26
Installing : python2-pygpgme-0.3-18.fc24.x86_64 8/26
Installing : pyliblzma-0.5.3-15.fc24.x86_64 9/26
Installing : python2-libcomps-0.1.7-4.fc24.x86_64 10/26
Installing : python2-librepo-1.7.18-2.fc24.x86_64 11/26
Installing : python-six-1.10.0-2.fc24.noarch 12/26
Installing : python2-iniparse-0.4-19.fc24.noarch 13/26
Installing : rpm-python-4.13.0-0.rc1.27.fc24.x86_64 14/26
Installing : system-python-3.5.1-7.fc24.x86_64 15/26
Upgrading : python3-hawkey-0.6.4-2.fc24.x86_64 16/26
Upgrading : python3-dnf-1.1.10-4.fc24.noarch 17/26
Upgrading : dnf-1.1.10-4.fc24.noarch 18/26
Upgrading : dnf-yum-1.1.10-4.fc24.noarch 19/26
Installing : python2-dnf-1.1.10-4.fc24.noarch 20/26
Cleanup : dnf-yum-1.1.9-2.fc24.noarch 21/26
Cleanup : dnf-1.1.9-2.fc24.noarch 22/26Failed to connect to bus: No such file or directory
Cleanup : python3-dnf-1.1.9-2.fc24.noarch 23/26
Cleanup : python3-hawkey-0.6.3-2.fc24.x86_64 24/26
Cleanup : dnf-conf-1.1.9-2.fc24.noarch 25/26
Cleanup : hawkey-0.6.3-2.fc24.x86_64 26/26Failed to connect to bus: No such file or directory
Verifying : python2-dnf-1.1.10-4.fc24.noarch 1/26
Verifying : python2-hawkey-0.6.4-2.fc24.x86_64 2/26
Verifying : python2-pygpgme-0.3-18.fc24.x86_64 3/26
Verifying : pyliblzma-0.5.3-15.fc24.x86_64 4/26
Verifying : python2-iniparse-0.4-19.fc24.noarch 5/26
Verifying : python2-libcomps-0.1.7-4.fc24.x86_64 6/26
Verifying : python2-librepo-1.7.18-2.fc24.x86_64 7/26
Verifying : python-six-1.10.0-2.fc24.noarch 8/26
Verifying : rpm-python-4.13.0-0.rc1.27.fc24.x86_64 9/26
Verifying : system-python-3.5.1-7.fc24.x86_64 10/26
Verifying : python-2.7.13-1.fc24.x86_64 11/26
Verifying : python-libs-2.7.13-1.fc24.x86_64 12/26
Verifying : python-pip-8.0.2-1.fc24.noarch 13/26
Verifying : python2-setuptools-20.1.1-1.fc24.noarch 14/26
Verifying : dnf-conf-1.1.10-4.fc24.noarch 15/26
Verifying : hawkey-0.6.4-2.fc24.x86_64 16/26
Verifying : python3-dnf-1.1.10-4.fc24.noarch 17/26
Verifying : dnf-1.1.10-4.fc24.noarch 18/26
Verifying : python3-hawkey-0.6.4-2.fc24.x86_64 19/26
Verifying : dnf-yum-1.1.10-4.fc24.noarch 20/26
Verifying : hawkey-0.6.3-2.fc24.x86_64 21/26
Verifying : python3-hawkey-0.6.3-2.fc24.x86_64 22/26
Verifying : python3-dnf-1.1.9-2.fc24.noarch 23/26
Verifying : dnf-1.1.9-2.fc24.noarch 24/26
Verifying : dnf-conf-1.1.9-2.fc24.noarch 25/26
Verifying : dnf-yum-1.1.9-2.fc24.noarch 26/26
Installed:
pyliblzma.x86_64 0.5.3-15.fc24
python.x86_64 2.7.13-1.fc24
python-libs.x86_64 2.7.13-1.fc24
python-pip.noarch 8.0.2-1.fc24
python-six.noarch 1.10.0-2.fc24
python2-dnf.noarch 1.1.10-4.fc24
python2-hawkey.x86_64 0.6.4-2.fc24
python2-iniparse.noarch 0.4-19.fc24
python2-libcomps.x86_64 0.1.7-4.fc24
python2-librepo.x86_64 1.7.18-2.fc24
python2-pygpgme.x86_64 0.3-18.fc24
python2-setuptools.noarch 20.1.1-1.fc24
rpm-python.x86_64 4.13.0-0.rc1.27.fc24
system-python.x86_64 3.5.1-7.fc24
Upgraded:
dnf.noarch 1.1.10-4.fc24 dnf-conf.noarch 1.1.10-4.fc24
dnf-yum.noarch 1.1.10-4.fc24 hawkey.x86_64 0.6.4-2.fc24
python3-dnf.noarch 1.1.10-4.fc24 python3-hawkey.x86_64 0.6.4-2.fc24
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/__init__.py", line 31, in <module>
import dnf.base
File "/usr/lib/python3.5/site-packages/dnf/base.py", line 30, in <module>
from dnf.yum import history
File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 22, in <module>
import hawkey
File "/usr/lib64/python3.5/site-packages/hawkey/__init__.py", line 24, in <module>
from . import _hawkey
ImportError: /lib64/libhawkey.so.2: symbol pool_parserpmrichdep, version SOLV_1.0 not defined in file libsolvext.so.0 with link time reference
The command '/bin/sh -c dnf clean all && dnf -y install python2-dnf && dnf clean all' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment