All mirrors were tried

Issues related to applications and software problems and general support
search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

All mirrors were tried

Post by search4workingdistro » 2023/06/05 21:39:56

Good night. Does anyone know how to fix that?

Code: Select all

$ sudo dnf update
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

CentOS Stream 8 - AppStream                                                                                            16 kB/s | 8.1 kB     00:00    
Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for https://vault.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/repomd.xml (IP: 13.225.244.90)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

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

Re: All mirrors were tried

Post by TrevorH » 2023/06/05 23:06:45

Why do you have repos pointing at vault.centos.org? That's where old CentOS versions go to die.
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

search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

Re: All mirrors were tried

Post by search4workingdistro » 2023/07/08 21:09:28

I don't know. How do I fix that?

search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

Re: All mirrors were tried

Post by search4workingdistro » 2023/07/09 18:21:30

Anyone?

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

Re: All mirrors were tried

Post by BShT » 2023/07/10 10:53:04

search4workingdistro wrote:
2023/07/08 21:09:28
I don't know. How do I fix that?

point repo to vault.centos.org

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

Re: All mirrors were tried

Post by TrevorH » 2023/07/10 11:10:05

I think he means "do NOT point to vault.centos.org"
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

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

Re: All mirrors were tried

Post by BShT » 2023/07/10 17:18:17

yes, NOT to

search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

Re: All mirrors were tried

Post by search4workingdistro » 2023/07/10 20:16:25

Can you guys please explain in more details how exactly do I (not) do this? Which commands do I type?

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

Re: All mirrors were tried

Post by TrevorH » 2023/07/10 20:30:50

Run yum repolist
Examine the files in /etc/yum.repos.d
Look for vault
Change enabled=1 to 0
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

search4workingdistro
Posts: 66
Joined: 2020/11/18 10:52:19

Re: All mirrors were tried

Post by search4workingdistro » 2023/07/30 12:03:18

TrevorH wrote:
2023/07/10 20:30:50
Run yum repolist

Code: Select all

$  yum repolist
Not root, Subscription Management repositories not updated

This system is not registered with an entitlement server. You can use subscription-manager to register.

repo id                                               repo name
appstream                                             CentOS Stream 8 - AppStream
baseos                                                CentOS Stream 8 - BaseOS
brave-browser-rpm-release.s3.brave.com_x86_64_        created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
docker-ce-stable                                      Docker CE Stable - x86_64
epel                                                  Extra Packages for Enterprise Linux 8 - x86_64
epel-next                                             Extra Packages for Enterprise Linux 8 - Next - x86_64
extras                                                CentOS Stream 8 - Extras
extras-common                                         CentOS Stream 8 - Extras common packages
google-chrome                                         google-chrome
rpmfusion-free-updates                                RPM Fusion for EL 8 - Free - Updates
rpmfusion-nonfree-updates                             RPM Fusion for EL 8 - Nonfree - Updates
skype-stable                                          skype (stable)
slack                                                 slack
teams                                                 teams
teamviewer                                            TeamViewer - x86_64
virtualbox                                            Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualBox
TrevorH wrote:
2023/07/10 20:30:50
Examine the files in /etc/yum.repos.d
Examine for what? Could you please be a bit more specific, ideally with a 'grep /etc/yum.repos.d ...' command?
TrevorH wrote:
2023/07/10 20:30:50
Look for vault
Look for what?

Is there a set of commands or a followable article to bring Centos dnf system from disrepair to normal?

Post Reply