oracle / centos2ol

Script and documentation to switch CentOS/Rocky Linux to Oracle Linux
https://linux.oracle.com/switch/centos/
Universal Permissive License v1.0
347 stars 84 forks source link

error on my Switch from centos 6 to OL 6 #77

Open talhassa1 opened 3 years ago

talhassa1 commented 3 years ago

Error: Package: puppet-3.8.3-1.el6.noarch (@/puppet-3.8.3-1.el6.noarch) Requires: facter >= 1:1.7.0 Removing: 1:facter-2.4.4-1.el6.x86_64 (@pb.privat.puppetlabs) facter = 1:2.4.4-1.el6 Downgraded By: facter-1.6.18-8.el6.x86_64 (centos-6-epel) facter = 1.6.18-8.el6 Error: Package: initscripts-9.03.61-1.0.6.el6.x86_64 (@ol6_latest) Requires: /etc/oracle-release Removing: 6:oraclelinux-release-6Server-10.0.2.x86_64 (installed) Not found Obsoleted By: centos-release-6-10.el6.centos.12.3.x86_64 (centos-6-base) Not found Available: 6:oraclelinux-release-6Server-9.0.3.x86_64 (ol6_latest) Not found You could try using --skip-broken to work around the problem ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: fuse-2.8.3-5.el6.x86_64 is a duplicate with fuse-2.8.3-4.el6.x86_64 python-dateutil-1.4.1-7.el6.noarch has missing requires of python-six Could not automatically sync with Oracle Linux repositories. Check the output of 'yum distro-sync' to manually resolve the issue.

tvierling commented 3 years ago

Note that you have facter installed from a non-CentOS repository. This script likely isn't going to be able to cope with those external RPMs since there are not corresponding-version packages in OL.

It may be worth removing the third-party Puppet RPMs temporarily, reattempting the switch, and then reinstalling the third-party Puppet RPMs.

Please also remember that Oracle Linux 6 has exited Premier Support, and will be receiving no further public updates; additional security fixes are only available under an Oracle Linux Support contract with Extended Support. You may be better off installing a new system with OL8 (public updates through July 2029) or OL7 (public updates only through July 2024) and migrating your apps and data to that.

(edit: in case you were thinking of using the "in-place upgrade" from OL6 to OL7, that won't work. The various extra RPMs you have installed will cause the proof-of-concept OL6-OL7 upgrade to fail, perhaps damaging the system, and so the docs for the upgrader specifically state that this configuration is not supported. If your end goal is OL8 or OL7, you're going to need to install from scratch.)