<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Dec 2020 at 16:37, Phelps, Matthew <<a href="mailto:mphelps@cfa.harvard.edu">mphelps@cfa.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 2, 2020 at 4:17 PM Stephen John Smoogen <<a href="mailto:smooge@gmail.com" target="_blank">smooge@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Dec 2020 at 16:09, Phelps, Matthew <<a href="mailto:mphelps@cfa.harvard.edu" target="_blank">mphelps@cfa.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 2, 2020 at 3:43 PM Patrick Riehecky <<a href="mailto:riehecky@fnal.gov" target="_blank">riehecky@fnal.gov</a>> wrote:<br></div><br></div></div></blockquote></div></div></blockquote><div>I'm not really very happy with this throwing an error.</div><div><br></div><div>I get it. People need to upgrade. But breaking things that are part of automated processes is a crappy way to get the message across.</div><div><br></div><div>As I mentioned,¬†upgrades will take some time still, and now I have more work to deal with our unupgraded systems, so now it will take even longer to upgrade.</div><div><br></div><div>Thanks a bunch.</div><div><br></div><div>(Sorry for the sarcasm, but this is not a nice way to deal with the situation).</div><div><br></div></div></div></blockquote><div><br></div><div>1. I am not happy with this myself. I wasn't happy when it happened in EL5 or EL4 or others. However, it is the way things have been done with EOL releases in CentOS for a very long time and was explained that this would be the way it would happen for a year. <br></div><div>2. Fix 1: Mirror the content from an archive of the site closer to your network. It is only a couple hundred gigabytes. Then either use /etc/hosts or change configs so it is used as the place to get content.</div><div>3. Fix 2: Use an upstream mirror like <a href="https://archive.kernel.org/centos-vault/">https://archive.kernel.org/centos-vault/</a> but expect it to be overloaded at times.</div><div>4. Fix 3: Just add enabled=0 to CentOS-Base.repo systems. They aren't going to get updates anymore anyway.<br></div><div><br></div><div>On my CentOS6¬† systems I have a /etc/yum.repos.d/CentOS-Vault.repo which I added the following to:</div><div>```<br></div><div>#-----------------<br><br>[C6.10-base]<br>name=CentOS-6.10 - Base<br>baseurl=<a href="http://vault.centos.org/6.10/os/$basearch/">http://vault.centos.org/6.10/os/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=1<br><br>[C6.10-updates]<br>name=CentOS-6.10 - Updates<br>baseurl=<a href="http://vault.centos.org/6.10/updates/$basearch/">http://vault.centos.org/6.10/updates/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=1<br><br>[C6.10-extras]<br>name=CentOS-6.10 - Extras<br>baseurl=<a href="http://vault.centos.org/6.10/extras/$basearch/">http://vault.centos.org/6.10/extras/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=1<br><br>[C6.10-contrib]<br>name=CentOS-6.10 - Contrib<br>baseurl=<a href="http://vault.centos.org/6.10/contrib/$basearch/">http://vault.centos.org/6.10/contrib/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=0<br><br>[C6.10-centosplus]<br>name=CentOS-6.10 - CentOSPlus<br>baseurl=<a href="http://vault.centos.org/6.10/centosplus/$basearch/">http://vault.centos.org/6.10/centosplus/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=0<br></div><div>```<br></div><div><br></div><div>I then edited the CentOS-Base.repo to</div><div>```<br></div><div>[base]<br>name=CentOS-$releasever - Base<br>mirrorlist=<a href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra</a><br>#baseurl=<a href="http://mirror.centos.org/centos/$releasever/os/$basearch/">http://mirror.centos.org/centos/$releasever/os/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=0<br><br>#released updates<br>[updates]<br>name=CentOS-$releasever - Updates<br>mirrorlist=<a href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra</a><br>#baseurl=<a href="http://mirror.centos.org/centos/$releasever/updates/$basearch/">http://mirror.centos.org/centos/$releasever/updates/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=0<br><br>#additional packages that may be useful<br>[extras] <br>name=CentOS-$releasever - Extras<br>mirrorlist=<a href="http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra">http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra</a><br>#baseurl=<a href="http://mirror.centos.org/centos/$releasever/extras/$basearch/">http://mirror.centos.org/centos/$releasever/extras/$basearch/</a><br>gpgcheck=1<br>gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6<br>enabled=0<br></div><div>```</div><div><br></div><div>I am now starting a slow copy of the vault for my later use.<br></div><div><br></div></div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Stephen J Smoogen.<br><br></div></div></div>