-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to migrate to Rocky 8 from CentOS 8.5.2111 #198
Comments
It appears that there are certain 3rd-party repos that no longer work with CentOS 8.5 because they are expecting newer packages than those provided by that old release of CentOS, so it's causing the pre-update to fail. The pre-update is done before any changes are made to your system so that a failed update will stop the migration before damage is done, your system should not need to be restored from your snapshot at this stage, but it's a good idea that you took one anyways. Can you try this:
Let me know if it works, if so I'll make a change to migrate2rocky that I'd like you to test at that point as well. |
Thank you. Other than some file conflicts with ImageMagick, that worked perfectly. |
Thanks for the feedback. I will work on an update that does these steps automatically and get back to you for testing. |
wow |
Trying to migrate my mail server to Rocky. Fortunately I made a full clone of the VM so at least I'm not completely dead in the water.
migrate2rocky - Begin logging at Mon 17 Apr 2023 01:00:38 AM MDT.
Removing dnf cache
Preparing to migrate CentOS Linux 8 to Rocky Linux 8.
Determining repository names for CentOS Linux 8.Importing GPG key 0x5F11735A:
Userid : "Remi's RPM repository [email protected]"
Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
Importing GPG key 0x5F11735A:
Userid : "Remi's RPM repository [email protected]"
Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
.....
Found the following repositories which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
appstream appstream
baseos baseos
extras extras
Getting system package names for CentOS Linux 8..........
Found the following system packages which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
centos-logos-ipa rocky-logos-ipa
centos-backgrounds rocky-backgrounds
centos-gpg-keys rocky-gpg-keys
centos-logos rocky-logos
centos-indexhtml rocky-indexhtml
centos-linux-release rocky-release
centos-logos-httpd rocky-logos-httpd
centos-linux-repos rocky-repos
Getting list of installed system packages.
We will replace the following CentOS Linux 8 packages with their Rocky Linux 8 equivalents
Packages to be Removed Packages to be Installed
centos-gpg-keys rocky-gpg-keys
centos-logos rocky-logos
centos-linux-release rocky-release
centos-logos-httpd rocky-logos-httpd
centos-linux-repos rocky-repos
In addition to the above the following system packages will be removed:
centos-linux-release
centos-linux-release
Getting a list of enabled modules for the system repositories.
Excluding modules:
libselinux-python:2.8
Found the following modules to re-enable at completion:
httpd:2.4
mariadb:10.3
nginx:1.14
perl-DBD-MySQL:4.046
perl-DBD-SQLite:1.58
perl-DBI:1.641
perl-FCGI:0.78
perl-IO-Socket-SSL:2.066
perl-libwww-perl:6.34
perl:5.26
python36:3.6
Running dnf update before we attempt the migration.
Last metadata expiration check: 0:02:01 ago on Mon Apr 17 01:01:52 2023.
Error:
Problem 1: cannot install the best update candidate for package clamav-0.103.5-1.el8.x86_64
Problem 2: cannot install the best update candidate for package clamav-lib-0.103.5-1.el8.x86_64
Problem 3: cannot install the best update candidate for package remi-release-8.5-2.el8.remi.noarch
Problem 4: package clamd-0.103.8-3.el8.x86_64 requires clamav-lib = 0.103.8-3.el8, but none of the providers can be installed
Problem 5: package clamav-update-0.103.8-3.el8.x86_64 requires clamav-lib = 0.103.8-3.el8, but none of the providers can be installed
Problem 6: package clamav-filesystem-0.103.8-3.el8.noarch conflicts with clamav < 0.103.8-3.el8 provided by clamav-0.103.5-1.el8.x86_64
Problem 7: package fail2ban-server-1.0.2-3.el8.noarch requires (fail2ban-selinux if selinux-policy-targeted), but none of the providers can
be installed
Problem 8: package clamd-0.103.5-1.el8.x86_64 requires clamav-filesystem = 0.103.5-1.el8, but none of the providers can be installed
Problem 9: problem with installed package selinux-policy-targeted-3.14.3-80.el8_5.2.noarch
alled
(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)
Error running pre-update. Stopping now to avoid putting the system in an
unstable state. Please correct the issues shown here and try again.
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to preve
nt possible damage.
The text was updated successfully, but these errors were encountered: