Open henrikingo opened 4 years ago
Hi Henrik,
The best thing I can do here is to forward this request to packagecloud. However, before doing so I wanted to find a link proving that Amazon Linux 2 is indeed based on RHEL7 and I've been unable to find such a link.
Is it really based RHEL7? What happens when you try to install sysbench from a RHEL6 repository?
At least this documentation says EPEL 7: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/
(And also "works for me" :-)
The issue has been forwarded to packagecloud support.
@henrikingo I got this advice from packagecloud:
You can override the install scripts by settings os=el dist=7 ./script.sh
Hi Aleksey
I just noticed there's a problem in the packagecloud.io scripts to install a repo for sysbench. I use Amazon Linux 2, and it is correctly detected as amzn/2, but it tries to use el/6 repo. I think this error was previously masked, because I also install EPEL 7 and it seems to provide
sysbench-1.0.17-2.el7
. It is only now that you released 1.0.18 that install fails.The first script is correct:
However, contents of repository file from above url is wrong: