-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In the latest (7.9.63) version of the CentOS 7 box the updates (same for extras, centosplus) repo points to URL for base repo.
Cloud Image
Vagrant, libvirt, eurolinux-vagrant/centos-7 box version 7.9.63
To Reproduce
- Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.box = "eurolinux-vagrant/centos-7"
end
vagrant upvagrant sshcat /etc/yum.repos.d/CentOS-Vault-Base.repo- see the updates (same for
extras,centosplus) repo has wrong URL
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/7.9.2009/os/x86_64
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Expected behavior
A clear and concise description of what you expected to happen.
Under the updates (same for extras, centosplus) repo should be:
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/7.9.2009/updates/x86_64
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Additional context
I used this sed command to fix this issue for updates:
sed -i '/\[updates\]/,/\[/{s|^baseurl=.*|baseurl=http://vault.centos.org/7.9.2009/updates/x86_64|}' /etc/yum.repos.d/CentOS-Vault-Base.repo
And vice versa for the other repos.
bocekm and AlexBaranowski
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working