Версия ОС
$ cat /etc/*release
CentOS Linux release 7.1.1503 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
...
Репозитории:
$ yum repolist
...
repo id repo name status
base/7/x86_64 CentOS-7 - Base 8,652
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 8,654
extras/7/x86_64 CentOS-7 - Extras 236
puppetlabs-pc1/x86_64 Puppet Labs PC1 Repository el 7 - x86_64 40
updates/7/x86_64 CentOS-7 - Updates 1,540
repolist: 19,122
При установке хочет поставить пакеты для 6, но лезет в директории 7.
$ sudo yum install puppetserver
...
========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
puppet-agent x86_64 1.2.7-1.el6 puppetlabs-pc1 32 M
replacing facter.x86_64 1:2.4.4-1.el7
replacing hiera.noarch 1.3.4-1.el7
puppetserver noarch 2.1.2-1.el6 puppetlabs-pc1 40 M
Installing for dependencies:
java-1.8.0-openjdk-headless x86_64 1:1.8.0.65-2.b17.el7_1 updates 31 M
Transaction Summary
========================================================================================
Install 2 Packages (+1 Dependent package)
Total size: 103 M
Total download size: 72 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for puppetlabs-pc1
puppet-agent-1.2.7-1.el6.x86_6 FAILED
http://yum.puppetlabs.com/el/7/PC1/x86_64/puppet-agent-1.2.7-1.el6.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
puppetserver-2.1.2-1.el6.noarc FAILED
http://yum.puppetlabs.com/el/7/PC1/x86_64/puppetserver-2.1.2-1.el6.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
...
Вот такая херня. Почему-то тянет версии для 6. Был неправильно установлен пакет для 6, его уже нет, после удаления - yum clean all. Подозреваю какие-то свои неразумные действия с репами.