From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
Want to be able to download the current version of our own corporate packages
in automated scripts. Don't want to have to search for explicit version/release
A web server has all the details:
$ telnet cvs.thus.net 80
Connected to cvs.thus.net (126.96.36.199).
Escape character is '^]'.
GET /cgi-bin/pkgget.cgi/THUSdisktype/RedHat-EL.4-i386 HTTP/1.0
HTTP/1.1 302 Moved
Date: Fri, 19 Aug 2005 12:56:41 GMT
Server: Apache/1.3.19 (Unix)
Connection closed by foreign host.
The redirected location exists, is correct, and is downloadable.
However RPM can't install using this URL:
$ rpm -ivh http://cvs.thus.net/cgi-bin/pkgget.cgi/THUSdisktype/RedHat-EL.4-i386
error: skipping http://cvs.thus.net/cgi-bin/pkgget.cgi/THUSdisktype/RedHat-EL.4-i386 - transfer failed - Unknown or unexpected error
Fedora Core 4 fails in a different manner:
$ rpm -ivh http://cvs.thus.net/cgi-bin/pkgget.cgi/THUSdisktype/RedHat-FC.4-i386
/var/tmp/rpm-xfer.tpt4qG: not an rpm package (or package manifest):
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create script to redirect to a valid URL
2. Use 'rpm -i' with the script's URL
Actual Results: "Unknown or unexpected error"
Expected Results: Package installed.
Note, as documented on https://bugzilla.redhat.com/ all RHEL support requests
should be directed through support to obtain correct prioritisation, etc.
Out of curiosity why aren't you using up2date with a repository/channel setup up
for your corporate packages?
Because we want exactly one solution to cover all our supported platforms -
FreeBSD, HP-UX, RedHat Enterprise Linux, Fedora Core Linux, and Solaris.
*** This bug has been marked as a duplicate of 152285 ***