The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Upgrading MySQL 3.22 to 3.23 on FreeBSD 4.0-RELEASE
Author: Baba 
Date:   11-03-01 11:41

Hi,

I'm having problems upgrading MySQL 3.22 to 3.23 on FreeBSD 4.0.

This is what I did:

cd /usr/ports/databases/mysql322-server
make deinstall
cd /usr/ports/databases/mysql322-client
make deinstall
cd /var/db
rm -R mysql

(MySQL 3.22 came with the ports collection when I installed FreeBSD, I did not download it from the FreeBSD site)

I then downloaded the MySQL 3.23.33 port (server and client) and untarred it into /usr/ports/databases and then did this:

cd /usr/ports/databases
cd mysql323-server
make

The compile went fine, but when I ran "make install", I was notified that a previous MySQL version already existed (although I had deinstalled 3.22).

So I did this:

export FORCE_PKG_REGISTER=true
make install

I then seemed to install fine, but then half-way it failed at at "Generating temporary packing list", and stopped with an error code 1, "Missing package files".

I didn't know what to do here, so I reinstalled 3.22.

Am I getting this error because the port is meant for FreeBSD 4.2 and I am using 4.0?

Can anyone be kind enough to advise me on what I should do?

Thanks,

Reply To This Message
 
 Re: Upgrading MySQL 3.22 to 3.23 on FreeBSD 4.0-RELEASE
Author: Dan Langille 
Date:   11-03-01 22:42

do a pkg_delete of the already installed package (i.e. port).

make deinstall is different from pkg_delete.

Use pkg_info | grep mysql to see what ports you have installed. Then do pkg_delete package-name. Then do your installs again.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org