When building image with Dockerfile that starts with
FROM fedora:22
RUN dnf upgrade -y
there are numerous warnings:
/usr/share/man/man5/libaudit.conf.5.gz: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/man/man8/ca-legacy.8.gz: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/locale/cs/LC_MESSAGES/cryptsetup.mo: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/coreutils/ABOUT-NLS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/locale/cs/LC_MESSAGES/bash.mo: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/cyrus-sasl-lib/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/file-libs/ChangeLog: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/locale/ca/LC_MESSAGES/glib20.mo: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/info/info-stnd.info.gz: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/bash-completion/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/python-dnf/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/libassuan/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/locale/fi/LC_MESSAGES/util-linux.mo: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/libpwquality/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/krb5-libs/NOTICE: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/libxml2/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/libsolv/BUGS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/p11-kit/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/pcre/AUTHORS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/man/man5/cert8.db.5.gz: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/pam/html/sag-pam_deny.html: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/locale/de/LC_MESSAGES/rpm.mo: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/shared-mime-info/shared-mime-info-spec.xml: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/man/man8/udevadm.8.gz: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/glibc/NEWS: No such file or directory
cannot reconstruct rpm from disk files
/usr/share/doc/python-libs/README: No such file or directory
cannot reconstruct rpm from disk files
file-libs-5.22-4.fc22.x86_64: Delta RPM rebuild failed
ca-certificates-2015.2.5-1.0.fc22.noarch: Delta RPM rebuild failed
libxml2-2.9.2-4.fc22.x86_64: Delta RPM rebuild failed
libassuan-2.3.0-1.fc22.x86_64: Delta RPM rebuild failed
python-dnf-1.1.2-4.fc22.noarch: Delta RPM rebuild failed
glibc-2.21-8.fc22.x86_64: Delta RPM rebuild failed
krb5-libs-1.13.2-7.fc22.x86_64: Delta RPM rebuild failed
bash-completion-1:2.1-7.20150513git1950590.fc22.noarch: Delta RPM rebuild failed
cyrus-sasl-lib-2.1.26-23.fc22.x86_64: Delta RPM rebuild failed
cryptsetup-libs-1.6.8-2.fc22.x86_64: Delta RPM rebuild failed
glib2-2.44.1-2.fc22.x86_64: Delta RPM rebuild failed
pam-1.1.8-19.fc22.x86_64: Delta RPM rebuild failed
nss-3.20.0-1.0.fc22.x86_64: Delta RPM rebuild failed
libpwquality-1.2.4-3.fc22.x86_64: Delta RPM rebuild failed
shared-mime-info-1.4-6.fc22.x86_64: Delta RPM rebuild failed
rpm-4.12.0.1-12.fc22.x86_64: Delta RPM rebuild failed
info-5.2-9.fc22.x86_64: Delta RPM rebuild failed
p11-kit-0.23.1-2.fc22.x86_64: Delta RPM rebuild failed
libsolv-0.6.11-2.fc22.x86_64: Delta RPM rebuild failed
python-libs-2.7.10-8.fc22.x86_64: Delta RPM rebuild failed
bash-4.3.42-1.fc22.x86_64: Delta RPM rebuild failed
util-linux-2.26.2-3.fc22.x86_64: Delta RPM rebuild failed
pcre-8.37-4.fc22.x86_64: Delta RPM rebuild failed
systemd-219-24.fc22.x86_64: Delta RPM rebuild failed
audit-libs-2.4.4-1.fc22.x86_64: Delta RPM rebuild failed
coreutils-8.23-11.fc22.x86_64: Delta RPM rebuild failed
--------------------------------------------------------------------------------
Total 5.1 MB/s | 62 MB 00:12
Delta RPMs reduced 56.1 MB of updates to 62.0 MB (-10.1% saved)
So with the default setup, more data is downloaded by dnf in an attempt to use drpms than if it was disabled, wasting bandwidth and CPU. Using --setopt=deltarpm=false works but it really should be default.
When building image with Dockerfile that starts with
there are numerous warnings:
So with the default setup, more data is downloaded by dnf in an attempt to use drpms than if it was disabled, wasting bandwidth and CPU. Using
--setopt=deltarpm=false
works but it really should be default.