Issue #8966
closedyum dependency resolution broken due to incomplete repodata/*-primary.xml.gz files for Pulp RPM publications
Description
On a pulp server with
versions:
- component: core
version: 3.13.0
- component: rpm
version: 3.13.0
- component: file
version: 1.8.0
the generated repodata/*-primary.xml.gz files for Pulp RPM publications are incomplete: the tags are missing. Therefore several packages cannot be updated anymore on CentOS 7 Pulp clients, because yum fails to resolve dependencies. E.g.:
$> yum update coreutils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package coreutils.x86_64 0:8.22-24.el7 will be updated
---> Package coreutils.x86_64 0:8.22-24.el7_9.2 will be an update
--> Processing Dependency: /usr/bin/env for package: 1:dbus-1.10.24-15.el7.x86_64
--> Processing Dependency: /usr/bin/env for package: python-libs-2.7.5-89.el7.x86_64
--> Processing Dependency: /usr/bin/sha512sum for package: selinux-policy-3.13.1-268.el7_9.2.noarch
--> Finished Dependency Resolution
Error: Package: 1:dbus-1.10.24-15.el7.x86_64 (@centos7-base)
Requires: /usr/bin/env
Removing: coreutils-8.22-24.el7.x86_64 (@centos7-base)
Not found <<<<<<---------------------------------------------------------------
Updated By: coreutils-8.22-24.el7_9.2.x86_64 (centos7-updates)
Not found
Error: Package: python-libs-2.7.5-89.el7.x86_64 (@centos7-base)
Requires: /usr/bin/env
Removing: coreutils-8.22-24.el7.x86_64 (@centos7-base)
Not found
Updated By: coreutils-8.22-24.el7_9.2.x86_64 (centos7-updates)
Not found
Error: Package: selinux-policy-3.13.1-268.el7_9.2.noarch (@centos7-updates)
Requires: /usr/bin/sha512sum
Removing: coreutils-8.22-24.el7.x86_64 (@centos7-base)
Not found
Updated By: coreutils-8.22-24.el7_9.2.x86_64 (centos7-updates)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Note that centos7-base and centos7-updates are repos served by Pulp. A yum deplist for the first problematic dependency confirms that something is missing:
$> yum deplist dbus
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
package: dbus.x86_64 1:1.10.24-15.el7
dependency: /bin/sh
provider: bash.x86_64 4.2.46-34.el7
dependency: /usr/bin/env
Unsatisfied dependency <<<<<<---------------------------------------------------------------
dependency: /usr/sbin/useradd
Unsatisfied dependency
dependency: dbus-libs(x86-64) = 1:1.10.24-15.el7
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libaudit.so.1()(64bit)
provider: audit-libs.x86_64 2.8.5-4.el7
dependency: libc.so.6(GLIBC_2.14)(64bit)
provider: glibc.x86_64 2.17-324.el7_9
dependency: libcap-ng.so.0()(64bit)
provider: libcap-ng.x86_64 0.7.5-4.el7
dependency: libdbus-1.so.3()(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libdbus-1.so.3(LIBDBUS_1_3)(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libexpat.so.1()(64bit)
provider: expat.x86_64 2.1.0-12.el7
dependency: libpthread.so.0()(64bit)
provider: glibc.x86_64 2.17-324.el7_9
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.17-324.el7_9
dependency: libselinux(x86-64) >= 1.15.2
provider: libselinux.x86_64 2.5-15.el7
dependency: libselinux.so.1()(64bit)
provider: libselinux.x86_64 2.5-15.el7
dependency: libsystemd.so.0()(64bit)
provider: systemd-libs.x86_64 219-78.el7_9.3
dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
provider: systemd-libs.x86_64 219-78.el7_9.3
dependency: rtld(GNU_HASH)
provider: glibc.x86_64 2.17-324.el7_9
provider: glibc.i686 2.17-324.el7_9
dependency: systemd
provider: systemd.x86_64 219-78.el7_9.3
Below are fragments for the dbus and coreutils packages from the repodata/*-primary.xml.gz file of this Pulp distribution. Note that dbus specifies a dependency <rpm:entry name="/usr/bin/env"/>, but there is no /usr/bin/env in the entry for coreutils:
<package type="rpm">
<name>dbus</name>
<arch>x86_64</arch>
<version epoch="1" ver="1.10.24" rel="15.el7"/>
<checksum type="sha256" pkgid="YES">99a677acf9d35be3213a00fc2d97e562498398f3e387f3c4bc73c3d4a614e4e2</checksum>
<summary>D-BUS message bus</summary>
<description>D-BUS is a system for sending messages between applications. It is
used both for the system-wide message bus service, and as a
per-user-login-session messaging facility.</description>
<packager>CentOS BuildSystem <http://bugs.centos.org></packager>
<url>http://www.freedesktop.org/Software/dbus/</url>
<time file="1602701262" build="1601481306"/>
<size package="251300" installed="594463" archive="602268"/>
<location href="Packages/d/dbus-1.10.24-15.el7.x86_64.rpm"/>
<format>
<rpm:license>(GPLv2+ or AFL) and GPLv2+</rpm:license>
<rpm:vendor>CentOS</rpm:vendor>
<rpm:group>System Environment/Libraries</rpm:group>
<rpm:buildhost>x86-01.bsys.centos.org</rpm:buildhost>
<rpm:sourcerpm>dbus-1.10.24-15.el7.src.rpm</rpm:sourcerpm>
<rpm:header-range start="1384" end="42656"/>
<rpm:provides>
<rpm:entry name="dbus(x86-64)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="dbus" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="config(dbus)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="/bin/dbus-send"/>
</rpm:provides>
<rpm:requires>
<rpm:entry name="systemd" pre="1"/>
<rpm:entry name="systemd"/>
<rpm:entry name="rtld(GNU_HASH)"/>
<rpm:entry name="libsystemd.so.0(LIBSYSTEMD_209)(64bit)"/>
<rpm:entry name="libsystemd.so.0()(64bit)"/>
<rpm:entry name="libselinux.so.1()(64bit)"/>
<rpm:entry name="libselinux(x86-64)" flags="GE" epoch="0" ver="1.15.2"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
<rpm:entry name="libpthread.so.0()(64bit)"/>
<rpm:entry name="libexpat.so.1()(64bit)"/>
<rpm:entry name="libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit)"/>
<rpm:entry name="libdbus-1.so.3(LIBDBUS_1_3)(64bit)"/>
<rpm:entry name="libdbus-1.so.3()(64bit)"/>
<rpm:entry name="libcap-ng.so.0()(64bit)"/>
<rpm:entry name="libc.so.6(GLIBC_2.14)(64bit)"/>
<rpm:entry name="libaudit.so.1()(64bit)"/>
<rpm:entry name="dbus-libs(x86-64)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="/usr/sbin/useradd" pre="1"/>
<rpm:entry name="/usr/bin/env"/> <<<<<<---------------------------------------------------------------
<rpm:entry name="/bin/sh" pre="1"/>
<rpm:entry name="/bin/sh"/>
</rpm:requires>
</format>
</package>
<package type="rpm">
<name>coreutils</name>
<arch>x86_64</arch>
<version epoch="0" ver="8.22" rel="24.el7"/>
<checksum type="sha256" pkgid="YES">e320010b41826322b947d65f2893d20d395dc11f2a342085432b2014a81082c7</checksum>
<summary>A set of basic GNU tools commonly used in shell scripts</summary>
<description>These are the GNU core utilities. This package is the combination of
the old GNU fileutils, sh-utils, and textutils packages.</description>
<packager>CentOS BuildSystem <http://bugs.centos.org></packager>
<url>http://www.gnu.org/software/coreutils/</url>
<time file="1566508890" build="1566282446"/>
<size package="3415080" installed="14593469" archive="14644536"/>
<location href="Packages/c/coreutils-8.22-24.el7.x86_64.rpm"/>
<format>
<rpm:license>GPLv3+</rpm:license>
<rpm:vendor>CentOS</rpm:vendor>
<rpm:group>System Environment/Base</rpm:group>
<rpm:buildhost>x86-01.bsys.centos.org</rpm:buildhost>
<rpm:sourcerpm>coreutils-8.22-24.el7.src.rpm</rpm:sourcerpm>
<rpm:header-range start="1384" end="130864"/>
<rpm:provides>
<rpm:entry name="textutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="stat" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="sh-utils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="mktemp" flags="EQ" epoch="4" ver="8.22" rel="24.el7"/>
<rpm:entry name="libstdbuf.so()(64bit)"/>
<rpm:entry name="fileutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="coreutils(x86-64)" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="coreutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="config(coreutils)" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="bundled(gnulib)"/>
<rpm:entry name="/bin/uname"/>
<rpm:entry name="/bin/true"/>
<rpm:entry name="/bin/touch"/>
<rpm:entry name="/bin/sync"/>
<rpm:entry name="/bin/stty"/>
<rpm:entry name="/bin/sort"/>
<rpm:entry name="/bin/sleep"/>
<rpm:entry name="/bin/rmdir"/>
<rpm:entry name="/bin/rm"/>
<rpm:entry name="/bin/readlink"/>
<rpm:entry name="/bin/pwd"/>
<rpm:entry name="/bin/nice"/>
<rpm:entry name="/bin/mv"/>
<rpm:entry name="/bin/mktemp"/>
<rpm:entry name="/bin/mknod"/>
<rpm:entry name="/bin/mkdir"/>
<rpm:entry name="/bin/ls"/>
<rpm:entry name="/bin/ln"/>
<rpm:entry name="/bin/false"/>
<rpm:entry name="/bin/env"/>
<rpm:entry name="/bin/echo"/>
<rpm:entry name="/bin/df"/>
<rpm:entry name="/bin/dd"/>
<rpm:entry name="/bin/date"/>
<rpm:entry name="/bin/cut"/>
<rpm:entry name="/bin/cp"/>
<rpm:entry name="/bin/chown"/>
<rpm:entry name="/bin/chmod"/>
<rpm:entry name="/bin/chgrp"/>
<rpm:entry name="/bin/cat"/>
<rpm:entry name="/bin/basename"/>
</rpm:provides>
<rpm:requires>
<rpm:entry name="rtld(GNU_HASH)"/>
<rpm:entry name="ncurses"/>
<rpm:entry name="libselinux.so.1()(64bit)"/>
<rpm:entry name="librt.so.1(GLIBC_2.3.3)(64bit)"/>
<rpm:entry name="librt.so.1()(64bit)"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.3.2)(64bit)"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
<rpm:entry name="libpthread.so.0()(64bit)"/>
<rpm:entry name="libgmp.so.10()(64bit)"/>
<rpm:entry name="libcrypto.so.10(libcrypto.so.10)(64bit)"/>
<rpm:entry name="libcrypto.so.10()(64bit)"/>
<rpm:entry name="libcap.so.2()(64bit)"/>
<rpm:entry name="libc.so.6(GLIBC_2.17)(64bit)"/>
<rpm:entry name="libattr.so.1(ATTR_1.1)(64bit)"/>
<rpm:entry name="libattr.so.1()(64bit)"/>
<rpm:entry name="libacl.so.1(ACL_1.0)(64bit)"/>
<rpm:entry name="libacl.so.1()(64bit)"/>
<rpm:entry name="grep" pre="1"/>
<rpm:entry name="gmp"/>
<rpm:entry name="/sbin/install-info" pre="1"/>
<rpm:entry name="/sbin/install-info"/>
<rpm:entry name="/bin/sh" pre="1"/>
<rpm:entry name="/bin/sh"/>
</rpm:requires>
<rpm:conflicts>
<rpm:entry name="filesystem" flags="LT" epoch="0" ver="3"/>
</rpm:conflicts>
<rpm:obsoletes>
<rpm:entry name="textutils" flags="LE" epoch="0" ver="2.0.21"/>
<rpm:entry name="stat" flags="LE" epoch="0" ver="3.3"/>
<rpm:entry name="sh-utils" flags="LE" epoch="0" ver="2.0.12"/>
<rpm:entry name="mktemp" flags="LT" epoch="4" ver="8.22" rel="24.el7"/>
<rpm:entry name="fileutils" flags="LE" epoch="0" ver="4.1.9"/>
<rpm:entry name="coreutils-libs" flags="LT" epoch="0" ver="8.13"/>
</rpm:obsoletes>
</format>
</package>
We've also updated the rpm plugin to 3.13.2 on this Pulp server and recreated remotes + repositories + publications + distributions, but that did not solve the problem.
Below are the same commands and fragments from the repodata/*-primary.xml.gz file from another, older Pulp server that does work:
versions:
- component: core
version: 3.12.2
- component: rpm
version: 3.10.0
- component: file
version: 1.7.0
<package type="rpm">
<name>dbus</name>
<arch>x86_64</arch>
<version epoch="1" ver="1.10.24" rel="15.el7"/>
<checksum type="sha256" pkgid="YES">99a677acf9d35be3213a00fc2d97e562498398f3e387f3c4bc73c3d4a614e4e2</checksum>
<summary>D-BUS message bus</summary>
<description>D-BUS is a system for sending messages between applications. It is
used both for the system-wide message bus service, and as a
per-user-login-session messaging facility.</description>
<packager>CentOS BuildSystem <http://bugs.centos.org></packager>
<url>http://www.freedesktop.org/Software/dbus/</url>
<time file="1602701262" build="1601481306"/>
<size package="251300" installed="594463" archive="602268"/>
<location href="Packages/d/dbus-1.10.24-15.el7.x86_64.rpm"/>
<format>
<rpm:license>(GPLv2+ or AFL) and GPLv2+</rpm:license>
<rpm:vendor>CentOS</rpm:vendor>
<rpm:group>System Environment/Libraries</rpm:group>
<rpm:buildhost>x86-01.bsys.centos.org</rpm:buildhost>
<rpm:sourcerpm>dbus-1.10.24-15.el7.src.rpm</rpm:sourcerpm>
<rpm:header-range start="1384" end="42656"/>
<rpm:provides>
<rpm:entry name="dbus(x86-64)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="dbus" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="config(dbus)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="/bin/dbus-send"/>
</rpm:provides>
<rpm:requires>
<rpm:entry name="systemd" pre="1"/>
<rpm:entry name="systemd"/>
<rpm:entry name="rtld(GNU_HASH)"/>
<rpm:entry name="libsystemd.so.0(LIBSYSTEMD_209)(64bit)"/>
<rpm:entry name="libsystemd.so.0()(64bit)"/>
<rpm:entry name="libselinux.so.1()(64bit)"/>
<rpm:entry name="libselinux(x86-64)" flags="GE" epoch="0" ver="1.15.2"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
<rpm:entry name="libpthread.so.0()(64bit)"/>
<rpm:entry name="libexpat.so.1()(64bit)"/>
<rpm:entry name="libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit)"/>
<rpm:entry name="libdbus-1.so.3(LIBDBUS_1_3)(64bit)"/>
<rpm:entry name="libdbus-1.so.3()(64bit)"/>
<rpm:entry name="libcap-ng.so.0()(64bit)"/>
<rpm:entry name="libc.so.6(GLIBC_2.14)(64bit)"/>
<rpm:entry name="libaudit.so.1()(64bit)"/>
<rpm:entry name="dbus-libs(x86-64)" flags="EQ" epoch="1" ver="1.10.24" rel="15.el7"/>
<rpm:entry name="/usr/sbin/useradd" pre="1"/>
<rpm:entry name="/usr/bin/env"/> <<<<<<---------------------------------------------------------------
<rpm:entry name="/bin/sh" pre="1"/>
<rpm:entry name="/bin/sh"/>
</rpm:requires>
<file type="dir">/etc/dbus-1/system.d</file>
<file type="dir">/etc/dbus-1/session.d</file>
<file type="dir">/etc/dbus-1</file>
<file>/usr/bin/dbus-uuidgen</file>
<file>/usr/bin/dbus-update-activation-environment</file>
<file>/usr/bin/dbus-test-tool</file>
<file>/usr/bin/dbus-send</file>
<file>/usr/bin/dbus-run-session</file>
<file>/usr/bin/dbus-monitor</file>
<file>/usr/bin/dbus-daemon</file>
<file>/usr/bin/dbus-cleanup-sockets</file>
<file>/etc/dbus-1/system.conf</file>
<file>/etc/dbus-1/session.conf</file>
</format>
</package>
<package type="rpm">
<name>coreutils</name>
<arch>x86_64</arch>
<version epoch="0" ver="8.22" rel="24.el7"/>
<checksum type="sha256" pkgid="YES">e320010b41826322b947d65f2893d20d395dc11f2a342085432b2014a81082c7</checksum>
<summary>A set of basic GNU tools commonly used in shell scripts</summary>
<description>These are the GNU core utilities. This package is the combination of
the old GNU fileutils, sh-utils, and textutils packages.</description>
<packager>CentOS BuildSystem <http://bugs.centos.org></packager>
<url>http://www.gnu.org/software/coreutils/</url>
<time file="1566508890" build="1566282446"/>
<size package="3415080" installed="14593469" archive="14644536"/>
<location href="Packages/c/coreutils-8.22-24.el7.x86_64.rpm"/>
<format>
<rpm:license>GPLv3+</rpm:license>
<rpm:vendor>CentOS</rpm:vendor>
<rpm:group>System Environment/Base</rpm:group>
<rpm:buildhost>x86-01.bsys.centos.org</rpm:buildhost>
<rpm:sourcerpm>coreutils-8.22-24.el7.src.rpm</rpm:sourcerpm>
<rpm:header-range start="1384" end="130864"/>
<rpm:provides>
<rpm:entry name="textutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="stat" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="sh-utils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="mktemp" flags="EQ" epoch="4" ver="8.22" rel="24.el7"/>
<rpm:entry name="libstdbuf.so()(64bit)"/>
<rpm:entry name="fileutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="coreutils(x86-64)" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="coreutils" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="config(coreutils)" flags="EQ" epoch="0" ver="8.22" rel="24.el7"/>
<rpm:entry name="bundled(gnulib)"/>
<rpm:entry name="/bin/uname"/>
<rpm:entry name="/bin/true"/>
<rpm:entry name="/bin/touch"/>
<rpm:entry name="/bin/sync"/>
<rpm:entry name="/bin/stty"/>
<rpm:entry name="/bin/sort"/>
<rpm:entry name="/bin/sleep"/>
<rpm:entry name="/bin/rmdir"/>
<rpm:entry name="/bin/rm"/>
<rpm:entry name="/bin/readlink"/>
<rpm:entry name="/bin/pwd"/>
<rpm:entry name="/bin/nice"/>
<rpm:entry name="/bin/mv"/>
<rpm:entry name="/bin/mktemp"/>
<rpm:entry name="/bin/mknod"/>
<rpm:entry name="/bin/mkdir"/>
<rpm:entry name="/bin/ls"/>
<rpm:entry name="/bin/ln"/>
<rpm:entry name="/bin/false"/>
<rpm:entry name="/bin/env"/>
<rpm:entry name="/bin/echo"/>
<rpm:entry name="/bin/df"/>
<rpm:entry name="/bin/dd"/>
<rpm:entry name="/bin/date"/>
<rpm:entry name="/bin/cut"/>
<rpm:entry name="/bin/cp"/>
<rpm:entry name="/bin/chown"/>
<rpm:entry name="/bin/chmod"/>
<rpm:entry name="/bin/chgrp"/>
<rpm:entry name="/bin/cat"/>
<rpm:entry name="/bin/basename"/>
</rpm:provides>
<rpm:requires>
<rpm:entry name="rtld(GNU_HASH)"/>
<rpm:entry name="ncurses"/>
<rpm:entry name="libselinux.so.1()(64bit)"/>
<rpm:entry name="librt.so.1(GLIBC_2.3.3)(64bit)"/>
<rpm:entry name="librt.so.1()(64bit)"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.3.2)(64bit)"/>
<rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
<rpm:entry name="libpthread.so.0()(64bit)"/>
<rpm:entry name="libgmp.so.10()(64bit)"/>
<rpm:entry name="libcrypto.so.10(libcrypto.so.10)(64bit)"/>
<rpm:entry name="libcrypto.so.10()(64bit)"/>
<rpm:entry name="libcap.so.2()(64bit)"/>
<rpm:entry name="libc.so.6(GLIBC_2.17)(64bit)"/>
<rpm:entry name="libattr.so.1(ATTR_1.1)(64bit)"/>
<rpm:entry name="libattr.so.1()(64bit)"/>
<rpm:entry name="libacl.so.1(ACL_1.0)(64bit)"/>
<rpm:entry name="libacl.so.1()(64bit)"/>
<rpm:entry name="grep" pre="1"/>
<rpm:entry name="gmp"/>
<rpm:entry name="/sbin/install-info" pre="1"/>
<rpm:entry name="/sbin/install-info"/>
<rpm:entry name="/bin/sh" pre="1"/>
<rpm:entry name="/bin/sh"/>
</rpm:requires>
<rpm:conflicts>
<rpm:entry name="filesystem" flags="LT" epoch="0" ver="3"/>
</rpm:conflicts>
<rpm:obsoletes>
<rpm:entry name="textutils" flags="LE" epoch="0" ver="2.0.21"/>
<rpm:entry name="stat" flags="LE" epoch="0" ver="3.3"/>
<rpm:entry name="sh-utils" flags="LE" epoch="0" ver="2.0.12"/>
<rpm:entry name="mktemp" flags="LT" epoch="4" ver="8.22" rel="24.el7"/>
<rpm:entry name="fileutils" flags="LE" epoch="0" ver="4.1.9"/>
<rpm:entry name="coreutils-libs" flags="LT" epoch="0" ver="8.13"/>
</rpm:obsoletes>
<file>/usr/sbin/chroot</file>
<file>/usr/bin/yes</file>
<file>/usr/bin/whoami</file>
<file>/usr/bin/who</file>
<file>/usr/bin/wc</file>
<file>/usr/bin/vdir</file>
<file>/usr/bin/users</file>
<file>/usr/bin/unlink</file>
<file>/usr/bin/uniq</file>
<file>/usr/bin/unexpand</file>
<file>/usr/bin/uname</file>
<file>/usr/bin/tty</file>
<file>/usr/bin/tsort</file>
<file>/usr/bin/truncate</file>
<file>/usr/bin/true</file>
<file>/usr/bin/tr</file>
<file>/usr/bin/touch</file>
<file>/usr/bin/timeout</file>
<file>/usr/bin/test</file>
<file>/usr/bin/tee</file>
<file>/usr/bin/tail</file>
<file>/usr/bin/tac</file>
<file>/usr/bin/sync</file>
<file>/usr/bin/sum</file>
<file>/usr/bin/stty</file>
<file>/usr/bin/stdbuf</file>
<file>/usr/bin/stat</file>
<file>/usr/bin/split</file>
<file>/usr/bin/sort</file>
<file>/usr/bin/sleep</file>
<file>/usr/bin/shuf</file>
<file>/usr/bin/shred</file>
<file>/usr/bin/sha512sum</file>
<file>/usr/bin/sha384sum</file>
<file>/usr/bin/sha256sum</file>
<file>/usr/bin/sha224sum</file>
<file>/usr/bin/sha1sum</file>
<file>/usr/bin/seq</file>
<file>/usr/bin/runcon</file>
<file>/usr/bin/rmdir</file>
<file>/usr/bin/rm</file>
<file>/usr/bin/realpath</file>
<file>/usr/bin/readlink</file>
<file>/usr/bin/pwd</file>
<file>/usr/bin/ptx</file>
<file>/usr/bin/printf</file>
<file>/usr/bin/printenv</file>
<file>/usr/bin/pr</file>
<file>/usr/bin/pinky</file>
<file>/usr/bin/pathchk</file>
<file>/usr/bin/paste</file>
<file>/usr/bin/od</file>
<file>/usr/bin/numfmt</file>
<file>/usr/bin/nproc</file>
<file>/usr/bin/nohup</file>
<file>/usr/bin/nl</file>
<file>/usr/bin/nice</file>
<file>/usr/bin/mv</file>
<file>/usr/bin/mktemp</file>
<file>/usr/bin/mknod</file>
<file>/usr/bin/mkfifo</file>
<file>/usr/bin/mkdir</file>
<file>/usr/bin/md5sum</file>
<file>/usr/bin/ls</file>
<file>/usr/bin/logname</file>
<file>/usr/bin/ln</file>
<file>/usr/bin/link</file>
<file>/usr/bin/join</file>
<file>/usr/bin/install</file>
<file>/usr/bin/id</file>
<file>/usr/bin/hostid</file>
<file>/usr/bin/head</file>
<file>/usr/bin/groups</file>
<file>/usr/bin/fold</file>
<file>/usr/bin/fmt</file>
<file>/usr/bin/false</file>
<file>/usr/bin/factor</file>
<file>/usr/bin/expr</file>
<file>/usr/bin/expand</file>
<file>/usr/bin/env</file> <<<<<<---------------------------------------------------------------
<file>/usr/bin/echo</file>
<file>/usr/bin/du</file>
<file>/usr/bin/dirname</file>
<file>/usr/bin/dircolors</file>
<file>/usr/bin/dir</file>
<file>/usr/bin/df</file>
<file>/usr/bin/dd</file>
<file>/usr/bin/date</file>
<file>/usr/bin/cut</file>
<file>/usr/bin/csplit</file>
<file>/usr/bin/cp</file>
<file>/usr/bin/comm</file>
<file>/usr/bin/cksum</file>
<file>/usr/bin/chown</file>
<file>/usr/bin/chmod</file>
<file>/usr/bin/chgrp</file>
<file>/usr/bin/chcon</file>
<file>/usr/bin/cat</file>
<file>/usr/bin/basename</file>
<file>/usr/bin/base64</file>
<file>/usr/bin/arch</file>
<file>/usr/bin/[</file>
<file>/etc/profile.d/colorls.sh</file>
<file>/etc/profile.d/colorls.csh</file>
<file>/etc/DIR_COLORS.lightbgcolor</file>
<file>/etc/DIR_COLORS.256color</file>
<file>/etc/DIR_COLORS</file>
</format>
</package>
With the tags present in the repo metadata yum deplist can resolve the dependencies (and yum update works too):
$> yum deplist dbus
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
package: dbus.x86_64 1:1.10.24-15.el7
dependency: /bin/sh
provider: bash.x86_64 4.2.46-34.el7
dependency: /usr/bin/env
provider: coreutils.x86_64 8.22-24.el7_9.2 <<<<<<---------------------------------------------------------------
dependency: /usr/sbin/useradd
provider: shadow-utils.x86_64 2:4.6-5.el7
dependency: dbus-libs(x86-64) = 1:1.10.24-15.el7
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libaudit.so.1()(64bit)
provider: audit-libs.x86_64 2.8.5-4.el7
dependency: libc.so.6(GLIBC_2.14)(64bit)
provider: glibc.x86_64 2.17-323.el7_9
dependency: libcap-ng.so.0()(64bit)
provider: libcap-ng.x86_64 0.7.5-4.el7
dependency: libdbus-1.so.3()(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libdbus-1.so.3(LIBDBUS_1_3)(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit)
provider: dbus-libs.x86_64 1:1.10.24-15.el7
dependency: libexpat.so.1()(64bit)
provider: expat.x86_64 2.1.0-12.el7
dependency: libpthread.so.0()(64bit)
provider: glibc.x86_64 2.17-323.el7_9
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.17-323.el7_9
dependency: libselinux(x86-64) >= 1.15.2
provider: libselinux.x86_64 2.5-15.el7
dependency: libselinux.so.1()(64bit)
provider: libselinux.x86_64 2.5-15.el7
dependency: libsystemd.so.0()(64bit)
provider: systemd-libs.x86_64 219-78.el7_9.3
dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
provider: systemd-libs.x86_64 219-78.el7_9.3
dependency: rtld(GNU_HASH)
provider: glibc.x86_64 2.17-323.el7_9
provider: glibc.i686 2.17-323.el7_9
dependency: systemd
provider: systemd.x86_64 219-78.el7_9.3
Updated by dalley over 3 years ago
- Status changed from NEW to CLOSED - CURRENTRELEASE
pneerincx, thanks for the report.
This bug was introduced in pulp_rpm 3.13.0 and should be fixed in the 3.13.2 release shipped last night. Unfortunately some of the packages which were synced within that time period will have incorrect metadata.
What you should do is:
- delete any repository versions created since upgrading to 3.13.0
- cleanup orphan content, which should remove the corrupt packages
- make sure pulp_rpm is updated to 3.13.2 and restart the pulp services
- sync the repos again
Let me know if you have any questions, I can help with the steps
Updated by pneerincx over 3 years ago
Dear Daley,
We already tried al of the above except for 2. cleanup orphan content, which should remove the corrupt packages
Does Pulp modify packages when it downloads them from a remote? We are relatively new to Pulp and I expected only the repo meta data to be wrong, but not the packages themselves. If Pulp does modify the packages I'd be interested to know why. Any pointer to some documentation would be appreciated.
Cheers,
Pieter
Updated by dalley over 3 years ago
Hello, apologies for losing track of this issue.
The fix that was merged in 3.13.2 was incomplete and so we had to fix it, again, in 3.14.0. Because of the greater impact, we created a repair script which is available along with instructions on this issue.