Hey Guys,
Finally decided to bite the bullet and move across from Centos 8.5 to Rocky.
So following some online guides i have done the complete DNF update and all appears fine. However i have an LSI controller that i previously had to do the elrepo repository for.
When i am trying to run the Rocky migrate script
wget https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh
It runs through and errors out when attempting to validate upgradeable modules as per here
[root@mediastore8 ~]# bash migrate2rocky.sh -r migrate2rocky - Begin logging at Thu 24 Aug 2023 10:35:47 AEST.
Removing dnf cache
Preparing to migrate CentOS Linux 8 to Rocky Linux 8.
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Baseurl for appstream is invalid, setting to https://dl.rockylinux.org/vault/centos/8.5.2111/AppStream/x86_64/os/.
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Baseurl for baseos is invalid, setting to https://dl.rockylinux.org/vault/centos/8.5.2111/BaseOS/x86_64/os/.
Determining repository names for CentOS Linux 8......
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-backgrounds rocky-backgrounds
centos-gpg-keys rocky-gpg-keys
centos-logos rocky-logos
centos-indexhtml rocky-indexhtml
centos-linux-release rocky-release
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:
container-tools:rhel8
javapackages-runtime:201801
llvm-toolset:rhel8
nodejs:10
perl-DBD-SQLite:1.58
perl-DBI:1.641
perl-IO-Socket-SSL:2.066
perl-libwww-perl:6.34
perl:5.26
python36:3.6
satellite-5-client:1.0
virt:rhel
Running dnf update before we attempt the migration.
Last metadata expiration check: 0:00:23 ago on Thu Aug 24 10:36:14 2023.
Error:
Problem: cannot install the best update candidate for package kmod-mpt3sas-37.101.00.00-1.el8_5.elrepo.x86_64
- nothing provides kernel(__x86_return_thunk) = 0x5b8239ca needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel(_dev_info) = 0xbdc3f5dc needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel(_dev_err) = 0x1cba9e84 needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel >= 4.18.0-425.10.1.el8_7 needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel(dev_printk) = 0x008c88fc needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel(pci_find_capability) = 0x6e90426b needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
- nothing provides kernel(__num_online_cpus) = 0xc60d0620 needed by kmod-mpt3sas-42.100.00.00-2.el8_7.elrepo.x86_64
(try to add '--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 prevent possible damage.
A log of this installation can be found at /var/log/migrate2rocky.log
[root@mediastore8 ~]#
What is the recommended way to move forward to allow the migration to occur ?
Longer term i will be replacing the 9200 with a 9300 series so the problem may resolve itself - but that will not be for another month or so.
I have done a search on the forum and most other people seem to run into the problem after the upgrade or when going to V9 - so not sure how to tackle it pre upgrade
Craig