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áč
_______________________________________________
users mailing list
[email protected]
http://lists.repoforge.org/mailman/listinfo/users

Reply via email to