My Oracle Support Banner

Oracle Linux 8: Failed to Synchronize Cache For Repo 'repo_name', Ignoring This Repo. (Doc ID 2579182.1)

Last updated on JANUARY 13, 2020

Applies to:

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

Symptoms

While installing package or listing using dnf or yum commands getting below errors:

# dnf repolist
Oracle Linux 8 Application Stream (x86_64) 0.0 B/s | 0 B 00:02
Oracle Linux 8 BaseOS Latest (x86_64) 0.0 B/s | 0 B 00:02
Failed to synchronize cache for repo 'ol8_appstream', ignoring this repo.
Failed to synchronize cache for repo 'ol8_baseos_latest', ignoring this repo.

# tail -f /var/log/dnf.log
2019-08-12T10:58:13Z INFO --- logging initialized ---
2019-08-12T10:58:13Z DDEBUG timer: config: 3 ms
2019-08-12T10:58:13Z DEBUG Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
2019-08-12T10:58:13Z DEBUG DNF version: 4.0.9
2019-08-12T10:58:13Z DDEBUG Command: dnf repolist
2019-08-12T10:58:13Z DDEBUG Installroot: /
2019-08-12T10:58:13Z DDEBUG Releasever: 8
2019-08-12T10:58:13Z DEBUG cachedir: /var/cache/dnf
2019-08-12T10:58:13Z DDEBUG Base command: repolist
2019-08-12T10:58:13Z DDEBUG Extra commands: ['repolist']
2019-08-12T10:58:13Z DEBUG repo: downloading from remote: ol8_appstream
2019-08-12T10:58:16Z DEBUG Cannot download 'https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
2019-08-12T10:58:16Z DEBUG repo: downloading from remote: ol8_baseos_latest
2019-08-12T10:58:18Z DEBUG Cannot download 'https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
2019-08-12T10:58:18Z WARNING Failed to synchronize cache for repo 'ol8_appstream', ignoring this repo.
2019-08-12T10:58:18Z WARNING Failed to synchronize cache for repo 'ol8_baseos_latest', ignoring this repo.
2019-08-12T10:58:18Z DEBUG No module defaults found
2019-08-12T10:58:18Z DDEBUG timer: sack setup: 5157 ms
2019-08-12T10:58:18Z DEBUG Total packages: 0
2019-08-12T10:58:18Z DDEBUG Cleaning up.

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

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