Can’t Install mysql50-server Through the Ports?
I’ve been trying to install mysql50-server via ports, but have been getting a checksum error, like this:
=> MD5 Checksum mismatch for mysql-5.0.41.tar.gz.
=> SHA256 Checksum mismatch for mysql-5.0.41.tar.gz.
===> Giving up on fetching files: mysql-5.0.41.tar.gz mysql-5.0.41.tar.gz
Make sure the Makefile and distinfo file (/usr/ports/databases/mysql50-server/distinfo)
are up to date. If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop in /usr/ports/databases/mysql50-server.
*** Error code 1
Stop in /usr/ports/databases/mysql50-server.
For an easy fix, all I did was fetch the mysql tar from freebsd.org and place in /usr/ports/distfiles/, intalled again through the ports, and voila!!
Here’s an easy one liner fixer (for the lazy people, like me). Just copy and paste at prompt.
cd /usr/ports/distfiles/ && fetch ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/mysql-5.0.41.tar.gz && cd /usr/ports/databases/mysql50-server/ && make install clean NOTE: This is all one line.
Done!!
Post a Comment
You must be logged in to post a comment.