sysbench
sysbench copied to clipboard
amzn/2 should use epel 7
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:
Detected operating system as amzn/2.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/akopytov/sysbench/config_file.repo?os=amzn&dist=2&source=script
done.
However, contents of repository file from above url is wrong:
[akopytov_sysbench]
name=akopytov_sysbench
baseurl=https://packagecloud.io/akopytov/sysbench/el/6/$basearch
...
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