View Single Post
Old 09-23-16, 08:22 AM   #28
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Quote:
Originally Posted by Onkel Neal View Post
When I try to install the RPMforge repository

Code:
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
I am getting this error
Code:
curl: (7) couldn't connect to host
error: skipping http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm - transfer failed
What do I need to do, Steve?
Let's do a little troubleshooting. Your errors say "couldn't connect to host" and "transfer failed." That could mean several things, but the #1 reason for that is that the web site specified couldn't be found. On your first line the web address starts with "http://pkgs.repoforge.org." Cut and paste that into the address bar of your browser and you'll get "Problem loading page" blah, blah, blah, which means there's no website to be found with that address.

The achilles heel of the terminal is that it is literally literal! Typos are severely punished and every single character must be accurate. It's like typing URLs into your web browser. Nobody does that. Why? Because it's impossible to type "http://www.subsim.com/radioroom/newreply.php?do=newreply&p=2430652" accurately more than two times in ten attempts.

There's something wrong with the web address in your terminal command that prevented you from accessing the site you wanted to reach.

Repoforge hasn't been updated in awhile, but repoforge.org does work. Going to the "Using Repoforge" page you find
Quote:
Using RepoForge

First download the appropriate rpmforge-release package for your distribution:
Then you can use rpm or yum to install the downloaded package. The package installation will enable the RepoForge repo for subsequent use via yum.
More detailed instructions and recommendations are available on the CentOS wiki.
Hints:
  • Use cat /etc/redhat-release to find which release of EL you are using
  • Use uname -a to find your processor architecture
  • Use rpm -ivh package-filename to install the rpmforge-release package (also works with URLs)
  • You can use wget or curl to download the package using one of the above links if needed (for example on a server with no X Window)
  • Then you can use yum to install the available packages from the RepoForge repo, e.g. yum install --enablerepo=rpmforge-extras`
  • Afterward, you can disable accidental updates from the repo by setting enabled = 0 in the repo definition file in /etc/yum.repos.d/
And I clicked on one of the links. The repositories aren't available! The links are dead.

Last edited by Rockin Robbins; 09-23-16 at 08:36 AM.
Rockin Robbins is offline   Reply With Quote