View Issue Details

IDProjectCategoryView StatusLast Update
0001205elrepo bug tracker--bug-tracker--OTHER--public2022-02-28 15:09
Reporteruzairali001 Assigned Tostindall  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentos / Rocky LinuxOS Version8
Summary0001205: Unable to install elrepo on centos 8 and rocky linux 8.5
DescriptionAfter installing elrepo on centos or rocky with this command sudo dnf -y install elrepo-release, dnf stops working
[root@docker-test ~]# dnf makecache --refresh
Rocky Linux 8 - AppStream 4.0 kB/s | 4.8 kB 00:01
Rocky Linux 8 - BaseOS 4.2 kB/s | 4.3 kB 00:01
Rocky Linux 8 - Extras 3.4 kB/s | 3.5 kB 00:01
Docker CE Stable - x86_64 14 kB/s | 3.5 kB 00:00
ELRepo.org Community Enterprise Linux Repository - el8 729 B/s | 520 B 00:00
Error: Failed to download metadata for repo 'elrepo': repomd.xml parser error: Parse error at line: 2 (Document is empty
)
Steps To ReproduceRun > sudo dnf -y install elrepo-release
then run > sudo dnf update
TagsNo tags attached.

Activities

toracat

2022-02-28 13:40

administrator   ~0008231

As wolfy suggested in https://github.com/elrepo/packages/issues/242 , try editing the /etc/yum.repos.d/elrepo.conf file and comment out the line mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el8 like:

#mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el8

This will force yum/dnf to use the baseurl.

uzairali001

2022-02-28 15:01

reporter   ~0008233

There is no such a file exists /etc/yum.repos.d/elrepo.conf neither in Centos nor in Rocky Linux instead there is /etc/yum.repos.d/elrepo/elrepo.repo, after editing and commenting out mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo.el8 it's working fine and I'm able to run dnf install kmod-wireguard wireguard-tools.
Thanks

toracat

2022-02-28 15:09

administrator   ~0008234

Sorry, we meant .repo not .conf.

Good to hear things are working now. I think you happened to hit a mirror site that is somehow broken.

Issue History

Date Modified Username Field Change
2022-02-28 11:24 uzairali001 New Issue
2022-02-28 11:24 uzairali001 Status new => assigned
2022-02-28 11:24 uzairali001 Assigned To => stindall
2022-02-28 13:40 toracat Note Added: 0008231
2022-02-28 15:01 uzairali001 Note Added: 0008233
2022-02-28 15:09 toracat Note Added: 0008234
2022-02-28 15:09 toracat Status assigned => resolved
2022-02-28 15:09 toracat Resolution open => fixed