User Tools

Site Tools


linux:admin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:admin [2021/04/23 03:08] – [Fix Old CentOS Repos] adminlinux:admin [2022/10/29 16:15] (current) – external edit 127.0.0.1
Line 14: Line 14:
 removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
 </code> </code>
-Fix: **Update /etc/yum.repos.d/CentOS-Base.repo**+ 
 +Steps: 
 +  - Step1: **Update /etc/yum.repos.d/CentOS-Base.repo**
 <code bash> <code bash>
 [base] [base]
Line 33: Line 35:
 enabled=0 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
 +</code>
 +  - Step2:<code bash>
 +yum clean all
 </code> </code>
 ===== Install software ===== ===== Install software =====
linux/admin.1619147293.txt.gz · Last modified: 2022/10/29 16:15 (external edit)