ATRPMS repo is down for quite a long time (http://unix.stackexchange.com/questions/229661/is-atrpms-dead). Some might want to use this repo to install a software package using yum like ffmpeg. It's still possible to install it by using ATRPMS repository mirror server and this article will show how to do it. The following steps are tested running on my Linode server running Centos 7 64-bit.
The following are the ATRPMS repository mirror servers that we can use:
- https://www.mirrorservice.org
- https://mirror.its.sfu.ca
- http://ftp-stud.fht-esslingen.de
-
Lets install the RPM repository package:
... using https://www.mirrorservice.org:rpm -ivh https://www.mirrorservice.org/sites/dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rpm
... or using https://mirror.its.sfu.ca:rpm -ivh https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/atrpms/el7-x86_64/stable/atrpms-repo-7-7.el7.x86_64.rpm
... or using http://ftp-stud.fht-esslingen.de:rpm -ivh http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rpm
-
Next, modify the atrpms.repo to update its baseurl and lets also disable it by default so it wont execute when you do yum update:
vi /etc/yum.repos.d/atrpms.repo
-
Change the following codes inside atrpms.repo from:
[atrpms] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms failovermethod=priority baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug failovermethod=priority baseurl=http://dl.atrpms.net/debug/el$releasever-$basearch/atrpms/stable enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-source] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source failovermethod=priority baseurl=http://dl.atrpms.net/src/el$releasever-$basearch/atrpms/stable enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
... to (using https://www.mirrorservice.org):
[atrpms] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms failovermethod=priority baseurl=https://www.mirrorservice.org/sites/dl.atrpms.net/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug failovermethod=priority baseurl=https://www.mirrorservice.org/sites/dl.atrpms.net/debug/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-source] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source failovermethod=priority baseurl=https://www.mirrorservice.org/sites/dl.atrpms.net/src/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
... or to (using https://mirror.its.sfu.ca):
[atrpms] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms failovermethod=priority baseurl=https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/atrpms/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug failovermethod=priority baseurl=https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/atrpms/debug/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-source] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source failovermethod=priority baseurl=https://mirror.its.sfu.ca/mirror/CentOS-Third-Party/atrpms/src/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
... or to (using http://ftp-stud.fht-esslingen.de):
[atrpms] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms failovermethod=priority baseurl=http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Debug failovermethod=priority baseurl=http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el7-x86_64/atrpms/debug/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms [atrpms-source] name=Red Hat Enterprise Linux $releasever - $basearch - ATrpms - Source failovermethod=priority baseurl=http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el$releasever-$basearch/atrpms/stable enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-atrpms
-
We can now do yum install for ffmpeg:
yum -y --enablerepo=atrpms install ffmpeg
Comments
Really thank you very much
Really thank you very much
FFMPEG
Thanks a million
Does not work
I did exactly what is described above. I get the below error:
Loaded plugins: fastestmirror, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mbni.med.umich.edu
* epel: mirror.steadfast.net
* extras: repos.forethought.net
* updates: mirrors.cmich.edu
* webtatic: us-east.repo.webtatic.com
http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el7-x86_64/atrpms/el6-x86_64/atrpms/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. Please verify its path and try again
In the error message that…
In the error message that you have included, notice the URL part:
http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el7-x86_64/atrpms/el6-x86_64/atrpms/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
It says that URL is not found. If you will review the URL, this part el6-x86_64/atrpms/
is shown twice in your URL. I suggest to check your URLs.
Simon Huysentruyt (not verified)
Mon, 06/17/2019 - 17:41
In reply to Does not work by Jack (not verified)
Error in repo file
Hi,
If you use the example for the ftp-stud.fht-esslingen.de repo, you need to change te link. "el7-x86_64/atrpms" is already in the code, but the system want to add it because of the "el$releasever-$basearch/atrpms" in the link. You should remove all the static "el7-x86_64/atrpms" metions in the link, and it should work.
baseurl=http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el7-x86_64/atrpms/el$releasever-$basearch/atrpms/stable
- Should be -
baseurl=http://ftp-stud.fht-esslingen.de/Mirrors/atrpms/dl.atrpms.net/el$releasever-$basearch/atrpms/stable
I have already corrected…
I have already corrected/updated the article. Thank you for the correction.
Cool. Good Instruction
Thanks a lot