Hello,
How to find repository ID of my repositories. In order to disable repos I need to know the ID of the repo, but I can not find that. Does not help some fedora sites are not working now.
Thanks
The repository ID is the bits in the []
(square brackets) in the repository configuration files in /etc/yum.repos.d
. From man dnf.conf
:
The configuration file has INI format consisting of section declaration and name=value options below each on separate line.
There are two types of sections in the configuration files: main and repository. Main section defines all global configuration options and should be only one.
The repository sections define the configuration for each (remote or local) repository.
The section name of the repository in brackets serve as repo ID reference and should be unique across configuration files.
The allowed characters of repo ID string are lower and upper case alphabetic letters, digits, -, _, . and :.
The minimal repository configuration file should aside from repo ID consists of baseurl, metalink or mirrorlist option definition.
The ID is shown when you run dnf repolist
:
$ cat /etc/yum.repos.d/_copr\:copr.fedorainfracloud.org\:flatcap\:neomutt.repo
[copr:copr.fedorainfracloud.org:flatcap:neomutt]
name=Copr repo for neomutt owned by flatcap
baseurl=https://copr-be.cloud.fedoraproject.org/results/flatcap/neomutt/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/flatcap/neomutt/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
$ sudo dnf repolist
repo id repo name
adobe-linux-x86_64 Adobe Systems Incorporated
copr:copr.fedorainfracloud.org:ankursinha:Takjuggler Copr repo for Takjuggler owned by ankursinha
copr:copr.fedorainfracloud.org:decathorpe:fedora-update-feedback Copr repo for fedora-update-feedback owned by decathorpe
copr:copr.fedorainfracloud.org:flatcap:neomutt Copr repo for neomutt owned by flatcap
fedora Fedora 32 - x86_64
fedora-cisco-openh264 Fedora 32 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 32 - x86_64
google-chrome google-chrome
rpmfusion-free RPM Fusion for Fedora 32 - Free
rpmfusion-free-updates RPM Fusion for Fedora 32 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 32 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 32 - Nonfree - Updates
updates Fedora 32 - x86_64 - Updates
updates-modular Fedora Modular 32 - x86_64 - Updates
updates-testing
What do you mean by that? Are some repos not accessible? Can you please share the output of your dnf commands that suggests this?
@FranciscoD thanks
https://bodhi.fedoraproject.org/updates/?releases=F32&status=testing was not responding for some time. Now it is OK
There’s an infrastructure move going on, so most services will see some reduced performance.
https://status.fedoraproject.org/
However, this does not mean the repos will not work. If you experience that, please file a ticket with Fedora infrastructure here: OpenID transaction in progress
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.