How to fix CentOS 5 or 6 error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file Rumi, December 6, 2020July 9, 2021 The error looks like- And here goes the resolution (please carefully update/use the exact CentOS version you are using, in my case it was CentOS 6.9) 1. Go to /etc/yum.repos.d/ directory: # cd /etc/yum.repos.d/ 2. Make copy of original file: # cp CentOS-Base.repo CentOS-Base.repo.old 3. Open and edit file with any text editor: # vi CentOS-Base.repo looks 4. After editing it should looks like: [base] name=CentOS-$releasever - Base # mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://vault.centos.org/6.9/os/$basearch gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 exclude=redhat-logos 5. Clean yum cache # yum clean all 6. Run again yum update command: # yum update That’s It An alternate Repo other than CentOS vault- [base] name=CentOS-$releasever - Base # mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://ftp.uem.br/linux/CentOS/6.10/os/$basearch gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 exclude=redhat-logos Ref: https://arstech.net/yumrepo-error-all-mirror-urls-are-not-using-ftp-https-or-file/ Related Administrations Configurations (Linux) CentOSCentOS 5CentOS 6RepositoryYum
Install XRDP in Debian 9 August 8, 2018 Install XRDP and TigerVNC server $ sudo apt install -y xrdp tigervnc-standalone-server Connect XRDP from Windows 10 Windows start button -> Windows Accesssories -> Remote Desktop Connection Input FQDN or IP address of XRDP server and connect to XRDP. XRDP RDP terminal will appear. Select “XVNC” Session and connect. … Read More
Troubleshoot email on a new Discourse install November 22, 2023 If you’ve just installed discourse, but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. Try the doctor cd /var/discourse ./discourse-doctor It will check several ways that your mail configuration might be broken, and offer advice. Try that first. Did… Read More
Large file split and join in linux July 19, 2021 Let’s assume we have a large file of 102 GB and named as “vzdump-lxc-103-2021_07_19-12_05_06.tar.lzo”. We’d like to split this large file into 10GB of partial file. Let’s apply the split command as below- split -b 102400M vzdump-lxc-103-2021_07_19-12_05_06.tar.lzo repo. Wait for a while, the execution continues, and once over, you’ll find… Read More
Also for epel.repo use baseurl=http://archives.fedoraproject.org/pub/archive/epel/6/$basearch They have deprecated CentOS 6.x 🙁 More info: http://mirror.centos.org/centos/6/readme Reply
I just found this on stackoverflow that worked for me echo “https://vault.centos.org/6.10/os/x86_64/” > /var/cache/yum/x86_64/6/base/mirrorlist.txt echo “http://vault.centos.org/6.10/extras/x86_64/” > /var/cache/yum/x86_64/6/extras/mirrorlist.txt echo “http://vault.centos.org/6.10/updates/x86_64/” > /var/cache/yum/x86_64/6/updates/mirrorlist.txt echo “http://vault.centos.org/6.10/sclo/x86_64/rh” > /var/cache/yum/x86_64/6/centos-sclo-rh/mirrorlist.txt echo “http://vault.centos.org/6.10/sclo/x86_64/sclo” > /var/cache/yum/x86_64/6/centos-sclo-sclo/mirrorlist.txt Reply