centos2ol icon indicating copy to clipboard operation
centos2ol copied to clipboard

centos2ol.sh: line 559: syntax error: invalid arithmetic operator

Open markmurphy242 opened this issue 3 years ago • 2 comments

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

markmurphy242 avatar Oct 03 '21 16:10 markmurphy242

Thanks, will take a look.

Djelibeybi avatar Oct 03 '21 20:10 Djelibeybi

This is the same as #144, which also includes the fix.

ChristianGfK avatar Jul 04 '22 12:07 ChristianGfK