The boxbackup 0.10 package from Debian backports is failing to install via Puppet 0.2.24. It looks as though there is an error in the package and the initial configuration fails. However, aptitude (and I assume apt-get) by default tries to recover from the error and in this case succeeds. Subsequent aptitude purge & installs work just fine and only the initial install causes this error.
The problem is that Puppet flags this install as a complete loss for some reason and keeps trying to install the package. I took the command out of the Puppet log file and ran it manually and captured the output as seen below. After I ran this install Puppet accepted the install and everything looks OK. The only problem is the initial install. Is there an option to the apt(itude) providers to allow them to perform the recovery or should I use a force
2D0987B9:~# /usr/bin/aptitude -y -o DPkg::Options::=--force-confold install boxbackup-client=0.10-1~bpo.1
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up boxbackup-client (0.10-1~bpo.1) ...
Creating config file /etc/boxbackup/bbackupd.conf with new version
Creating config file /etc/boxbackup/bbackupd/notifyadmin with new version
/etc/init.d/boxbackup-client: line 27: [: too many arguments
/etc/init.d/boxbackup-client: line 30: [: too many arguments
Starting boxbackup-client: Box Backup Client v0.10, (c) Ben Summers and contributors 2003-2006
bbackupd: failed to start: failed to open configuration file: /var/run/bbackupd.pidinvoke-rc.d: initscript boxbackup-client, action "start" failed.
dpkg: error processing boxbackup-client (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
boxbackup-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up boxbackup-client (0.10-1~bpo.1) ...
Replacing config file /etc/boxbackup/bbackupd.conf with new version
Replacing config file /etc/boxbackup/bbackupd/notifyadmin with new version
2D0987B9:~#