centos2ol
centos2ol copied to clipboard
centos2ol.sh: line 559: syntax error: invalid arithmetic operator
Near the end of script execution:
centos2ol.sh: line 559: [[: kernel-4.18.0-305.10.2.el8_4 kernel-core-4.18.0-305.10.2.el8_4 kernel-modules-4.18.0-305.10.2.el8_4: syntax error: invalid arithmetic operator (error token is ".18.0-305.10.2.el8_4 kernel-core-4.18.0-305.10.2.el8_4 kernel-modules-4.18.0-305.10.2.el8_4")
The following non-Oracle RPMs are installed on the system:
kernel-4.18.0-305.10.2.el8_4|CentOS|CentOS BuildSystem <http://bugs.centos.org>
gpg-pubkey-8483c65d-5ccc5b19|(none)|CentOS (CentOS Official Signing Key) <[email protected]>
kernel-core-4.18.0-305.10.2.el8_4|CentOS|CentOS BuildSystem <http://bugs.centos.org>
kernel-modules-4.18.0-305.10.2.el8_4|CentOS|CentOS BuildSystem <http://bugs.centos.org>
This may be expected of your environment and does not necessarily indicate a problem.
Red Hat Enterprise Linux release 8.4 (Ootpa) Oracle Linux Server release 8.4
Thanks, will take a look.
This is the same as #144, which also includes the fix.