trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Trafficserver no longer available in EPEL repositories

Open louishot opened this issue 4 years ago • 21 comments

https://docs.trafficserver.apache.org/en/7.1.x/getting-started/index.en.html#rhel-centos wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm sudo rpm -Uvh epel-release-7*.rpm

sudo yum install trafficserver output:

No package trafficserver available.
Error: Nothing to do

louishot avatar Jun 05 '20 15:06 louishot

Fedora's trafficserver RPM repo links to FESCo issue #2080, which mentions unsuccessful attempts to contact the package's maintainer, @janfrode, followed by a vote to orphan the package.

Either

  • The EPEL section should be removed from the Getting Started page, or
  • Someone could go to https://src.fedoraproject.org/rpms/trafficserver and adopt the package.

zrhoffman avatar Nov 05 '20 02:11 zrhoffman

Any update on how to get an RPM for version 9 or 10?

Thanks!

0foo avatar May 24 '22 21:05 0foo

@jeredfloyd volunteered to maintain the trafficserver EPEL package. His trafficserver 9.1.2 RPM was approved in Red Hat bug 2076374, and he adopted the trafficserver RPM in FESCo issue #10795. Not sure what happens now, but presumably the trafficserver RPM will be in EPEL sometime in the near future.

Thanks @jeredfloyd!

zrhoffman avatar May 24 '22 22:05 zrhoffman

Second the Thanks @jeredfloyd!

0foo avatar May 24 '22 22:05 0foo

You're welcome! I should have 9.1.2 submitted for review later this week.

jeredfloyd avatar May 24 '22 22:05 jeredfloyd

Being a bit of an RPM novice, how can I obtain the RPM from this repo?

https://github.com/jeredfloyd/rpm-trafficserver

0foo avatar May 25 '22 15:05 0foo

You can get builds from my COPR repo here, which should be identical to what will show up in Fedora/EPEL soon: https://copr.fedorainfracloud.org/coprs/jered/trafficserver/

jeredfloyd avatar May 25 '22 15:05 jeredfloyd

Awesome! Any guidance on best one to use for CentOs 7?

epel-7-x86_64 seems like the correct choice.

0foo avatar May 25 '22 15:05 0foo

You would use the EPEL 7 repo for CentOS 7.

jeredfloyd avatar May 25 '22 15:05 jeredfloyd

ATS 9.1.2 is now in the Fedora and EPEL8 repos, and should land in EPEL7 and EPEL9 shortly: https://bodhi.fedoraproject.org/updates/?packages=trafficserver

jeredfloyd avatar Jun 16 '22 15:06 jeredfloyd

Thanks @jeredfloyd
When I try to install it, I see the below dependencies are missing and the installation therefore is failing. hwloc-libs-2.2.0-3.el8.x86_64.rpm hwloc-2.2.0-3.el8.x86_64.rpm

vgrme avatar Jun 17 '22 16:06 vgrme

@vgrme Can you tell me a bit more about how you are trying to install it, and on what sort of system? yum/dnf should pull those requirements in from the repo.

jeredfloyd avatar Jun 17 '22 17:06 jeredfloyd

I did yum install trafficserver :-) I just looked up one of the mirrors I dont see those rpms hwloc-libs-2.2.0-3.el8.x86_64.rpm hwloc-2.2.0-3.el8.x86_64.rpm

vgrme avatar Jun 17 '22 17:06 vgrme

Are you on RHEL, CentOS, Rocky, Alma... ?

jeredfloyd avatar Jun 17 '22 17:06 jeredfloyd

RHEL 8.5

vgrme avatar Jun 17 '22 17:06 vgrme

Does the same problem occur on RHEL 8.6?

It does not look like this package has recently changed, however. You can find the package details as part of baseos here: https://access.redhat.com/downloads/content/hwloc/2.2.0-3.el8/x86_64/fd431d51/package

jeredfloyd avatar Jun 17 '22 18:06 jeredfloyd

A few other possible things to try:

  • Are the codeready-builder repos enabled as needed for EPEL 8? (https://docs.fedoraproject.org/en-US/epel/#_el8)
  • Is the repo medata old? Try dnf clean and then yum install trafficserver

jeredfloyd avatar Jun 17 '22 20:06 jeredfloyd

@jeredfloyd I'm getting the below error

Error: Problem: conflicting requests

  • nothing provides libhwloc.so.15()(64bit) needed by trafficserver-9.1.2-7.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I can see it - https://centos.pkgs.org/8/centos-baseos-x86_64/hwloc-libs-2.2.0-3.el8.x86_64.rpm.html

vgrme avatar Jun 20 '22 13:06 vgrme

@vgrme That's very strange. Can you give me the results of these commands, in this order?

subscription-manager list
dnf clean
dnf repolist enabled
dnf whatprovides libhwloc.so.15 
dnf whatprovides trafficserver
rpm -qi hwloc-libs
rpm -qi trafficserver
dnf install trafficserver

jeredfloyd avatar Jun 22 '22 12:06 jeredfloyd

Hey @vgrme -- are you still having problems? What are the results of the commands above?

Also note that I've pushed out a new -8 build that makes some changes to OpenSSL usage to support RHEL 9. This shouldn't affect anything about hwloc, though.

jeredfloyd avatar Jun 27 '22 21:06 jeredfloyd

Hi @vgrme -- can you provide the ouput of the commands in https://github.com/apache/trafficserver/issues/6855#issuecomment-1163047602 ? Otherwise I will close as can't reproduce.

jeredfloyd avatar Jul 12 '22 02:07 jeredfloyd

@bryancall - this ticket can be closed.

jeredfloyd avatar Nov 30 '22 15:11 jeredfloyd