For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 8 > Installing From The Vault

Installing From The Vault

Created by dave. Last edited by dave, 2 years and 46 days ago. Viewed 780 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2022-02-01)

Problem

# sudo dnf (operation)
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
#

Solution

CentOS-8 is end of life. If you want to use the last released version of everything that's "official" CentOS-8, you gotta use the vault.

# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*

(>>Source)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt