Subject: Re: Installing mysql from package
To: netbsd/mac68k <port-mac68k@netbsd.org>
From: Philip Brodd <pbrodd@blue.weeg.uiowa.edu>
List: port-mac68k
Date: 04/04/2001 14:00:52
On Wed, 4 Apr 2001, Allen Briggs wrote:

> On Wed, Apr 04, 2001 at 12:54:57PM -0500, Phil Brodd wrote:
> > When I try, it says
> > ===> Deinstalling for mysql-server-3.23.35nb1.
>
> Do "pkg_delete mysql-server" or "pkg_info | grep mysql" and pkg_delete
> the listing there.  "make deinstall" will delete the version in the
> makefile, but pkg_delete should delete the installed version.  This
> is arguably a bug in "make deinstall".

# pkg_delete mysql-server
pkg_delete: package 'mysql-server' not installed

Apparently the package system is convinced it was successfully
deinstalled by one of my previous attempts at "make deinstall".
However, there are still files present from that install,
(/usr/pkg/libexec/mysqld, /usr/pkg/bin/mysql_install_db, etc.).

And here's what happens when I try to install the new version:

# make && make install
===> Installing for mysql-server-3.23.35nb1
cd: can't cd to /usr/pkgsrc/databases/mysql-server/work/mysql-3.23.35
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


# ls work
.DDIR           .DLIST          .build_done     .configure_done
.extract_done   .patch_done     mysql-3.22.32


There seems not to be a 3.23.35 directory present.

Thanks.

Phil