oracle / centos2ol

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

What to do when the script encounters an error? #137

Open whistler119900 opened 2 years ago

whistler119900 commented 2 years ago

Hi there, I was asked to upgrade a physical server from Centos 8 to Oracle Linux.

The script went fine until the yum distro-sync command:

Error: Transaction test error: file /usr/share/pixmaps/poweredby.png from install of oracle-logos-httpd-84.5-1.0.1.el8.noarch conflicts with file from package centos-logos-httpd-80.5-2.el8.noarch

The script aborted here (I think it's line 509). I corrected by uninstalling the package

centos-logos-httpd-80.5-2.el8.noarch

Also, I reissued the yum distro-sync command manually and it was executed successfully.

But now, what I have to do? Is it possible to relaunch the script for converting the installation? Or I have to cut the last portions of it and launch it by myself?

Unfortunately it's not very clear what to do in case of errors.

All the help is appreciated. Thank you