Issue installation

Hi guys, I was unsuccessful to convert centos stream 8 to rocky linux, I followed the script migrated but I show me an error with one package openvpn3 (migrate2rocky.log

migrate2rocky - Begin logging at jeu. 21 déc. 2023 14:47:04 CST.

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Removing dnf cache
Preparing to migrate CentOS Stream 8 to Rocky Linux 8.

Found the following repositories which map from CentOS Stream 8 to Rocky Linux 8:
CentOS Stream 8 Rocky Linux 8
appstream appstream
powertools devel
baseos baseos
extras extras
powertools powertools

Getting system package names for CentOS Stream 8…

Found the following system packages which map from CentOS Stream 8 to Rocky Linux 8:
CentOS Stream 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-stream-release rocky-release
centos-logos-httpd rocky-logos-httpd
centos-stream-repos rocky-repos

Getting list of installed system packages.

We will replace the following CentOS Stream 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-stream-release rocky-release
rocky-repos

Also to aid the transition from CentOS Stream the following packages will be removed from the rpm database but the included repos will be renamed and retained but disabled:
centos-stream-repos

Also to aid the transition from CentOS Stream the repos included in the following packages will be renamed and retained but disabled:
epel-next-release

In addition to the above the following system packages will be removed:
centos-stream-release
centos-stream-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:
javapackages-runtime:201801
javapackages-tools:201801
llvm-toolset:rhel8
nginx:1.14
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.
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:01:26 ago on Thu Dec 21 14:48:07 2023.
Dependencies resolved.

Package Arch Version Repository Size

Installing:
kernel x86_64 4.18.0-529.el8 baseos 10 M
kernel-core x86_64 4.18.0-529.el8 baseos 43 M
kernel-devel x86_64 4.18.0-529.el8 baseos 24 M
kernel-modules x86_64 4.18.0-529.el8 baseos 36 M
Upgrading:
avahi x86_64 0.7-26.el8 baseos 299 k
avahi-glib x86_64 0.7-26.el8 baseos 15 k
avahi-libs x86_64 0.7-26.el8 baseos 62 k
avahi-ui-gtk3 x86_64 0.7-26.el8 appstream 27 k
… etc…
Removing:
kernel x86_64 4.18.0-521.el8 baseos 0
kernel-core x86_64 4.18.0-521.el8 baseos 71 M
kernel-devel x86_64 4.18.0-521.el8 baseos 53 M
kernel-modules x86_64 4.18.0-521.el8 baseos 25 M

Transaction Summary

Install 4 Packages
Upgrade 105 Packages
Remove 4 Packages

Total download size: 946 M
Downloading Packages:
(1/109): kernel-4.18.0-529.el8.x86_64.rpm 1.5 MB/s | 10 MB 00:06
(2/109): kernel-core-4.18.0-529.el8.x86_64.rpm 3.9 MB/s | 43 MB 00:10
(3/109): avahi-ui-gtk3-0.7-26.el8.x86_64.rpm 54 kB/s | 27 kB 00:00

Total 6.3 MB/s | 946 MB 02:30
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
… etc…
Cleanup : numad-0.5-26.20150602git.el8.x86_64 217/218
Running scriptlet: numad-0.5-26.20150602git.el8.x86_64 217/218
Cleanup : bpftool-4.18.0-526.el8.x86_64 218/218
Running scriptlet: nss-3.90.0-4.el8.x86_64 218/218
Running scriptlet: kernel-core-4.18.0-529.el8.x86_64 218/218
dkms: running auto installation service for kernel 4.18.0-529.el8.x86_64 Done.

Running scriptlet: kernel-modules-4.18.0-529.el8.x86_64 218/218
Running scriptlet: firefox-115.5.0-1.el8.x86_64 218/218
Running scriptlet: bpftool-4.18.0-526.el8.x86_64 218/218
Running scriptlet: shared-mime-info-1.9-4.el8.x86_64 218/218
Verifying : kernel-4.18.0-529.el8.x86_64 1/218
Verifying : kernel-core-4.18.0-529.el8.x86_64 2/218
Verifying : kernel-devel-4.18.0-529.el8.x86_64 3/218
Verifying : kernel-modules-4.18.0-529.el8.x86_64 4/218
Verifying : avahi-ui-gtk3-0.7-26.el8.x86_64 5/218
Verifying : avahi-ui-gtk3-0.7-21.el8.x86_64 6/218
Verifying : kernel-modules-4.18.0-521.el8.x86_64 218/218
Installed products updated.

Upgraded:
avahi-0.7-26.el8.x86_64
avahi-glib-0.7-26.el8.x86_64
avahi-libs-0.7-26.el8.x86_64
avahi-ui-gtk3-0.7-26.el8.x86_64
installed:
kernel-4.18.0-529.el8.x86_64 kernel-core-4.18.0-529.el8.x86_64
kernel-devel-4.18.0-529.el8.x86_64 kernel-modules-4.18.0-529.el8.x86_64
Removed:
kernel-4.18.0-521.el8.x86_64 kernel-core-4.18.0-521.el8.x86_64
kernel-devel-4.18.0-521.el8.x86_64 kernel-modules-4.18.0-521.el8.x86_64

Complete!
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Added rockyappstream repo from Index of /pub/rocky/8/AppStream/x86_64/os/
Added rockybaseos repo from Index of /pub/rocky/8/BaseOS/x86_64/os/
rockyappstream 2.8 MB/s | 9.6 MB 00:03
rockybaseos 2.0 MB/s | 3.9 MB 00:01
Last metadata expiration check: 0:00:01 ago on Thu Dec 21 15:04:57 2023.

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
rocky-backgrounds noarch 86.3-1.el8 rockyappstream 331 k
rocky-gpg-keys noarch 8.9-1.6.el8 rockybaseos 13 k
rocky-indexhtml noarch 8.0-0.el8 rockybaseos 266 k
rocky-logos x86_64 86.3-1.el8 rockybaseos 328 k
rocky-release noarch 8.9-1.6.el8 rockybaseos 22 k
rocky-repos noarch 8.9-1.6.el8 rockybaseos 15 k
Removing:
centos-backgrounds noarch 85.8-2.el8 appstream 23 M
centos-gpg-keys noarch 1:8-6.el8 baseos 5.4 k
centos-indexhtml noarch 8.0-0.el8 anaconda 505 k
centos-logos x86_64 85.8-2.el8 baseos 716 k
centos-stream-release noarch 8.6-1.el8 baseos 26 k

Transaction Summary

Install 6 Packages
Remove 5 Packages

Total download size: 974 k
Downloading Packages:
(1/6): rocky-gpg-keys-8.9-1.6.el8.noarch.rpm 20 kB/s | 13 kB 00:00
(2/6): rocky-indexhtml-8.0-0.el8.noarch.rpm 328 kB/s | 266 kB 00:00
(3/6): rocky-backgrounds-86.3-1.el8.noarch.rpm 390 kB/s | 331 kB 00:00
(4/6): rocky-release-8.9-1.6.el8.noarch.rpm 71 kB/s | 22 kB 00:00
(5/6): rocky-repos-8.9-1.6.el8.noarch.rpm 41 kB/s | 15 kB 00:00
(6/6): rocky-logos-86.3-1.el8.x86_64.rpm 541 kB/s | 328 kB 00:00

Total 784 kB/s | 974 kB 00:01
rockyappstream 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x6D745A60:
Userid : “Release Engineering ”
Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
From : /tmp/tmp.w3ge9rDNau/gpg/RPM-GPG-KEY-rockyofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: rocky-logos-86.3-1.el8.x86_64 1/1
Installing : rocky-logos-86.3-1.el8.x86_64 1/11
Running scriptlet: rocky-logos-86.3-1.el8.x86_64 1/11
Installing : rocky-gpg-keys-8.9-1.6.el8.noarch 2/11
Installing : rocky-release-8.9-1.6.el8.noarch 3/11
Installing : rocky-repos-8.9-1.6.el8.noarch 4/11
warning: /etc/dnf/vars/contentdir created as /etc/dnf/vars/contentdir.rpmnew

Installing : rocky-backgrounds-86.3-1.el8.noarch 5/11
Installing : rocky-indexhtml-8.0-0.el8.noarch 6/11
Erasing : centos-backgrounds-85.8-2.el8.noarch 7/11
Erasing : centos-logos-85.8-2.el8.x86_64 8/11
Running scriptlet: centos-logos-85.8-2.el8.x86_64 8/11
Erasing : centos-stream-release-8.6-1.el8.noarch 9/11
Erasing : centos-indexhtml-8.0-0.el8.noarch 10/11
Erasing : centos-gpg-keys-1:8-6.el8.noarch 11/11
Running scriptlet: rocky-logos-86.3-1.el8.x86_64 11/11
Running scriptlet: centos-gpg-keys-1:8-6.el8.noarch 11/11
Verifying : rocky-backgrounds-86.3-1.el8.noarch 1/11
Verifying : rocky-gpg-keys-8.9-1.6.el8.noarch 2/11
Verifying : rocky-indexhtml-8.0-0.el8.noarch 3/11
Verifying : rocky-logos-86.3-1.el8.x86_64 4/11
Verifying : rocky-release-8.9-1.6.el8.noarch 5/11
Verifying : rocky-repos-8.9-1.6.el8.noarch 6/11
Verifying : centos-backgrounds-85.8-2.el8.noarch 7/11
Verifying : centos-gpg-keys-1:8-6.el8.noarch 8/11
Verifying : centos-indexhtml-8.0-0.el8.noarch 9/11
Verifying : centos-logos-85.8-2.el8.x86_64 10/11
Verifying : centos-stream-release-8.6-1.el8.noarch 11/11
Installed products updated.

Installed:
rocky-backgrounds-86.3-1.el8.noarch rocky-gpg-keys-8.9-1.6.el8.noarch
rocky-indexhtml-8.0-0.el8.noarch rocky-logos-86.3-1.el8.x86_64
rocky-release-8.9-1.6.el8.noarch rocky-repos-8.9-1.6.el8.noarch
Removed:
centos-backgrounds-85.8-2.el8.noarch centos-gpg-keys-1:8-6.el8.noarch
centos-indexhtml-8.0-0.el8.noarch centos-logos-85.8-2.el8.x86_64
centos-stream-release-8.6-1.el8.noarch

Complete!
Last metadata expiration check: 0:00:14 ago on Thu Dec 21 15:04:57 2023.

Leaving Shell
Ensuring repos are enabled before the package swap
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Enabling modules

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

CentOS Stream 8 - AppStream 4.0 MB/s | 35 MB 00:08
CentOS Stream 8 - BaseOS 3.9 MB/s | 57 MB 00:14
CentOS Stream 8 - Extras 18 kB/s | 18 kB 00:00
CentOS Stream 8 - Extras common packages 11 kB/s | 6.9 kB 00:00
CentOS Stream 8 - PowerTools 1.5 MB/s | 6.6 MB 00:04
Rocky Linux 8 - AppStream 2.9 MB/s | 9.6 MB 00:03
Rocky Linux 8 - BaseOS 1.6 MB/s | 3.9 MB 00:02
Rocky Linux 8 - Devel WARNING! FOR BUILDROOT AN 4.6 MB/s | 17 MB 00:03
Rocky Linux 8 - Extras 2.3 kB/s | 14 kB 00:05
Rocky Linux 8 - PowerTools 1.9 MB/s | 2.5 MB 00:01
Extra Packages for Enterprise Linux 8 - Next - 210 kB/s | 368 kB 00:01
Dependencies resolved.
Nothing to do.
Complete!
Disabling excluded modules

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:10 ago on Thu Dec 21 15:06:30 2023.
Only module name is required. Ignoring unneeded information in argument: ‘libselinux-python:2.8’
Dependencies resolved.

Package Architecture Version Repository Size

Disabling modules:
libselinux-python

Transaction Summary

Complete!

Syncing packages

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:15 ago on Thu Dec 21 15:06:30 2023.
Error: **
** Problem 1: package openvpn3-19-1.beta1.el8.x86_64 from System requires libtinyxml2.so.7()(64bit), but none of the providers can be installed

** - tinyxml2-7.0.1-5.el8.x86_64 from System does not belong to a distupgrade repository**
** - problem with installed package openvpn3-19-1.beta1.el8.x86_64**
** Problem 2: package openvpn3-19-1.beta1.el8.x86_64 from System requires libtinyxml2.so.7()(64bit), but none of the providers can be installed**
** - cannot install both tinyxml2-6.0.0-3.el8.x86_64 from stream-powertools and tinyxml2-7.0.1-5.el8.x86_64 from System**
** - package openvpn3-client-19-1.beta1.el8.x86_64 from System requires openvpn3(x86-64) = 19-1.beta1.el8, but none of the providers can be installed**
** - cannot install the best update candidate for package tinyxml2-7.0.1-5.el8.x86_64**
** - problem with installed package openvpn3-client-19-1.beta1.el8.x86_64**
(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 during distro-sync.

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.

So I unistalled the package openvpn3 so I try one more time but It doesn’t complente at all (migrate2rocky.log)

migrate2rocky - Begin logging at jeu. 21 déc. 2023 21:45:55 CST.

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Removing dnf cache
Preparing to migrate Rocky Linux 8.9 (Green Obsidian) to Rocky Linux 8.

Found the following repositories which map from Rocky Linux 8.9 (Green Obsidian) to Rocky Linux 8:
Rocky Linux 8.9 (Green Obsidian) Rocky Linux 8
stream-appstream appstream
stream-powertools devel
devel ha
stream-baseos baseos
stream-extras extras
stream-powertools powertools

Getting system package names for Rocky Linux 8.9 (Green Obsidian)
Found a full or partial RockyLinux install already in place. Aborting

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.

So What’s happening? I login successful en the PC (cat /etc/centos-release Rocky Linux release 8.9 (Green Obsidian) ), but It is already migrate to rocky? What’s mean the error?
Thanks in advance.

I guess that your issue is in this. You still have subscription-manager plugin enabled, so whenever some package needs to be downloaded it check for the valid subscription from Red Hat.

You could try and disable this plugin as discussed here:

Or, you can remove subscription-manager plugin altogether, just keep in mind that this will also remove following packages: podman, ovirt, cockpit

So if you don’t need those packages, you can do it that way.

Hope this helps.

Best Regards.

Does it? (Oh, in Stream it probably does.)

Nevertheless, the remove, migrate, reinstall is a valid strategy as long as data removed by removal can be restored.
(The “ultimate” form of that is to make a fresh install of new distro and then restore user data.)

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.