Hi all,
Does anyone have problem with installing mysql5?
I tried to install it several times on my MacBook Pro, but it looks like the tarball does not exist at the server.
I get the following error message:
$ sudo port -d install mysql5 +server
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5
DEBUG: Requested variant darwin is not provided by port mysql5.
DEBUG: Requested variant i386 is not provided by port mysql5.
DEBUG: Requested variant macosx is not provided by port mysql5.
DEBUG: Executing variant darwin_8 provides darwin_8
DEBUG: Executing variant server provides server
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib
DEBUG: Searching for dependency: zlib
DEBUG: Found Dependency: receipt exists for zlib
DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Executing com.apple.main (mysql5)
---> Fetching mysql5
DEBUG: Executing com.apple.fetch (mysql5)
---> mysql-5.0.26.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/mysql5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
DEBUG: Fetching failed:: HTTP response code said error
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
350 222 350 734 0 0 533 0 --:--:-- 0:00:01 --:--:-- 533
---> Verifying checksum(s) for mysql5
DEBUG: Executing com.apple.checksum (mysql5)
---> Checksumming mysql-5.0.26.tar.gz
Error: Checksum (md5) mismatch for mysql-5.0.26.tar.gz
Portfile checksum: mysql-5.0.26.tar.gz md5 63ec8afeaf202c435b12d112f5ce7857
Distfile checksum: mysql-5.0.26.tar.gz md5 b9c61efd40b65217481aff1e02a9d7e6
Error: Checksum (sha1) mismatch for mysql-5.0.26.tar.gz
Portfile checksum: mysql-5.0.26.tar.gz sha1 7197159f9214722aa41b82ad80f87b4af5d232ce
Distfile checksum: mysql-5.0.26.tar.gz sha1 f2c5254e437c1c91712c74877ecdc5e95d95cae2
Error: Target com.apple.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for mysql5): com.apple.activate com.apple.extract com.apple.checksum com.apple.patch com.apple.configure com.apple.build com.apple.destroot com.apple.install
Error: Status 1 encountered during processing.
I tried to download the file directory using a web browser, but I can't find the file there either.
Can anyone help me?
And also, when download error occurs, what can I do (my connection to the server isn't always stable)? I tried running: sudo port -d clean <package name>. After this, I try installing again but I always end up having the same error. It seems like it's not even retrying to download. I have to dig around /opt/local/var for the offending file and it's really cumbersome. Is there a quick way to redownload the source files without having to dig around?
--
Takashi Yoshida
tyoshida [at] mac [dot] com