Page 1 of 1
Error: Failed to synchronize cache for repo 'BaseOS'
Posted: 2019/11/27 15:40:20
by 1885
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!
Re: Error: Failed to synchronize cache for repo 'BaseOS'
Posted: 2019/11/27 15:55:50
by BShT
try dnf clean all
Re: Error: Failed to synchronize cache for repo 'BaseOS'
Posted: 2019/11/27 16:07:21
by TrevorH
Check networking, check name resolving.
Re: Error: Failed to synchronize cache for repo 'BaseOS'
Posted: 2019/11/27 21:06:39
by 1885
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.
Re: Error: Failed to synchronize cache for repo 'BaseOS'
Posted: 2019/12/02 19:27:48
by 1885
Now we are getting this error on the initial install:
Failed to synchronize cache for repo 'extras', ignoring this repo.
Andy ideas?