NethServer Linux Centos YUM update repository problems (from Russia)

Автор: | Август 26, 2018

NethServer Centos YUM не обновляется список репозиториев при подключении с российских ип , 403 , 404 , не пингует no ping ; ip block
предлагает Clear yum cache

Administration / Software center не отображается , ошибка
failure: repodata/repomd.xml from nethforge: [Errno 256] No more mirrors to try.
http://nethserver.de-labrusse.fr/nethserver/7/nethforge/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 — Not Found

Could not retrieve mirrorlist http://mirrorlist.nethserver.org/7/nethserver?release=7&repo=nethforge&arch=x86_64 error was
12: Timeout on http://mirrorlist.nethserver.org/7/nethserver?release=7&repo=nethforge&arch=x86_64: (28, ‘Connection timed out after 30001 milliseconds’)

mirrorlist.nethserver.org packages.nethserver.org 46.101.114.111 159.89.233.254
403 Forbidden

1)Скачиваем текстовый редактор Download the text editor nano или используем vi

wget http://mirror.centos.org/centos/7/os/x86_64/Packages/nano-2.3.1-10.el7.x86_64.rpm

2)Устанавливаем в Centos Nano rpm

sudo rpm -i nano-2.3.1-10.el7.x86_64.rpm

https://community.nethserver.org/t/yum-update-repository-problems-from-russia/9827

NethServer-Administration-Software center-yum-failed-00

3)Смотрим список зеркал тут \ We look at the list of mirrors here http://mirror-status.nethserver.org/

переходим в папку cd /etc/yum.repos.d/
редактируем файл
sudo nano NethForge.repo
[nethforge]
name=NethForge $releasever
#mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=nethforge&arch=$basearch&nsrelease=$nsrele$
baseurl=https://mirror.alpix.eu/nethserver/$releasever/nethforge/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethForge-7
enabled=1
enablegroups=1

[nethforge-testing]
name=NethForge $releasever — Testing
#mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=nethforge-testing&arch=$basearch&nsrelease$
baseurl=https://mirror.alpix.eu/nethserver/$releasever/nethforge-testing/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethForge-7
enabled=0
enablegroups=1

sudo nano NethServer.repo
# nethserver.org YUM repositories configuration
#

[nethserver-base]
name=NethServer-$releasever — Base
#mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=base&arch=$basearch&nsrelease=$nsrelease
baseurl=https://mirror.alpix.eu/nethserver/$releasever/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=1
enablegroups=0

[nethserver-updates]
name=NethServer-$releasever — Updates
#mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=updates&arch=$basearch&nsrelease=$nsrelease
baseurl=https://mirror.alpix.eu/nethserver/$releasever/updates/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=1
enablegroups=1

[nethserver-testing]
name=NethServer-$releasever — Testing
mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=testing&arch=$basearch&nsrelease=$nsrelease
baseurl=http://mirror1.nethserver.org/nethserver/$releasever/testing/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NethServer-$releasever
enabled=0
enablegroups=0

Чистим обновляем \ Clean and update

yum clean all && rm -rf /var/cache/yum && yum -y update

NethServer Linux Centos YUM update repository problems (from Russia): 2 комментария

  1. Дмитрий

    Исправьте в файле NethForge.repo [nethforge-testing] baseurl=http://https:// нужно только https:// оставить.

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

*

code