Page 1 of 1

Cannot Download RPM

Posted: Fri May 23, 2014 4:16 pm
by gw1500se
I cannot seem to download a good RPM for RHEL 6. I've used Firefox and 'wget' and get a different MD5 sum, neither of which match the official one. I am guessing the problem lies with the invalid time-stamp from 'wget'.

Code: Select all

wget 'http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz/download'
--2014-05-23 09:58:44--  http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz/download
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz?r=&ts=1400853524&use_mirror=superb-dca2 [following]
--2014-05-23 09:58:44--  http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz?r=&ts=1400853524&use_mirror=superb-dca2
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://superb-dca2.dl.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz [following]
--2014-05-23 09:58:45--  http://superb-dca2.dl.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
Resolving superb-dca2.dl.sourceforge.net... 209.61.193.20
Connecting to superb-dca2.dl.sourceforge.net|209.61.193.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 161126655 (154M) [application/x-gzip]
Saving to: “Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz”

100%[======================================>] 161,126,655 8.19M/s   in 20s     

Last-modified header invalid -- time-stamp ignored.
2014-05-23 09:59:32 (7.77 MB/s) - “Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz” saved [161126655/161126655]
This is the MD5 sum I get each time:
933446f5c0c2f60b8d5632b6ac0585b3 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz

This may not directly be an openoffice problem but I am hoping someone else has encountered this and can suggest a solution. TIA.

Re: Cannot Download RPM

Posted: Fri May 23, 2014 6:06 pm
by acknak
Works ok for me:
  • $ wget 'http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz'
    --2014-05-23 11:42:25-- http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
    Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
    Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz/download [following]
    --2014-05-23 11:42:26-- http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz/download
    Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz?r=&ts=1400859746&use_mirror=iweb [following]
    --2014-05-23 11:42:26-- http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz?r=&ts=1400859746&use_mirror=iweb
    Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
    Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://iweb.dl.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz [following]
    --2014-05-23 11:42:26-- http://iweb.dl.sourceforge.net/project/openofficeorg.mirror/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
    Resolving iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)... 70.38.0.134, 2607:f748:10:12::5f:2
    Connecting to iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)|70.38.0.134|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 161126655 (154M) [application/x-gzip]
    Saving to: `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz'

    100%[======================================>] 161,126,655 184K/s in 13m 18s

    2014-05-23 11:55:44 (197 KB/s) - `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz' saved [161126655/161126655]
  • $ wget http://www.apache.org/dist/openoffice/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5
    --2014-05-23 11:51:51-- http://www.apache.org/dist/openoffice/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5
    Resolving http://www.apache.org (http://www.apache.org)... 192.87.106.229, 140.211.11.131, 2001:610:1:80bc:192:87:106:229
    Connecting to http://www.apache.org (http://www.apache.org)|192.87.106.229|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 95 [text/plain]
    Saving to: `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5'

    100%[======================================>] 95 --.-K/s in 0s

    2014-05-23 11:51:51 (6.27 MB/s) - `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5' saved [95/95]

    $ wget http://www.apache.org/dist/openoffice/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256
    --2014-05-23 11:51:58-- http://www.apache.org/dist/openoffice/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256
    Resolving http://www.apache.org (http://www.apache.org)... 192.87.106.229, 140.211.11.131, 2001:610:1:80bc:192:87:106:229
    Connecting to http://www.apache.org (http://www.apache.org)|192.87.106.229|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 128 [application/x-gzip]
    Saving to: `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256'

    100%[======================================>] 128 --.-K/s in 0s

    2014-05-23 11:51:58 (6.28 MB/s) - `Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256' saved [128/128]

    $ ls -l Apache_OpenOffice_4.1.0_Linux_x86-64*
    -rw-rw-r--. 1 jes jes 161126655 Apr 23 03:35 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
    -rw-rw-r--. 1 jes jes 95 Apr 23 04:00 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5
    -rw-rw-r--. 1 jes jes 128 Apr 23 04:00 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256
    $ md5sum -c Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5
    Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz: OK
    $ sha256sum -c Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha256
    Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz: OK
 Edit: PS: 
  • $ cat Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz.md5
    2c9c41c3c49129fa2518ebffd300a832 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
    $ md5sum Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz
    2c9c41c3c49129fa2518ebffd300a832 Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz

Re: Cannot Download RPM

Posted: Fri May 23, 2014 7:01 pm
by gw1500se
Thanks for the reply but that does not help me much. There must be some difference between your RHEL 6 and mine. The problem will be figuring out what that is. I'm running 2.6.32-358.0.1.el6.x86_64 and GNU Wget 1.12 built on linux-gnu.

Re: Cannot Download RPM

Posted: Fri May 23, 2014 8:23 pm
by acknak
It shows that it's not a problem with the file or the servers. Your downloaded file has the right size but you get a different md5, so something in the file is different. It could be the timestamp error you mentioned but I doubt it: I understand that as the file system time stamp, which is not included in calculating the hash.

I don't have an idea what the problem might be. You could repeat the download and see if you get the same result, or try calculating md5sums for some other files to make sure that your system is calculating the correct sum.

Re: Cannot Download RPM

Posted: Fri May 23, 2014 8:51 pm
by gw1500se
I've repeated the download many many times to no avail. There must be some difference between your version of RHEL6 and mine. However, I was able to download the file to a Windows machine then copy that to my Linux box. That worked but does not explain the apparently incompatibility with the Linux downloads.

Re: Cannot Download RPM

Posted: Mon Jun 09, 2014 8:49 pm
by djl47
OP: What does the trailing "/download" intended for? acknak's wget doesn't have that.