← Back to team overview

registry team mailing list archive

[Bug 573633] Re: package mysqmail 0.4.9-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

 

Jean-Baptiste Lallement,

thank you for your Work.

My question, Iḿ not an Linux or Unix specialist, I use Linux only (99,9%
Gnome), extrem seldem Terminal.

How to use the "mysqmail_0.4.9-1ubuntu0.1.debdiff"?

I've installed dtc-core by Software-Center, but it failed with following Message 8a part of them)
"
erarbeite Trigger für libapache2-mod-php5 ...

 * Reloading web server config apache2

   ...done.

Richte mysqmail ein (0.4.9-1) ...

The postinstallation script of MySQMail couldn't find
/var/lib/dtc/saved_install_config

dpkg: Fehler beim Bearbeiten von mysqmail (--configure):

 Unterprozess installiertes post-installation-Skript gab den Fehlerwert
10 zurück

Richte webalizer ein (2.01.10-32.6) ...

/var/www/webalizer created
"

I use your  "sudo apt-get install --reinstall mysqmail" in a Terminal.
Result blow

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Status-Informationen einlesen... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht länger benötigt:
  g++-4.4 libstdc++6-4.4-dev g++ dpkg-dev xz-utils build-essential
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? j
Richte mysqmail ein (0.4.9-1) ...


After that, I step forward as in the Message showed:
"/usr/share/dtc/admin/install/install" to complete the DTC-core install.

"
File /etc/default/spamassassin was not patched, no need to unpatch.
===> Create DTC user and group
-> Group dtcgrp already exists: skipping creation!
-> User dtc already exists: skipping creation!
===> Searching for php binary
-> Searching for PATH_PHP_CGI
The DTC installer has detected PHP version 5 release 3
-> Searching for php.ini for the apache 2 module and php 5
-> Searching for PATH_PHP_INI_CLI
-> Searching for debian version
-> Searching for mysql.sock
-> Searching for sudo path
-> Setting up dtcdaemons password
===> Uninstalling ports.conf
===> Uninstalling inclusion from courier authdaemonrc
===> Uninstalling inclusion from dovecot.conf
===> Uninstalling inclusion from proftpd.conf
===> Uninstalling inclusion from postfix/main.cf
===> Uninstalling inclusion from postfix/master.cf
===> Uninstalling aliases from /etc/aliases
===> Uninstalling inclusion from postfix/sasl/smtpd.conf
===> Uninstalling inclusion from amavis/amavisd.conf
===> Uninstalling from qmail
===> Uninstalling inclusion from /etc/sudoers
===> Uninstalling inclusion from /etc/shells
===> Uninstalling inclusion from /etc/ssh/sshd_config
===> Uninstalling inclusion from /etc/nss-mysql.conf
===> Uninstalling inclusion from /etc/nss-mysql-root.conf
===> Uninstalling inclusion from /etc/nsswitch.conf
===> Uninstalling ports.conf
===> Create DTC user and group
-> Group dtcgrp already exists: skipping creation!
-> User dtc already exists: skipping creation!
===> Searching for php binary
-> Searching for PATH_PHP_CGI
The DTC installer has detected PHP version 5 release 3
-> Searching for php.ini for the apache 2 module and php 5
-> Searching for PATH_PHP_INI_CLI
-> Searching for debian version
-> Searching for mysql.sock
-> Searching for sudo path
-> Setting up dtcdaemons password
-> Generating mysql_config.php
-> Creating dtc-chroot-shell script with sudo path /usr/bin/sudo.
Skiping under Debian (just checking if /bin/dtc-chroot-shell is there)...
===> Searching and symlinking to apache.pid file
-> Enabling mod rewrite and modssl for apache 2
Enabling module rewrite.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Run '/etc/init.d/apache2 restart' to activate new configuration!
Creating /usr/share/dtc/admin/.htaccess file.
===> Generating SSL certificate
Generating a 1024 bit RSA private key
.............................................................++++++
.......................................++++++
writing new private key to 'privkey.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, YOUR name) []:Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:An optional company name []:writing RSA key
Signature ok
subject=/C=FR/ST=the state/L=Paris/O=GPLHost/OU=no-unit/CN=dtc./emailAddress=example@xxxxxxxxxxx
Getting Private key
===> Creating cyrus.php
===> Setting up rrdtools and graphs in "/usr/lib/cgi-bin"
-> Creating mail queue rrd: /usr/share/dtc/admin/queuegraph/createrrd.sh /var/lib/dtc/etc
-> Creating network statistics rrd file
-> Creating cpu load statistics rrd
-> Creating memory statistics rrd
-> Creating sales stats rrd
===> Not reporting install this time...
Applying patch to /etc/default/spamassassin
patching file /etc/default/spamassassin
Generating DTC's locale, this will take a while: en_US.UTF-8 fr_FR.UTF-8 it_IT.UTF-8 hu_HU.UTF-8 de_DE.UTF-8 ru_RU.UTF-8 nl_NL.UTF-8 zh_CN.UTF-8 zh_TW.UTF-8 pl_PL.UTF-8 sv_SE.UTF-8 sr_RS.UTF-8 pt_PT.UTF-8 pt_BR.UTF-8 es_ES.UTF-8 fi_FI.UTF-8 lv_LV.UTF-8 done!
===> Checking "nameserver 127.0.0.1" in /etc/resolv.conf
Adding nameserver 127.0.0.1 to /etc/resolv.conf
nameserver 192.168.2.1
===> Checking BSD type
Kernel: Linux
===> Creating chroot tree in /var/lib/dtc/chroot_template for unix type: debian
-> Making devices
-> Copying utilities
-> Creating /etc template
-> Copying essential libraries
-> Some ldd things
-> Fixup rights
-> Managing ldconfig
-> Done chroot template!
===> DTC is now creating its database:
->mysql_cli_path is not set
mysqlshow_cli_path is not set
Setting up mysql cli mysql without password
-> Installing or upgrading DTC database: dtc
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
"


For now, I istalled the Apche2 , the MYSQL-DB and other stuff to manage an create DB's, without any error Message.

Thanks for your Help, great job!

Now, I can forword to install the programs for my job.

Best regards

-- 
package mysqmail 0.4.9-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
https://bugs.launchpad.net/bugs/573633
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.