rocky-linux / rocky-tools

MIT License
401 stars 139 forks source link

Duplicate packages when upgrading from RHEL8.9 to Rocky 8 #205

Closed ryanvade closed 10 months ago

ryanvade commented 10 months ago
migrate2rocky - Begin logging at Mon 27 Nov 2023 04:15:05 PM CST.

Updating Subscription Management repositories.
Error: Check discovered 8 problem(s)
cpio-2.12-10.el8.x86_64 is a duplicate with cpio-2.12-11.el8.x86_64
gzip-1.9-12.el8.x86_64 is a duplicate with gzip-1.9-13.el8_5.x86_64
info-6.5-6.el8.x86_64 is a duplicate with info-6.5-7.el8.x86_64
json-c-0.13.1-2.el8.x86_64 is a duplicate with json-c-0.13.1-3.el8.x86_64
kmod-25-18.el8.x86_64 is a duplicate with kmod-25-19.el8.x86_64
kmod-libs-25-18.el8.x86_64 is a duplicate with kmod-libs-25-19.el8.x86_64
libseccomp-2.5.1-1.el8.x86_64 is a duplicate with libseccomp-2.5.2-1.el8.x86_64
sed-4.5-2.el8.x86_64 is a duplicate with sed-4.5-5.el8.x86_64

Errors found in dnf/rpm database.  Please correct before running migrate2rocky.

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.
ryanvade commented 10 months ago
Red Hat Enterprise Linux release 8.9 (Ootpa)
repo id                                              repo name
elrepo                                               ELRepo.org Community Enterprise Linux Repository - el8
epel                                                 Extra Packages for Enterprise Linux 8 - x86_64
rhel-8-for-x86_64-appstream-rpms                     Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                        Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rpmfusion-free-updates                               RPM Fusion for EL 8 - Free - Updates
rpmfusion-nonfree-updates                            RPM Fusion for EL 8 - Nonfree - Updates
pajamian commented 10 months ago

Your system is failing the pre-migration repository check. At some point you managed to get duplicate versions of the same packages installed which has corrupted the dnf repos on your system. migrate2rocky is refusing to attempt a migration in these circumstances because it could cause further damage.

You need to fix the issues on your system before running migrate2rocky.