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: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/databases/mysql5 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: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/archivers/zlib 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: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/devel/openssl 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 ---> Attempting to fetch mysql-5.0.26.tar.gz from http:// mysql.mirrors.pair.com/Downloads/MySQL-5.0/ % 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 ---> Attempting to fetch mysql-5.0.26.tar.gz from http:// mysql.he.net/Downloads/MySQL-5.0/ % 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
On Oct 29, 2006, at 09:40, Takashi Yoshida wrote:
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:
[snip]
---> 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 ---> Attempting to fetch mysql-5.0.26.tar.gz from http:// mysql.mirrors.pair.com/Downloads/MySQL-5.0/ % 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
I tried downloading 5.0.26 from that location just now and get a "404 Not Found" response.
---> Attempting to fetch mysql-5.0.26.tar.gz from http:// mysql.he.net/Downloads/MySQL-5.0/ % 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
From this URL I get a "302 Moved" response which redirects to http:// mirrors.he.net/cgi-bin/error404, and that URL delivers a "200 OK" response. No wonder MacPorts can't see that this is supposed to represent an error. This mirror is configured stupidly. [snip]
I tried to download the file directory using a web browser, but I can't find the file there either. Can anyone help me?
Perhaps the problem is that MySQL 5.0.27 was just released. Perhaps all the mirrors have already deleted 5.0.26 from their servers. Rather inconvenient for us. James is the maintainer of mysql5. James, do you have time to update mysql5 to 5.0.27? If not, I'd be happy to do it.
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?
I thought that was all that was needed. Perhaps you need to say "sudo port clean --dist <package>"
On 10/29/06, Takashi Yoshida <tyoshida@mac.com> wrote:
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.
5.0.27 appears to be available, now. perhaps the mysql team moves the archives for previous releases to a different directory?
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.
this should deep clean the port: % sudo port clean --all <port_name> however, if the archive the portfile is looking for isn't available, cleaning won't help - the portfile will need to be updated... cheers, jean-pierre
On 10/29/06, jeanpierre@gmail.com <jeanpierre@gmail.com> wrote:
On 10/29/06, Takashi Yoshida <tyoshida@mac.com> wrote:
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.
5.0.27 appears to be available, now. perhaps the mysql team moves the archives for previous releases to a different directory?
the port has been updated to 5.0.27 so just run selfupdate and you should be back in working order http://cia.navi.cx/stats/project/MacPorts/.message/13bfa cheers, jean-pierre
Awesome! Thanks a lot! On Tuesday, October 31, 2006, at 12:55PM, <jeanpierre@gmail.com> wrote:
On 10/29/06, jeanpierre@gmail.com <jeanpierre@gmail.com> wrote:
On 10/29/06, Takashi Yoshida <tyoshida@mac.com> wrote:
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.
5.0.27 appears to be available, now. perhaps the mysql team moves the archives for previous releases to a different directory?
the port has been updated to 5.0.27 so just run selfupdate and you should be back in working order http://cia.navi.cx/stats/project/MacPorts/.message/13bfa
cheers, jean-pierre
participants (3)
-
jeanpierre@gmail.com
-
Ryan Schmidt
-
Takashi Yoshida