Comment 6 for bug 240089

Revision history for this message
Matey (mehdi-1) wrote :

Upon apt-get upgrade I get this error exits with error (1)???

/var/lib/dpkg/info/bacula-director-mysql.postinst: line 157: /etc/init.d/bacula-director: No such file or directory
dpkg: error processing bacula-director-mysql (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 bacula-director-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)

I took those lines out of the file but still get this:

Setting up bacula-director-mysql (2.2.8-5ubuntu7.2) ...
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error processing bacula-director-mysql (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 bacula-director-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)