I can't download/update anything on a newly built Centos 8 VM.

Issues related to applications and software problems and general support
Post Reply
kim98356
Posts: 2
Joined: 2020/02/19 18:02:38

I can't download/update anything on a newly built Centos 8 VM.

Post by kim98356 » 2020/02/19 18:09:53

# cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)
# uname -a
Linux ODCLIXVLTAPP03.xxxxxxxx.xxx 4.18.0-147.el8.x86_64 #1 SMP Wed Dec 4 21:51:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# yum update
CentOS-8 - AppStream 0.0 B/s | 0 B 00:00
Failed to download metadata for repo 'AppStream'
Error: Failed to download metadata for repo 'AppStream'

# nslookup yahoo.com

Non-authoritative answer:
Name: yahoo.com
Address: 72.30.35.9
Name: yahoo.com
Address: 72.30.35.10
Name: yahoo.com
Address: 98.137.246.7
Name: yahoo.com
Address: 98.137.246.8
Name: yahoo.com
Address: 98.138.219.231
Name: yahoo.com
Address: 98.138.219.232
Name: yahoo.com
Address: 2001:4998:44:41d::3
Name: yahoo.com
Address: 2001:4998:44:41d::4
Name: yahoo.com
Address: 2001:4998:58:1836::10
Name: yahoo.com
Address: 2001:4998:58:1836::11
Name: yahoo.com
Address: 2001:4998:c:1023::4
Name: yahoo.com
Address: 2001:4998:c:1023::5
--------------------------------------
The new VM was built from the ISO image file.
So far I tried to clean up dnf process but no lock. Any help would be greatly appreciated.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: I can't download/update anything on a newly built Centos 8 VM.

Post by aks » 2020/02/25 18:31:44

"Error: Failed to download metadata for repo 'AppStream'"
Can't connect to the server/mirror in /etc/yum.repos.d/ for appstream (or it's not responding).
nslookup yahoo.com
Why yahoo?

kim98356
Posts: 2
Joined: 2020/02/19 18:02:38

Re: I can't download/update anything on a newly built Centos 8 VM.

Post by kim98356 » 2020/02/28 15:58:21

just to confirm that the dns works since the new VM is at my work.
I have a few centos 7 VMs that work just fine.

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

Re: I can't download/update anything on a newly built Centos 8 VM.

Post by BShT » 2020/02/28 17:51:43

look at your DNS, at your firewall, at your dhcpd, if your NIC is up, what kind of network your VM is using

Post Reply