I found the real problem:

During the install, all of the directories are being created as owned by
root:root.  Changing them to be owned by the backuppc ID eliminates the
failure:


 * Starting backuppc...                                                         
                                                      2010-08-22 13:59:58 Can't 
create a test hardlink between a file in /var/lib/backuppc/pc and 
/var/lib/backuppc/cpool.  Either these are different file systems, or this file 
system doesn't support hardlinks, or these directories don't exist, or there is 
a permissions problem, or the file system is out of inodes or full.  Use df, df 
-i, and ls -ld to check each of these possibilities. Quitting...
invoke-rc.d: initscript backuppc, action "start" failed.
dpkg: error processing backuppc (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu ...
Errors were encountered while processing:
 backuppc
E: Sub-process /usr/bin/dpkg returned an error code (1)
e...@pluto:~$ ll /var/lib/backuppc
total 32
drwxr-xr-x 2 root root  4096 2009-12-18 09:51 cpool
drwx------ 2 root root 16384 2010-08-22 13:24 lost+found
drwxr-xr-x 2 root root  4096 2009-12-18 09:51 pc
drwxr-xr-x 2 root root  4096 2009-12-18 09:51 pool
drwxr-xr-x 2 root root  4096 2009-12-18 09:51 trash
e...@pluto:~$ sudo chown -R backuppc:backuppc /var/lib/backuppc
e...@pluto:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up backuppc (3.1.0-9ubuntu1) ...
Module auth_basic already enabled
Module authz_groupfile already enabled
Module authn_file already enabled
Module authz_user already enabled
Module cgi already enabled
 * Starting backuppc...                                                         
                                               [ OK ] 

Processing triggers for menu ...
e...@pluto:~$

-- 
package backuppc 3.1.0-4ubuntu1.1 failed to install/upgrade: subprocess 
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/445154
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc 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