Skip to content

Instantly share code, notes, and snippets.

@alanlaird
Last active August 29, 2015 14:17
Show Gist options
  • Save alanlaird/079aa1d567590e51d137 to your computer and use it in GitHub Desktop.
Save alanlaird/079aa1d567590e51d137 to your computer and use it in GitHub Desktop.
CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
but a yum update complains about the repo
[root@pdxnpalaird05 ~]# yum update
Loaded plugins: fastestmirror, langpacks
http://mirror.centos.org/centos/7.0/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
uname -a output:
Linux pdxnpalaird04.laird.net 3.10.0-123.13.1.el7.x86_64 #1 SMP Tue Dec 9 23:06:09 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment