mesosphere / mesos-deb-packaging

Mesos package for Debian, Ubuntu, CentOS, RHEL, and Fedora
Other
58 stars 68 forks source link

mesosphere-el-repo-6-3.noarch.rpm links to EL7 packages #84

Open victortrac opened 8 years ago

victortrac commented 8 years ago
[root@mesos-slave-i-2d008e82 yum.repos.d]# yum install http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-3.noarch.rpm
Loaded plugins: dkms-build-requires, update-motd, upgrade-helper
mesosphere-el-repo-6-3.noarch.rpm                                                                                                                                                                                                                                       |  13 kB     00:00
Examining /var/tmp/yum-root-HEAXbX/mesosphere-el-repo-6-3.noarch.rpm: mesosphere-el-repo-6-3.noarch
Marking /var/tmp/yum-root-HEAXbX/mesosphere-el-repo-6-3.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mesosphere-el-repo.noarch 0:6-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================================================================================================
 Package                                                                  Arch                                                         Version                                                      Repository                                                                            Size
===============================================================================================================================================================================================================================================================================================
Installing:
 mesosphere-el-repo                                                       noarch                                                       6-3                                                          /mesosphere-el-repo-6-3.noarch                                                        21 k

Transaction Summary
===============================================================================================================================================================================================================================================================================================
Install  1 Package

Total size: 21 k
Installed size: 21 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mesosphere-el-repo-6-3.noarch                                                                                                                                                                                                                                               1/1
  Verifying  : mesosphere-el-repo-6-3.noarch                                                                                                                                                                                                                                               1/1

Installed:
  mesosphere-el-repo.noarch 0:6-3

Complete!
[root@mesos-slave-i-2d008e82 yum.repos.d]# cat mesosphere.repo
[mesosphere]
name=Mesosphere Packages for EL 7 - $basearch
baseurl=http://repos.mesosphere.com/el/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-noarch]
name=Mesosphere Packages for EL 7 - noarch
baseurl=http://repos.mesosphere.com/el/7/noarch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-source]
name=Mesosphere Packages for EL 7 - $basearch - Source
baseurl=http://repos.mesosphere.com/el/7/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-testing]
name=Mesosphere Testing Packages for EL 7 - $basearch
baseurl=http://repos.mesosphere.com/el-testing/7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-testing-noarch]
name=Mesosphere Testing Packages for EL 7 - noarch
baseurl=http://repos.mesosphere.com/el-testing/7/noarch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-testing-source]
name=Mesosphere Testing Packages for EL 7 - $basearch - Source
baseurl=http://repos.mesosphere.com/el-testing/7/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-unstable]
name=Mesosphere Unstable Packages for EL 7 - $basearch
baseurl=http://repos.mesosphere.com/el-unstable/7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-unstable-noarch]
name=Mesosphere Unstable Packages for EL 7 - noarch
baseurl=http://repos.mesosphere.com/el-unstable/7/noarch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-unstable-source]
name=Mesosphere Unstable Packages for EL 7 - $basearch - Source
baseurl=http://repos.mesosphere.com/el-unstable/7/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

This breaks because the EL7 packages assumes systemd.

rboyer commented 7 years ago

This breaks installing mesos RPMs on a CentOS 6 machine.

rboyer commented 7 years ago

I captured the previous known good value of this from a preexisting production server, for anyone else who stumbles across this until it gets fixed:

[mesosphere]
name=Mesosphere Packages for EL 6 - $basearch
baseurl=http://repos.mesosphere.io/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-noarch]
name=Mesosphere Packages for EL 6 - noarch
baseurl=http://repos.mesosphere.io/el/6/noarch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere

[mesosphere-source]
name=Mesosphere Packages for EL 6 - $basearch - Source
baseurl=http://repos.mesosphere.io/el/6/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mesosphere