Error: Failed to synchronize cache for repo 'BaseOS'

Issues related to applications and software problems and general support
Post Reply
1885
Posts: 139
Joined: 2014/10/25 13:33:03

Error: Failed to synchronize cache for repo 'BaseOS'

Post by 1885 » 2019/11/27 15:40:20

Code: Select all


Last login: Tue Nov 26 14:29:29 2019 from 10.183.1.21
[cwc@euler ~]$ sudo dnf update
[sudo] password for cwc: 
CentOS-8 - Base                                                                                                                                               524  B/s | 1.1 kB     00:02    
Error: Failed to synchronize cache for repo 'BaseOS'
Please throw me a bone on how to fix this!

BShT
Posts: 585
Joined: 2019/10/09 12:31:40

Re: Error: Failed to synchronize cache for repo 'BaseOS'

Post by BShT » 2019/11/27 15:55:50

try dnf clean all

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error: Failed to synchronize cache for repo 'BaseOS'

Post by TrevorH » 2019/11/27 16:07:21

Check networking, check name resolving.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

1885
Posts: 139
Joined: 2014/10/25 13:33:03

Re: Error: Failed to synchronize cache for repo 'BaseOS'

Post by 1885 » 2019/11/27 21:06:39

Thank you. it could be our firewall.
using dhcp dnf install works

To change an ip of a headless server I run:
#!/bin/bash
nmcli con mod enp0s3 ipv4.addresses 192.168.1.13/24;
nmcli con mod enp0s3 ipv4.gateway 192.168.1.1;
nmcli con mod enp0s3 ipv4.method manual;
nmcli con mod enp0s3 ipv4.dns "8.8.8.8";
nmcli con up enp0s3;
ip addr show enp0s3;

We then manually edit:
/etc/resolve.conf

Then we the dnf error.
I will not be able to work on this for about 5 days.

1885
Posts: 139
Joined: 2014/10/25 13:33:03

Re: Error: Failed to synchronize cache for repo 'BaseOS'

Post by 1885 » 2019/12/02 19:27:48

Now we are getting this error on the initial install:
Failed to synchronize cache for repo 'extras', ignoring this repo.
Andy ideas?

Post Reply