Benjamin Reed wrote:
> Since this discussion resurfaced, I've updated the dpkg in our vendor
> branch to the latest version, and it appears to work OK. If people want
> to try it out, I would appreciate it.
>
> http://svn.finkproject.org/svn/users/ranger/trunk/experimental/3rdparty/10.4/main/finkinfo/base/
I'm using this dpkg on two machines. It did build and install successfully.
Unfortunately I've come across a problem and I'm not sure where the
cause lies (quite likely it is user error). Let me try to describe the
situation. I noticed that mysql.info was updated recently so I went to
upgrade my package. That's when I realized that I somehow got non-ssl
packages mixed in with -ssl packages. So I tried to install mysql-ssl
along with mysql-ssl-client mysql-ssl15-dev mysql-ssl15-shlibs. At which
point I had to remove a few dependent packages as well as
coreutils-default because dpkg complained that mysql-ssl was trying to
overwrite package /sw/bin/test which is also in coreutils-default. I
also ran into other difficulties with mysql-ssl so I tried to remove all
of these packages and reinstall coreutils-default.
Anyhow, I'm now at a point (on both computers) where mysql-ssl is not
installed but I cannot install coreutils-default because it is trying to
overwrite /sw/bin/test which is also in mysql-ssl (which is not installed).
I'll happily try any recommendations. --Robert
Here are a few of things I've tried:
bash-3.2$ fink list mysql-ssl; fink install coreutils-default
Information about 6829 packages read in 5 seconds.
mysql-ssl 5.0.34-1002 Open Source SQL database
mysql-ssl-client 5.0.34-1002 Open Source SQL database - Client
mysql-ssl15-dev 5.0.34-1002 Open Source SQL database - Development
headers and libraries
mysql-ssl15-shlibs 5.0.34-1002 Open Source SQL database - Shared
libraries
Password:
Information about 6829 packages read in 4 seconds.
The package 'coreutils-default' will be installed.
Reading dependency for coreutils-default-5.96-5...
The following package will be installed or updated:
coreutils-default
Reading buildlock packages...
All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb
(Reading database ... 273297 files and directories currently installed.)
Unpacking coreutils-default (from
.../coreutils-default_1%3a5.96-5_darwin-powerpc.deb) ...
/sw/bin/dpkg: error processing
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb
(--install):
trying to overwrite `/sw/bin/test', which is also in package mysql-ssl
Errors were encountered while processing:
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package coreutils-default-5.96-5
bash-3.2$ sudo dpkg -i --force-overwrite mysql-ssl
/sw/bin/dpkg: error processing mysql-ssl (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mysql-ssl
bash-3.2$ sudo dpkg --purge mysql-ssl
(Reading database ... 479263 files and directories currently installed.)
Removing mysql-ssl ...
No matching service found for "mysql", skipping.
/sw/bin/dpkg: error processing mysql-ssl (--purge):
subprocess pre-removal script returned error exit status 1
/sw/bin/mysql_install_db: line 1: /sw/bin/hostname: No such file or
directory
WARNING: The host '' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing all prepared tables
070210 21:19:50 [Warning] Setting lower_case_table_names=2 because file
system for /sw/var/mysql/ is case insensitive
Fill help tables
070210 21:19:50 [Warning] Setting lower_case_table_names=2 because file
system for /sw/var/mysql/ is case insensitive
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/sw/bin/mysqladmin -u root password 'new-password'
/sw/bin/mysqladmin -u root -h password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /sw/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /sw ; /sw/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench'
directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /sw/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
No matching service found for "mysql", skipping.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-ssl
bash-3.2$
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel