On Fri, 31 May 2019 10:40:45 -0400 Garry Williams gtwilliams@gmail.com wrote:
On Fri, May 24, 2019 at 4:21 AM Samuel Sieb samuel@sieb.net wrote:
Can't you just use "--refresh"?
Nether one of those suggestions gets around the problem I seem to have:
garry@ifr$ sudo dnf makecache;sudo dnf upgrade Fedora 30 openh264 (From Cisco) - x86_64 1.3 kB/s | 542B 00:00 Fedora 30 - x86_64 - Updates 51 kB/s | 16 kB 00:00 Fedora 30 - x86_64 - Updates 84 kB/s | 89 kB 00:01 Failed to synchronize cache for repo 'updates' Error: Failed to synchronize cache for repo 'updates' Fedora 30 - x86_64 - Updates 50 kB/s | 16 kB 00:00 Fedora 30 - x86_64 - Updates 2.5 kB/s | 108 kB 00:43 Failed to synchronize cache for repo 'updates' Error: Failed to synchronize cache for repo 'updates' garry@ifr$ sudo dnf --refresh upgrade Fedora 30 openh264 (From Cisco) - x86_64 2.0 kB/s | 542 B 00:00 Fedora 30 - x86_64 - Updates 130 kB/s | 17 kB 00:00 Fedora 30 - x86_64 - Updates 89 kB/s | 101 kB 00:01 Failed to synchronize cache for repo 'updates' Error: Failed to synchronize cache for repo 'updates' garry@ifr$
The only way I found is to clean all. :-(
It sounds like it is using a stale repository. Have you any plugins that restrict repositories or is there some setting in the /etc/dnf/dnf.conf file?
What happens if you do dnf clean metadata instead of dnf clean all?
What happens without the makecache?
Are there any anomalies in the /etc/yum.repos.d directory? Things that are enabled that should be disabled, and vice versa.