My Oracle Support Banner

OL8: Typing an invalid command results in yum/repo/related error message like "bash: junk_junk: command not found... Failed to search for file: cannot update repo 'ol8_baseos_latest': Cannot download repomd.xml" (Doc ID 2596425.1)

Last updated on OCTOBER 22, 2019

Applies to:

Linux OS - Version Oracle Linux 8.0 and later
Linux x86-64

Symptoms

On newly installed OL8, noticed anytime a typo happens, and a command is NOT found, an additional error is printed to bash terminal as below:

 

Changes

 New installation

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
Changes
Cause
Solution
 -> Execute below command to "unset that function" which is a workaround:
 -> Or Installing 'PackageKit-command-not-found-1.1.12-2.0.1.el8.x86_64' RPM will disable this feature.
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.