-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.7.0
-
libdnf-0.63.0-18.el8
-
None
-
Low
-
rhel-sst-cs-software-management
-
ssg_core_services
-
10
-
12
-
None
-
QE ack, Dev ack
-
False
-
-
None
-
None
-
-
Pass
-
Enabled
-
Automated
-
Release Note Not Required
-
-
Unspecified
-
None
Using the database provided, dnf update --security provides strange results.
https://file.rdu.redhat.com/~jcastran/03530805/dendvb3utaut21-rpm_db.tar.gz
~~~
- alias yumr='yum --installroot=/test/ --setopt=tsflags=justdb'
- alias rpmr'rpm --root=/test/'
- mkdir /test/
- tar xf dendvb3utaut21-rpm_db.tar.gz -C /test/
- rpmr -q libnsl glibc
libnsl-2.28-164.el8_5.3.i686
libnsl-2.28-164.el8_5.3.x86_64
glibc-2.28-164.el8_5.3.x86_64
glibc-2.28-164.el8_5.3.i686
- yumr updateinfo list --security --all | grep -E 'glibc-2|libnsl'
i RHSA-2020:1828 Low/Sec. glibc-2.28-101.el8.i686
i RHSA-2020:1828 Low/Sec. glibc-2.28-101.el8.x86_64
i RHSA-2020:4444 Moderate/Sec. glibc-2.28-127.el8.i686
i RHSA-2020:4444 Moderate/Sec. glibc-2.28-127.el8.x86_64
i RHSA-2021:1585 Moderate/Sec. glibc-2.28-151.el8.i686
i RHSA-2021:1585 Moderate/Sec. glibc-2.28-151.el8.x86_64
i RHSA-2021:4358 Moderate/Sec. glibc-2.28-164.el8.i686
i RHSA-2021:4358 Moderate/Sec. glibc-2.28-164.el8.x86_64
i RHSA-2022:0896 Moderate/Sec. glibc-2.28-164.el8_5.3.i686
i RHSA-2022:0896 Moderate/Sec. glibc-2.28-164.el8_5.3.x86_64
i RHSA-2019:3513 Moderate/Sec. glibc-2.28-72.el8.i686
i RHSA-2019:3513 Moderate/Sec. glibc-2.28-72.el8.x86_64
i RHSA-2020:1828 Low/Sec. libnsl-2.28-101.el8.i686
i RHSA-2020:1828 Low/Sec. libnsl-2.28-101.el8.x86_64
i RHSA-2020:4444 Moderate/Sec. libnsl-2.28-127.el8.i686
i RHSA-2020:4444 Moderate/Sec. libnsl-2.28-127.el8.x86_64
i RHSA-2021:1585 Moderate/Sec. libnsl-2.28-151.el8.i686
i RHSA-2021:1585 Moderate/Sec. libnsl-2.28-151.el8.x86_64
i RHSA-2021:4358 Moderate/Sec. libnsl-2.28-164.el8.i686
i RHSA-2021:4358 Moderate/Sec. libnsl-2.28-164.el8.x86_64
i RHSA-2022:0896 Moderate/Sec. libnsl-2.28-164.el8_5.3.i686
i RHSA-2022:0896 Moderate/Sec. libnsl-2.28-164.el8_5.3.x86_64
i RHSA-2019:3513 Moderate/Sec. libnsl-2.28-72.el8.i686
i RHSA-2019:3513 Moderate/Sec. libnsl-2.28-72.el8.x86_64
- yumr update --security
Error:
Problem: package libnsl-2.28-164.el8_5.3.i686 requires glibc(x86-32) = 2.28-164.el8_5.3, but none of the providers can be installed
- cannot install both glibc-2.28-225.el8.i686 and glibc-2.28-164.el8_5.3.i686
- cannot install the best update candidate for package libnsl-2.28-164.el8_5.3.i686
- cannot install the best update candidate for package glibc-2.28-164.el8_5.3.i686
(try to add '-allowerasing' to command line to replace conflicting packages or 'skip-broken' to skip uninstallable packages or '-nobest' to use not only best candidate packages)
~~~
Now the tricky part is, if you update glibc and libnsl, it works fine so we know the updates are present.
If you INSTALL ANY PACKAGE, it suddenly starts working.
~~~
- yumr install sos -y
Installed:
python3-magic-5.33-20.el8.noarch python3-pexpect-4.3.1-3.el8.noarch
python3-ptyprocess-0.5.2-4.el8.noarch sos-4.5.3-1.el8.noarch - rm -rf /test/etc/yum.repos.d/ ###Removing the blank redhat.repo that was generated to force the /test db to use the systems redhat.repo
- yumr update --security glibc libnsl
No security updates needed for "glibc", but 1 update available
Dependencies resolved.
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Upgrading:
glibc i686 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 2.0 M
glibc x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 2.2 M
glibc-common x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 1.0 M
glibc-devel x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 83 k
glibc-headers x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 488 k
glibc-langpack-en x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 827 k
libnsl i686 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 109 k
libnsl x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 105 k
Installing weak dependencies:
glibc-gconv-extra i686 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 1.6 M
glibc-gconv-extra x86_64 2.28-225.el8 rhel-8-for-x86_64-baseos-rpms 1.5 M
Transaction Summary
==============================================================================================
Install 2 Packages
Upgrade 8 Packages
- duplicates
-
RHEL-31747 "yum update --security" breaks due to multiarch
- Closed
- is cloned by
-
RHEL-12123 dnf update --security doesn't correctly apply updates to all the available packages.
- Closed
- is duplicated by
-
RHEL-17690 "yum update --security" breaks due to multiarch
- Closed
-
RHEL-29341 dnf update --security is incorrectly updating nss_db and glibc.
- Closed
-
RHEL-9595 DNF: conflict when trying to update with --security option
- Closed
- external trackers
- links to
-
RHBA-2023:123342 libdnf bug fix and enhancement update
- mentioned on