Dhcp-server upgrade bug

I seem to have this issue in rockylinux.
It is actually preventing me to migrate from centos 8 to rockylinux

https://bugzilla.redhat.com/show_bug.cgi?id=2047786

According to bugzilla it was not present in redhat 8 and is corrected in Centos8 stream.

Could it be corrected in rockylinux?
(I could try to install the rpm from the centos 8 stream, but I am afraid that will only get me further in trouble)

Workarounds are welcome.

Thanks,

Joost

As noted on your bug report here we cannot reproduce your issue and it appears as though packages and/or repositories have been mixed on your system.

[root@router ~]# rpm -q dhcp-client bind-export-libs
dhcp-client-4.3.6-45.el8.x86_64
bind-export-libs-9.11.26-6.el8.x86_64
[root@router ~]# rpm -q bind-export-libs-9.11.26-6.el8.x86_64 --provides
bind-export-libs = 32:9.11.26-6.el8
bind-export-libs(x86-64) = 32:9.11.26-6.el8
config(bind-export-libs) = 32:9.11.26-6.el8
libdns-export.so.1112()(64bit)
libirs-export.so.161()(64bit)
libisc-export.so.1107()(64bit)
libisccfg-export.so.163()(64bit)

The current versions for 8.5:

[root@router ~]# repoquery -q dhcp-client
dhcp-client-12:4.3.6-45.el8.x86_64
[root@router ~]# repoquery -q bind
bind-32:9.11.26-6.el8.x86_64

The upcoming versions for 8.6 (not yet released):

dhcp-4.3.6-47.el8 and bind-9.11.36-3.el8

1 Like

Thank you for your reply.

Apparently the conversion from centos8 must have failed.

yum update
Last metadata expiration check: 1:27:34 ago on Fri 06 May 2022 06:59:17 CEST.
Error: 
 Problem 1: package dhcp-server-12:4.3.6-45.el8.x86_64 requires libdns-export.so.1112()(64bit), but none of the providers can be installed
  - package dhcp-server-12:4.3.6-45.el8.x86_64 requires libisc-export.so.1107()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dhcp-server-12:4.3.6-41.el8.x86_64
  - package bind-export-libs-32:9.11.26-6.el8.x86_64 is filtered out by exclude filtering
 Problem 2: package dhcp-client-12:4.3.6-45.el8.x86_64 requires libdns-export.so.1112()(64bit), but none of the providers can be installed
  - package dhcp-client-12:4.3.6-45.el8.x86_64 requires libisc-export.so.1107()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dhcp-client-12:4.3.6-41.el8.x86_64
  - package bind-export-libs-32:9.11.26-6.el8.x86_64 is filtered out by exclude filtering
 Problem 3: package dhcp-server-12:4.3.6-41.el8.x86_64 requires dhcp-common = 12:4.3.6-41.el8, but none of the providers can be installed
  - problem with installed package dhcp-server-12:4.3.6-41.el8.x86_64
  - cannot install both dhcp-common-12:4.3.6-45.el8.noarch and dhcp-common-12:4.3.6-41.el8.noarch
  - package dhcp-server-12:4.3.6-45.el8.x86_64 requires libdns-export.so.1112()(64bit), but none of the providers can be installed
  - package dhcp-server-12:4.3.6-45.el8.x86_64 requires libisc-export.so.1107()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dhcp-common-12:4.3.6-41.el8.noarch
  - package bind-export-libs-32:9.11.26-6.el8.x86_64 is filtered out by exclude filtering
 Problem 4: package dhcp-client-12:4.3.6-41.el8.x86_64 requires dhcp-libs(x86-64) = 12:4.3.6-41.el8, but none of the providers can be installed
  - problem with installed package dhcp-client-12:4.3.6-41.el8.x86_64
  - cannot install both dhcp-libs-12:4.3.6-45.el8.x86_64 and dhcp-libs-12:4.3.6-41.el8.x86_64
  - package dhcp-client-12:4.3.6-45.el8.x86_64 requires libdns-export.so.1112()(64bit), but none of the providers can be installed
  - package dhcp-client-12:4.3.6-45.el8.x86_64 requires libisc-export.so.1107()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dhcp-libs-12:4.3.6-41.el8.x86_64
  - package bind-export-libs-32:9.11.26-6.el8.x86_64 is filtered out by exclude filtering
(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)
[root@netserv-me ~]# yum search bind-export
Last metadata expiration check: 1:28:22 ago on Fri 06 May 2022 06:59:17 CEST.
No matches found.
[root@netserv-me ~]# cat /etc/*release
CentOS Linux release 8.3.2011
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
CentOS Linux release 8.3.2011
CentOS Linux release 8.3.2011
[root@netserv-me ~]#
[root@netserv-me ~]# rpm -q bind-export-libs-9.11.26-6.el8.x86_64
package bind-export-libs-9.11.26-6.el8.x86_64 is not installed
[root@netserv-me ~]# yum install bind-export-libs-9.11.26-6.el8.x86_64
Last metadata expiration check: 1:33:49 ago on Fri 06 May 2022 06:59:17 CEST.
All matches were filtered out by exclude filtering for argument: bind-export-libs-9.11.26-6.el8.x86_64
Error: Unable to find a match: bind-export-libs-9.11.26-6.el8.x86_64
[root@netserv-me ~]# 


I would backup the config for the service(s) and then remove all the offending packages (unless that means wiping the entire system). Then do “fresh (re)install of the service”. That is how I got some CentOS point updates through.

Who does exclude the ‘bind-export-libs’?

1 Like

Thanks for advice.
I don’t know how the exclude got in there

Thanks for the suggestion. I think it was key to the solution:
A colleague had introduced

exclude=bind-*

in /etc/yum/yum.conf because of a previous bind update that happened with the automatic updates and went wrong.

To be safe & sure (minimize possible downtim), I made a clone and continued on that clone with another IP.

first test if conversion to centos was possible:

 wget  http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/centos-stream-release-8.5-3.el8.noarch.rpm

rpm -ivh --nodeps ./centos-stream-release-8.5-3.el8.noarch.rpm
dnf swap centos-linux-repos centos-stream-repos
yum update
yum clean all
yum update --allowerasing --nobest
yum install bind-export-libs-32:9.11.26-6.el8.x86_64
yum update --allowerasing --nobest

then did the migration to rockylinux and it works fine, no issues found after a week.

yum install git
 cd /tmp; git clone https://github.com/rocky-linux/rocky-tools.git
cd /tmp/rocky-tools/migrate2rocky; chmod +x migrate2rocky.sh
 ./migrate2rocky.sh
 ./migrate2rocky.sh -V
 ./migrate2rocky.sh -r
  yum update --allowerasing --nobest
 dnf update