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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos