Issues related to applications and software problems and general support
-
search4workingdistro
- Posts: 59
- Joined: 2020/11/18 10:52:19
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
-
TrevorH
- Site Admin
- Posts: 32978
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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.
-
BShT
- Posts: 575
- Joined: 2019/10/09 12:31:40
Post
by BShT » 2023/07/10 10:53:04
point repo to vault.centos.org
-
TrevorH
- Site Admin
- Posts: 32978
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2023/07/10 11:10:05
I think he means "do NOT point to vault.centos.org"
-
BShT
- Posts: 575
- Joined: 2019/10/09 12:31:40
Post
by BShT » 2023/07/10 17:18:17
yes, NOT to
-
TrevorH
- Site Admin
- Posts: 32978
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
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
-
search4workingdistro
- Posts: 59
- Joined: 2020/11/18 10:52:19
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?