My Oracle Support Banner

Oracle Linux: DNF Repolist Command Fails with Error "NameError: name 'urllib2' is not defined" (Doc ID 2904512.1)

Last updated on OCTOBER 27, 2022

Applies to:

Linux OS - Version Oracle Linux 8.6 with Unbreakable Enterprise Kernel [5.4.17] and later
Linux x86-64

Symptoms

 dnf repolist command reports with the below error.

Changes

No Changes

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


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