Upgrading Centos and IPA ( from 6 to 8 ), broken repo?
Posted: 2021/03/16 11:26:53
Hi Forum,
we have a Linux infrastructure, only two centos machines with IPA Ldap server on it, that was a decision before my time.
All the rest is ubuntu. And they did not have an admin for years...
Now the CA ran out, and on the old IPA versions ( before 3 ) as far as i know now there was no automatic renewal and only 8 Years validity, now its 20... for good reasons.
My normal upgrade process, as seen here
https://github.com/BackBoxSoftware/cent ... -7-upgrade
https://itbeginner.net/upgrade-centos-6-7.html
would be now to set back the servers in time where the CA was still valid, upgrade Centos 6 to 7, upgrade IPA to last Repository version on 7, upgrade Centos to 8, upgrade IPA to Version above 4, have the automatic renewal of CA and certificates and then set todays date again. That will spare me a lot of trouble with Schema changes in IPA, just setting up a new V4 IPA Server on a new Centos, bring it into the Domain, replicate and switch off the old servers will not work as far as i know.
But all the Information is quite old, plus i have no experience with yum, coming from debian.
The Problem i have at the moment is that i have 3 packages that cannot be processed, its
[root@ldap upgrade]# yum localinstall preupgrade-assistant-*
...
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libxslt)
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libpcre)
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libxml-2.0)
...
I have the packages, so i dont understand what happens...
rpm -q pcre
pcre-7.8-6.el6.x86_64
rpm -q libxml2
libxml2-2.7.6-17.el6_6.1.x86_64
rpm -q libxslt
libxslt-1.1.26-2.el6_3.1.x86_64
what is this pkgconfig, why does it not find it?
I changed the dev.centos.org repository to http://buildlogs.centos.org/centos/6/up ... /Packages/
and i changed the repos like this:
https://www.codesiri.com/2020/12/centos ... valid.html
but i still cant seem to install the right stuff. Help?
we have a Linux infrastructure, only two centos machines with IPA Ldap server on it, that was a decision before my time.
All the rest is ubuntu. And they did not have an admin for years...
Now the CA ran out, and on the old IPA versions ( before 3 ) as far as i know now there was no automatic renewal and only 8 Years validity, now its 20... for good reasons.
My normal upgrade process, as seen here
https://github.com/BackBoxSoftware/cent ... -7-upgrade
https://itbeginner.net/upgrade-centos-6-7.html
would be now to set back the servers in time where the CA was still valid, upgrade Centos 6 to 7, upgrade IPA to last Repository version on 7, upgrade Centos to 8, upgrade IPA to Version above 4, have the automatic renewal of CA and certificates and then set todays date again. That will spare me a lot of trouble with Schema changes in IPA, just setting up a new V4 IPA Server on a new Centos, bring it into the Domain, replicate and switch off the old servers will not work as far as i know.
But all the Information is quite old, plus i have no experience with yum, coming from debian.
The Problem i have at the moment is that i have 3 packages that cannot be processed, its
[root@ldap upgrade]# yum localinstall preupgrade-assistant-*
...
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libxslt)
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libpcre)
Fehler: Package: preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64 (/preupgrade-assistant-1.0.2-33.0.3.el6.centos.x86_64)
Requires: pkgconfig(libxml-2.0)
...
I have the packages, so i dont understand what happens...
rpm -q pcre
pcre-7.8-6.el6.x86_64
rpm -q libxml2
libxml2-2.7.6-17.el6_6.1.x86_64
rpm -q libxslt
libxslt-1.1.26-2.el6_3.1.x86_64
what is this pkgconfig, why does it not find it?
I changed the dev.centos.org repository to http://buildlogs.centos.org/centos/6/up ... /Packages/
and i changed the repos like this:
https://www.codesiri.com/2020/12/centos ... valid.html
but i still cant seem to install the right stuff. Help?