Hi, I just downloaded and installed the rpmforge-release rpm file for centos5. Ftp isn't working here, so it went http, but the http mirrors are giving me error 11, connections refused. Is this a problem with the particular mirror? Also, how do i query a specific repo to find out what packages it contains? Thanks. Dave.
Dave wrote:
Hi, I just downloaded and installed the rpmforge-release rpm file for centos5. Ftp isn't working here, so it went http, but the http mirrors are giving me error 11, connections refused. Is this a problem with the particular mirror? Also, how do i query a specific repo to find out what packages it contains? Thanks. Dave.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
This works for me in my post-install procedures;
<snip> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm wget http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version rpm -Uhv $rpmforge_version rm -vf $rpmforge_version </snip>
MrKiwi
MrKiwi wrote:
<snip> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm wget http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version rpm -Uhv $rpmforge_version
Uhm.
Why not
rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
directly?
Ralph
Ralph Angenendt wrote:
MrKiwi wrote:
<snip> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm wget http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version rpm -Uhv $rpmforge_version
Uhm.
Why not
rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
directly?
Ralph
Good question - i said the same when i saw it on a site and tried to consolidate wget + rpm into a one line command.
The problem (from memory) is that rpm -Uvh blah.rpm does not handle redirections nicely (is that a return code of 302? from memory) however wget is a champ at that sort of thing.
MrKiwi
On 5/8/07, MrKiwi mrkiwi@gmail.com wrote:
Ralph Angenendt wrote:
MrKiwi wrote:
<snip> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm wget http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version rpm -Uhv $rpmforge_version
Uhm.
Why not
rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
directly?
Ralph
Good question - i said the same when i saw it on a site and tried to consolidate wget + rpm into a one line command.
The problem (from memory) is that rpm -Uvh blah.rpm does not handle redirections nicely (is that a return code of 302? from memory) however wget is a champ at that sort of thing.
I went to http://dag.wieers.com/rpm/FAQ.php#B, copied the line for my release and executed it. Worked perfectly. For CentOS 5.0 on x86_64, that's:
rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x...
MrKiwi wrote:
Ralph Angenendt wrote:
Why not rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version directly?
The problem (from memory) is that rpm -Uvh blah.rpm does not handle redirections nicely (is that a return code of 302? from memory) however wget is a champ at that sort of thing.
Hummm. Have to test that some time.
Thanks,
Ralph
Ralph Angenendt wrote:
MrKiwi wrote:
Ralph Angenendt wrote:
Why not rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version directly?
The problem (from memory) is that rpm -Uvh blah.rpm does not handle redirections nicely (is that a return code of 302? from memory) however wget is a champ at that sort of thing.
Hummm. Have to test that some time.
Thanks,
Maybe it has changed with newer versions of rpm, but that was the case some months ago. I was following some of Johnny Hughes' HowTos (brilliant stuff) and the rpm command failed, but i could paste the link into a browser and download the rpm, so i dug around a bit and did a #wget -dS [package_url] to get the debug and headers, and what it showed was a 302 in the middle of the conversation, so i just assumed that rpm was seeing <>200 and aborting.
Anyway ... in the true spirit of nix, wget is the tiny tool for getting stuff, and rpm is the tiny tool for managing packages, and they each do super jobs.
MrKiwi