Oracle Linux: "Invalid Version Flag: Or" when updating package
(Doc ID 2756874.1)
Last updated on SEPTEMBER 01, 2024
Applies to:
Linux OS - Version Oracle Linux 7.7 and laterInformation in this document applies to any platform.
Symptoms
When updating yum package using "# yum update <package>", an error is being encountered:
[root@hostname yum.repos.d]# yum --disablerepo=* --enablerepo=ol7_x86_64_latest update yum
Loaded plugins: langpacks, rhnplugin, ulninfo
This system is receiving updates from ULN.
ol7_x86_64_latest | 2.7 kB 00:00:00
ol7_x86_64_latest/group | 660 kB 00:00:00
ol7_x86_64_latest/updateinfo | 3.2 MB 00:00:00
ol7_x86_64_latest/primary_db | 33 MB 00:00:01
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.4.3-163.0.1.el7 will be updated
---> Package yum.noarch 0:3.4.3-168.0.3.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================
Updating:
yum noarch 3.4.3-168.0.3.el7 ol7_x86_64_latest 1.2 M
Transaction Summary
=========================================================================================================================================
Upgrade 1 Package
Total download size: 1.2 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for ol7_x86_64_latest
yum-3.4.3-168.0.3.el7.noarch.rpm | 1.2 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Invalid version flag: or <<<<
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |