Re: [Fink-devel] possible dpkg fix

2007-02-11 Thread Robert T Wyatt
[I still don't know how to get
rid of the half-installed mysql-ssl though.]

... fixed by force-overwriting mysql and then removing all the packages.


-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] possible dpkg fix

2007-02-10 Thread Robert T Wyatt
Nevermind. The solutions for the two computers were:

sudo dpkg -i --force-overwrite 
/sw/var/cache/apt/archives/coreutils-default_1%3a5.96-5_darwin-powerpc.deb

and

sudo dpkg -i --force-overwrite 
/sw/fink/dists/unstable/main/binary-darwin-powerpc/utils/coreutils-default_5.96-5_darwin-powerpc.deb

That fixed the coreutils-default problem. I still don't know how to get 
rid of the half-installed mysql-ssl though.

Thanks,
Robert

-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] possible dpkg fix

2007-02-10 Thread Robert T Wyatt
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 buyi

Re: [Fink-devel] possible dpkg fix

2007-02-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Hansen wrote:
>> However I definitely think we need to be working with the upstream
>> debian dpkg developers to get fink working with the current dpkg
>> since that package is key to fink and we simply can't afford to fork
>> from them.

we've had a port of the newer dpkg in our cvs for a while, it's just
stagnated a bit.  The last known issue was that upon integrating with
our bootstrap process, it wasn't creating a status database.  I believe
that can be fixed by just touching the status file on post-install.

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/

(and 10.3 for the 10.3 version)

> It would depend on whether we need a tar version that is higher than
> what the system provides (on either 10.3 or 10.4) for either dpkg or
> fink.
> 
> The current unstable dpkg.patch is 94k.  I think we're approaching
> "fork" status.

Nah, most of that is updating manpages to report /sw/etc/foo and such.
There are some patches to the actual code, but it's not huge.

- --
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFyiF3Uu+jZtP2Zf4RAoQgAJ9UEdiipUzJy78In/hgj6zQ7IU3jQCffwF/
leN3RyWljQSK/IaqQhsuErI=
=PbEp
-END PGP SIGNATURE-

-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] possible dpkg fix

2007-02-07 Thread Alexander Hansen
On 2/7/07, Jack Howarth <[EMAIL PROTECTED]> wrote:
> Couldn't we just fix these tar related problems by forcing
> dpkg to always use the Apple version of tar in 10.4? This should
> be as simple as changing...
>
> --- dpkg-1.10.21/include/dpkg.h.in.org  2007-02-07 11:25:24.0 -0500
> +++ dpkg-1.10.21/include/dpkg.h.in  2007-02-07 11:25:57.0 -0500
> @@ -126,7 +126,7 @@
>  #define DPKG   "dpkg"
>  #define DEBSIGVERIFY   "/usr/bin/debsig-verify"
>
> -#define TAR"tar"
> +#define TAR"/usr/bin/tar"
>  #define GZIP   "gzip"
>  #define RM "rm"
>  #define FIND   "find"
>
> However I definitely think we need to be working with the upstream
> debian dpkg developers to get fink working with the current dpkg
> since that package is key to fink and we simply can't afford to fork
> from them.
> Jack
>

It would depend on whether we need a tar version that is higher than
what the system provides (on either 10.3 or 10.4) for either dpkg or
fink.

The current unstable dpkg.patch is 94k.  I think we're approaching
"fork" status.

-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] possible dpkg fix

2007-02-07 Thread Jack Howarth
Couldn't we just fix these tar related problems by forcing
dpkg to always use the Apple version of tar in 10.4? This should
be as simple as changing...

--- dpkg-1.10.21/include/dpkg.h.in.org  2007-02-07 11:25:24.0 -0500
+++ dpkg-1.10.21/include/dpkg.h.in  2007-02-07 11:25:57.0 -0500
@@ -126,7 +126,7 @@
 #define DPKG   "dpkg"
 #define DEBSIGVERIFY   "/usr/bin/debsig-verify"
 
-#define TAR"tar"
+#define TAR"/usr/bin/tar"
 #define GZIP   "gzip"
 #define RM "rm"
 #define FIND   "find"

However I definitely think we need to be working with the upstream 
debian dpkg developers to get fink working with the current dpkg
since that package is key to fink and we simply can't afford to fork
from them.
Jack

-
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
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel