[users] Why RepoForge RpmForge not available?

David Hrbáč david-lists at hrbac.cz
Sun Sep 22 12:13:47 CEST 2013


Dne 21.9.2013 07:58, Бекренев Дмитрий napsal(a):
> Hi there!
>
> I'm can't download
> http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
> repositiory not available.
> why?
>

Dmitrij,

I can see that it works... Site pkgs.repoforge.org is meant as a package
source. It's not being provided in high availability mode. As suggested
by others you can always use a mirror site. See
http://mirrorlist.repoforge.org/

This small piece of code might be useful to you:

BASEARCH=$(uname -i);
RELEASE=$(cat /etc/redhat-release | sed -rn '/(Final|release)/s/^[^0-9]*|[^0-9.]*$//gp' | sed -e 's/[.].*//');
yum -y install wget;
rpm -Uhv http://pkgs.repoforge.org/rpmforge-release/$(wget -qO - http://pkgs.repoforge.org/rpmforge-release/ | grep rpmforge-release| grep $BASEARCH | grep el$RELEASE | sort | tail -n1 | sed 's%.*>\(rpmforge\-release\-.*.rpm\)<.*%\1%');

Regards,
David Hrbáč
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.repoforge.org/pipermail/users/attachments/20130922/72056eb6/attachment.html>


More information about the users mailing list