Bug#398525: simba: postinst fails: No mysql client to execute. (have you installed mysql-client?

2006-11-14 Thread Radu Spineanu
Hello Lucas,

There was a missing dependency on virtual-mysql-client.
When trying to run piuparts on the fixed package i encountered this error:

[..]
  Setting up simba (0.8.4-2) ...
  dbconfig-common: writing config to /etc/dbconfig-common/simba.conf

  Creating config file /etc/dbconfig-common/simba.conf with new version

  Creating config file /etc/simba/simba-db.cfg with new version
  error encountered creating user:
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
  dbconfig-common: simba configure: aborted.
  dbconfig-common: flushing administrative password
  dpkg: error processing simba (--configure):
   subprocess post-installation script returned error exit status 1
  Errors were encountered while processing:
   simba
  E: Sub-process /usr/bin/dpkg returned an error code (1)
[..]

I tried to reproduce it with cacti and i found the same problem again.

Since both cacti and simba are using dbconfig-common a proper fix should
be applied there.

A possible solution would be to modify the "Configure database with
dbconfig-common?" template to have a false default value.

Cheers,
Radu Spineanu

Lucas Nussbaum wrote:
> During a piuparts run over all the packages in etch, I ran into a
> problem with your package:
>   Setting up simba (0.8.4-1) ...
>   dbconfig-common: writing config to /etc/dbconfig-common/simba.conf
>   
>   Creating config file /etc/dbconfig-common/simba.conf with new version
>   
>   Creating config file /etc/simba/simba-db.cfg with new version
>   sanity check failed for mysql.
>   error encountered creating user:
>   No mysql client to execute. (have you installed mysql-client?
>   dbconfig-common: simba configure: aborted.
>   dbconfig-common: flushing administrative password
>   dpkg: error processing simba (--configure):
>subprocess post-installation script returned error exit status 1
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#398525: simba: postinst fails: No mysql client to execute. (have you installed mysql-client?

2006-11-14 Thread Lucas Nussbaum
On 14/11/06 at 13:25 +0200, Radu Spineanu wrote:
> Hello Lucas,
> 
> There was a missing dependency on virtual-mysql-client.
> When trying to run piuparts on the fixed package i encountered this error:
> 
> [..]
>   Setting up simba (0.8.4-2) ...
>   dbconfig-common: writing config to /etc/dbconfig-common/simba.conf
> 
>   Creating config file /etc/dbconfig-common/simba.conf with new version
> 
>   Creating config file /etc/simba/simba-db.cfg with new version
>   error encountered creating user:
>   ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>   dbconfig-common: simba configure: aborted.
>   dbconfig-common: flushing administrative password
>   dpkg: error processing simba (--configure):
>subprocess post-installation script returned error exit status 1
>   Errors were encountered while processing:
>simba
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
> [..]
> 
> I tried to reproduce it with cacti and i found the same problem again.
> 
> Since both cacti and simba are using dbconfig-common a proper fix should
> be applied there.
> 
> A possible solution would be to modify the "Configure database with
> dbconfig-common?" template to have a false default value.

Yeah, but still, that's a "normal" failure with piuparts, since it's
using the noninteractive debconf frontend. Not much can be done against
it.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#398525: simba: postinst fails: No mysql client to execute. (have you installed mysql-client?

2006-11-14 Thread Lucas Nussbaum
Package: simba
Version: 0.8.4-1
Severity: serious
Justification: makes package uninstallable
Usertags: grid5000

Hi,

During a piuparts run over all the packages in etch, I ran into a
problem with your package:
  Setting up simba (0.8.4-1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/simba.conf
  
  Creating config file /etc/dbconfig-common/simba.conf with new version
  
  Creating config file /etc/simba/simba-db.cfg with new version
  sanity check failed for mysql.
  error encountered creating user:
  No mysql client to execute. (have you installed mysql-client?
  dbconfig-common: simba configure: aborted.
  dbconfig-common: flushing administrative password
  dpkg: error processing simba (--configure):
   subprocess post-installation script returned error exit status 1

The full log is available from 
http://ox.blop.info/bazaar/buildlogs/20061114/

The piuparts run was done on about 40 AMD64 nodes of the Grid'5000
platform, using a clean chroot containing an etch i386 environment
(not unstable).  Internet was not accessible from the build systems.

About Grid'5000:
Grid'5000 is an highly reconfigurable experimental Grid platform
gathering 9 sites and featuring a total of 5000 CPUs. It serves as a
testbed for research in Grid Computing. See https://www.grid5000.fr/
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]