CentOS Stream 9 nfv-source error

Issues related to applications and software problems and general support
Post Reply
beginner
Posts: 11
Joined: 2022/01/06 15:37:04

CentOS Stream 9 nfv-source error

Post by beginner » 2022/01/06 15:47:05

hello Dear team,

I installed Centos Stream (9). Now each time I try to do any install or any update, by yum, I receive this message (see below). I tried several things, but nothing works (/etc/yum.repos.d/nfv-source.repo)

CentOS Stream 9 - NFV - Source 25 kB/s | 86 kB 00:03
Errors during downloading metadata for repository 'nfv-source':
- Status code: 404 for https://mirrors.centos.org/metalink?rep ... https,http (IP: 85.236.55.6)
Erreur : Échec du téléchargement des métadonnées pour le dépôt « nfv-source » : Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.centos.org/metalink?rep ... https,http (IP: 85.236.55.6)

Any idea ?

Kind regards

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

Re: CentOS Stream 9 nfv-source error

Post by TrevorH » 2022/01/06 15:50:36

Apparently you have enabled a repo called nfv-source. Disable it.

Please note that CentOS Stream 9 is at best an alpha distro (it's a beta of the RHEL 9 beta). Do not use it for production use.
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

beginner
Posts: 11
Joined: 2022/01/06 15:37:04

Re: CentOS Stream 9 nfv-source error

Post by beginner » 2022/01/06 21:20:53

Hello,

Thanks will try it

Regards

beginner
Posts: 11
Joined: 2022/01/06 15:37:04

Re: CentOS Stream 9 nfv-source error

Post by beginner » 2022/01/07 10:01:11

hello dear team,

I disabled the nfv-source repository as requested, but I still have this error

created by dnf config-manager from file:///home 0.0 B/s | 0 B 00:02
Errors during downloading metadata for repository 'home_xxxx_nfv-source':
- Curl error (7): Couldn't connect to server for https://mirrorlist.centos.org/repodata/repomd.xml [Failed to connect to mirrorlist.centos.org port 443: no path found to reach target host
Erreur : Échec du téléchargement des métadonnées pour le dépôt « home_xxxx_nfv-source » : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

here is the content of my nfv-source.repo

[home_xxxxx_nfv-source]
name=created by dnf config-manager from file:///home/xxxxxx/nfv-source
#baseurl=file:///home/xxxx/nfv-source
#baseurl=https://152.19.134.142
baseurl=https://mirrorlist.centos.org
enabled=1


what do I have to specify as baseurl to mirrorlist ?

kind regards

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

Re: CentOS Stream 9 nfv-source error

Post by TrevorH » 2022/01/07 16:22:05

enabled=1
Which bit of "disabled" is that?
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

beginner
Posts: 11
Joined: 2022/01/06 15:37:04

Re: CentOS Stream 9 nfv-source error

Post by beginner » 2022/01/09 07:31:33

Hello

This bit is for enabling/disabling the repositary updates. Anyway. I found an other way to reset all repositary, now it works, no more errors after yum command.

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CentOS Stream 9 nfv-source error

Post by jlehtone » 2022/01/09 12:32:05

beginner wrote:
2022/01/09 07:31:33
This bit is for enabling/disabling the repositary updates.
Please explain what you mean by that.

beginner
Posts: 11
Joined: 2022/01/06 15:37:04

Re: CentOS Stream 9 nfv-source error

Post by beginner » 2022/01/10 09:01:05

Hello, I already solved the prob. But What I mean, when you do an install by yum, your system will look into differents repository. whit this param you tell him not to look into it. But now I found how to reset all repositories.

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: CentOS Stream 9 nfv-source error

Post by jlehtone » 2022/01/10 10:00:49

Yes, when you do install with yum (aka "dnf"), the yum will look packages from known and enabled repositories.

A repository is "known", if there is an entry for it in some /etc/yum.repos.d/*.repo -file.

A known repository is "disabled", if its entry contains "enabled=0". If there is "enabled=1" or no "enabled" at all, then the repo is enabled, i.e. not disabled.

Post Reply