Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#32729 closed defect (invalid)

oracle-instantclient: checksum mismatch because html file

Reported by: luis.felice@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), mustapha.ezzaouia@…
Port: oracle-instantclient

Description

oracle-instantclient dependency for x64 OSX Lion don't install xcode 4.2.1 Terminal Log:

sudo port install tora
Password:
--->  Computing dependencies for tora
--->  Dependencies to be installed: oracle-instantclient qscintilla pkgconfig glib2 libffi perl5 perl5.12 gdbm perl5 perl5 xz qt4-mac dbus jpeg libmng autoconf help2man p5.12-locale-gettext m4 autoconf automake lcms tiff libtool libpng sqlite3 libedit
--->  Verifying checksum(s) for oracle-instantclient
Error: Checksum (md5) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (sha1) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (rmd160) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (md5) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
Error: Checksum (sha1) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
Error: Checksum (rmd160) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Failed to install oracle-instantclient
Log for oracle-instantclient is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_oracle-instantclient/oracle-instantclient/main.log
Error: The following dependencies were not installed: oracle-instantclient qscintilla pkgconfig glib2 libffi perl5 perl5.12 gdbm perl5 perl5 xz qt4-mac dbus jpeg libmng autoconf help2man p5.12-locale-gettext m4 autoconf automake lcms tiff libtool libpng sqlite3 libedit
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (6)

comment:1 Changed 12 years ago by luis.felice@…

Cc: luis.felice@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; luis.felice@… removed
Port: oracle-instantclient added
Resolution: invalid
Status: newclosed
Summary: tora 2.1.3 oracle-instantclient fail to installoracle-instantclient: checksum mismatch because html file

It installs fine; you just need to download the distfiles manually. Clean and try again and it should tell you that.

sudo port clean --all oracle-instantclient
sudo port install oracle-instantclient

comment:3 in reply to:  2 Changed 12 years ago by mustapha.ezzaouia@…

Resolution: invalid
Status: closedreopened

Replying to ryandesign@…:

It installs fine; you just need to download the distfiles manually. Clean and try again and it should tell you that.

sudo port clean --all oracle-instantclient
sudo port install oracle-instantclient

Hi,
I exactly did the self-download of the files. Followed each step as indicated and still I get this error message:

--->  Computing dependencies for oracle-instantclient
--->  Verifying checksum(s) for oracle-instantclient
Error: Checksum (md5) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (sha1) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (rmd160) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
Error: Checksum (md5) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
Error: Checksum (sha1) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
Error: Checksum (rmd160) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for oracle-instantclient is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_oracle-instantclient/oracle-instantclient/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I am trying to install oracle-instant client (same goes for installing sudo port install ocilib @3.9.3)

Can you help me with this? thanks

comment:4 Changed 12 years ago by mustapha.ezzaouia@…

for info here is my main log:

version:1
:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
:msg:main --->  Computing dependencies for oracle-instantclient:info:main .:debug:main Searching for dependency: unzip
:debug:main Didn't find receipt, going to depspec regex for: unzip
:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
:debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$
:msg:main 
:debug:main Executing org.macports.main (oracle-instantclient)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (oracle-instantclient)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (oracle-instantclient)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Tue Mar 27 18:46:48 CEST 2012
:notice:checksum --->  Verifying checksum(s) for oracle-instantclient
:debug:checksum Executing org.macports.checksum (oracle-instantclient)
:info:checksum --->  Checksumming instantclient-basic-10.2.0.4.0-macosx-x64.zip
:error:checksum Checksum (md5) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip md5 b88c9133c61a2e6b5584879641541d68
:info:checksum Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip md5 16e8ab237437ee688680202c178ff324
:error:checksum Checksum (sha1) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip sha1 1e9cd2d0f77c9d2212beb73cdf5876a538eb7e14
:info:checksum Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip sha1 d50a8c1f584e7bd579457476302087e1a3d8b91d
:error:checksum Checksum (rmd160) mismatch for instantclient-basic-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip rmd160 05c727d57171381c201f92079074a7d907134c2d
:info:checksum Distfile checksum: instantclient-basic-10.2.0.4.0-macosx-x64.zip rmd160 312924e6bbdfff1380c998c97e6847c1ebe571eb
:info:checksum --->  Checksumming instantclient-sdk-10.2.0.4.0-macosx-x64.zip
:error:checksum Checksum (md5) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip md5 fc70b8e5a2f3324f3ab64c0564fd70e3
:info:checksum Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip md5 26c987e26385aebd8311fbcc14a0b78e
:error:checksum Checksum (sha1) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip sha1 05968db004808c43b4cc90cea83b904e6618bc9c
:info:checksum Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip sha1 32fc1b8a7ce5d2b5a00a8a3120b9ba3578128b7c
:error:checksum Checksum (rmd160) mismatch for instantclient-sdk-10.2.0.4.0-macosx-x64.zip
:info:checksum Portfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip rmd160 61b6d7059598444be54e1dd43a2e765c3793554f
:info:checksum Distfile checksum: instantclient-sdk-10.2.0.4.0-macosx-x64.zip rmd160 b82897b532a4e327d8d9c4f2b534ac44edf5a5a0
:info:checksum The correct checksum line may be:
:info:checksum checksums           instantclient-basic-10.2.0.4.0-macosx-x64.zip \
                    md5     16e8ab237437ee688680202c178ff324 \
                    sha1    d50a8c1f584e7bd579457476302087e1a3d8b91d \
                    rmd160  312924e6bbdfff1380c998c97e6847c1ebe571eb \
                    instantclient-sdk-10.2.0.4.0-macosx-x64.zip \
                    md5     26c987e26385aebd8311fbcc14a0b78e \
                    sha1    32fc1b8a7ce5d2b5a00a8a3120b9ba3578128b7c \
                    rmd160  b82897b532a4e327d8d9c4f2b534ac44edf5a5a0
:error:checksum Target org.macports.checksum returned: Unable to verify file checksums
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: the following items did not execute (for oracle-instantclient): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:checksum Log for oracle-instantclient is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_oracle-instantclient/oracle-instantclient/main.log

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mustapha.ezzaouia@… added
Resolution: invalid
Status: reopenedclosed

mustapha.ezzaouia, this ticket was about checksum mismatches because the downloaded files were actually HTML files because the user did not read the instructions. The ticket was resolved by referring the user to the instructions.

Your issue is different: the checksums don't match, and the bad file is not an HTML file, but presumably an actual zip file. I just downloaded fresh copies of the files from the Oracle web site and verified that they are still the same files Oracle uploaded there on April 7, 2009; the checksums match. Therefore I can only conclude that your downloads are incomplete or otherwise corrupted; delete them and try downloading them again.

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Make sure that the size of the files you get matches the sizes listed on the Oracle web site.

Note: See TracTickets for help on using tickets.