[Bug 573633] Re: package mysqmail 0.4.9-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
Martin Pitt
martin.pitt at ubuntu.com
Wed Aug 4 13:15:51 BST 2010
Jean-Baptiste,
thanks for looking into this. I have some headache about the newly
introduced
+++ mysqmail-0.4.9/debian/mysqmail.postinst
+# Always delete the config file first.
+rm -f ${PATH_CONF_FILE}
A package should never remove a configuration file in /etc/ without
further checks. It looks like it would re-create it from debconf, but
that's the wrong way around: if the admin changes stuff in /etc/,
debconf should adapt. (debconf is a cache, /etc/ is the authoritative
configuration).
--
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 Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “mysqmail” package in Ubuntu: Fix Released
Status in “mysqmail” source package in Lucid: Confirmed
Status in “mysqmail” package in Debian: Fix Released
Bug description:
Binary package hint: mysqmail
Mysqmail package won't remove or re-install. Always get an error.
TEST CASE:
1. install mysqmail from a terminal:
$ sudo apt-get install mysqmail
VERIFICATION SUCCEEDED:
1. If dtc-core is not installed the following message is displayed
The postinstallation script of MySQMail couldn't find /var/lib/dtc/saved_install_config
you will need to run dpkg-reconfigure mysqmail once DTC is installed in order to have
mysqmail working. I will exit silently but you MUST do the above.
MySQL debconf configuration missing: will silently exit now.
Please do dpkg-reconfigure mysqmail once DTC is installed in
order to have mysqmail working.
2. If dtc-core is installed the configuration of the package goes on
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysqmail 0.4.9-1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sun May 2 17:58:39 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
PackageArchitecture: all
SourcePackage: mysqmail
Title: package mysqmail 0.4.9-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
More information about the Ubuntu-sponsors
mailing list