LINUX.ORG.RU

CentOS. Не подключается репозиторий.


0

1

Всем доброго дня.

Столкнулся с проблемой с подключением репозитория для CentOS 6.5 http://download.bareos.org/bareos/contrib/CentOS_6/

[root@backup /]# uname -a
Linux backup.tt.corp 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@backup /]# cat /etc/yum.repos.d/contrib.repo 

[contrib]
name=bareos-contrib
type=rpm-md
baseurl=http://download.bareos.org/bareos/contrib/CentOS_6/
gpgcheck=1
gpgkey=http://download.bareos.org/bareos/contrib/CentOS_6/repodata/repomd.xml.key
enabled=1
priority=2


[root@backup /]# yum repolist
Loaded plugins: fastestmirror, priorities
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirror.logol.ru
 * epel: www.nic.funet.fi
 * extras: mirror.academica.fi
 * updates: mirror.academica.fi
bareos_bareos-13.2                                                                                                                                                                                                                                     | 1.3 kB     00:00     
89 packages excluded due to repository priority protections
repo id                                                                                                     repo name                                                                                                                                                status
bareos_bareos-13.2                                                                                          Backup Archiving Recovery Open Sourced Current stable (RHEL_6)                                                                                                44+7
base                                                                                                        CentOS-6 - Base                                                                                                                                              6,367
c6-testing                                                                                                  CentOS-6 Testing                                                                                                                                                 0
epel                                                                                                        Extra Packages for Enterprise Linux 6 - x86_64                                                                                                           10,937+85
extras                                                                                                      CentOS-6 - Extras                                                                                                                                               14
updates                                                                                                     CentOS-6 - Updates                                                                                                                                           1,175
repolist: 18,537

У меня есть подозрения, что это из-за архитектуры x86_x64, но нет уверенности в этом. Если это так, то есть ли способ принудительно подключить?

Спасибо.


А это что показывает:

yum -v repolist all

?

Chumka ★★★
()

репозиторий contrib уже есть среди стандартных репозиториев Centos,
смотрите файл /etc/yum.repos.d/CentOS-Base.repo, о чем и говорит yum

Repository contrib is listed more than once in the configuration


переименуйте свой [contrib] в какой-нибудь [bareos-contrib]

Ager
()
Ответ на: комментарий от Ager

Переименование помогло. Благодарю за помощь. Спасибо.

SoHm
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.