[Bug 713204] Re: package backuppc 3.1.0-9ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

John Brown 713204 at bugs.launchpad.net
Sat Feb 5 19:33:55 UTC 2011


Andreas

Many thanks for pointing me back to the detail of the error report
itself.

I've run the checks it suggests (df. df -i, etc) and include for your
information a copy of the output of the terminal session showing (as far as
I can tell) that there was no essential problem beyond the fact that the
directory *cpool* had not been created. I created this directory. I then
disabled all other web servers and got Apache2 running OK.

Anyway, I then tried to reinstall BackupPC from Ubuntu Software Centre but
the exact same thing occurred - same error "Unable to make hard link...
etc".  I thought it could just be a permissions problem, so for simplicity &
speed I changed directory to /var/lib/backuppc and did a quick:

*root at jb:/var/lib/backuppc#*        chmod 777 pc cpool


After doing this, I *was* able to start the program with:

*root at jb:/var/lib/backuppc#*         /etc/init.d/backuppc start


and check into it with the web interface.... well, now, of course, I need to
re-read the documentation to find out how to locate the password to let me
in! Either that or reinstall the software and hope that with a successful
install the password will be shown on-screen... Ah well, at least with your
help I seem to have detected the main problem... permissions.

I've also had a look at the other bug report you pointed to and I conclude
that I have achieved the same outcome by a different method (i.e. I made the
directories "everyone's" rather than root's or the usual user's). My
approach is a bit of a blunt instrument and absolutely _not_ recommended for
production use! But it's fine for testing purposes.

Of course, the recent Linux Format magazine article [Issue LXF142 March
2011, page 43]  *did* suggest that BackupPC's configuration is not for the
faint-hearted :-). I only thought about using this program because it would
allow me to back up my laptop to a NAS drive; many backup programs assume
you want to backup to a physically-connected USB hard drive. So I may be as
well-off in the long run sticking with Backup-Manager - or even using mc
instead. Equally, it's no sweat to use a variant of ftp (eg ncftp does
things quite nicely) to do the job. It's just I can never resist the chance
to explore another bit of excellent free software :-)

Thanks again for your interest and advice.

John

On 5 February 2011 15:42, Andreas Olsson <andreas at arrakis.se> wrote:

> Yes, you do seem to have a conflict between apache and lighttpd, yet
> that isn't what causes the installation of backuppc to fail. Here we
> have the relevant error message
>
>  * Starting backuppc...
> 2011-02-04 16:32:11 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
>
> See also bug #445154.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/713204
>
> Title:
>  package backuppc 3.1.0-9ubuntu1 failed to install/upgrade: subprocess
>  installed post-installation script returned error exit status 1
>
> Status in “backuppc” package in Ubuntu:
>  New
>
> Bug description:
>  Binary package hint: backuppc
>
>  I was using Ubuntu Software Centre to install BackupPC, but the script
>  failed. I suspect it was because although I'd installed Apache, I had
>  not yet set up Apache2 config files -  I've been using lighttpd
>  instead. So when the script tried to restart the web server it failed.
>  Maybe a bit more clarity about the dependencies on the Info page would
>  be useful. I'll try to get Apache2 working properly and then do a re-
>  install from Ubuntu Software Centre.
>
>  John
>
>  ProblemType: Package
>  DistroRelease: Ubuntu 10.04
>  Package: backuppc 3.1.0-9ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
>  Uname: Linux 2.6.32-28-generic i686
>  Architecture: i386
>  Date: Fri Feb  4 16:32:12 2011
>  ErrorMessage: subprocess installed post-installation script returned error
> exit status 1
>  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
>  PackageArchitecture: all
>  SourcePackage: backuppc
>  Title: package backuppc 3.1.0-9ubuntu1 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 1
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/713204/+subscribe
>


** Attachment added: "terminal_session.txt"
   https://bugs.launchpad.net/bugs/713204/+attachment/1832648/+files/terminal_session.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to backuppc in ubuntu.
https://bugs.launchpad.net/bugs/713204

Title:
  package backuppc 3.1.0-9ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1



More information about the Ubuntu-server-bugs mailing list