I guess this affects me too.

I installed bacula trying to make it use postgres instead of mysql.
There were some errors during installation that I did not pay enough
attention to. I decided to remove all to get a clean slate but ended up
with a broken package that could not be repaired.

Installation was not possible and removal wasn't possible either - I got
this:

#----------------------------------------------
Removing bacula-director-pgsql ...
invoke-rc.d: unknown initscript, /etc/init.d/bacula-director not found.    
<==== THIS IS THE CULPRIT
dpkg: error processing bacula-director-pgsql (--purge):
 subprocess installed pre-removal script returned error exit status 100
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
 bacula-director-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)
#----------------------------------------------


I finally solved it by creating an empty file:
$ touch /etc/init.d/bacula-director

After this everything ran smoothly

** Bug watch added: Debian Bug tracker #542774
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542774

-- 
package bacula-director-pgsql 2.4.2-1ubuntu6 failed to install/upgrade: le 
sous-processus post-installation script a retourné une erreur de sortie d'état 1
https://bugs.launchpad.net/bugs/329629
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to