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

2011-02-10 Thread John Brown
Andreas

FYI - after mucking about for days in an effort to get the backuppc user
with the right permissions and a known password (using htpasswd), I
eventually did a *complete* removal of the backuppc package in Synaptic;
then deleted the backuppc user; then reinstalled.

This time it went in just fine, giving the dialogue box about the creation
of the backuppc user and password.  So, although I do not recall having
previously put a copy of backuppc on my machine and then deleting it without
having ever used it, it looks as though that *is* the likely source of the
problem. The only difference between this reinstall and the previous one was
that this time I deleted the backuppc user (as hinted at in your email). So,
problem solved.

Thanks, John

On 5 February 2011 21:24, Andreas Olsson andr...@arrakis.se wrote:

 Never mind that about the duplicate. While there are similarities to
 comments later on, your issue isn't the same as the original issue
 reported in that bug report.

 Looking closer at your term log I see that there are no mention of any
 backuppc user being created? Have you had backuppc installed before on
 that system?

 --
 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


-- 
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

-- 
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


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

2011-02-07 Thread John Brown
Andreas

No, I haven't had BackupPC successfully installed before and indeed no User
has been set up. You will recall, though, that I have removed and
reinstalled from Ubuntu Software Centre to see if changing the permissions
on the directories would now allow thte links to be made and the install to
go in cleanly. Well, I got as far as the invitation to log in as user
backuppc, but had no password and couldn't enter the web interface.

After reading the config files and tinkering for a bit I came across
instructions for how to change the password using htpasswd, but this hasn't
completely solved the issue because although I now have a known password
associated with the backuppc user, there is in fact no backuppc user to
associate the password with!  I guess it's the case that the install script
had only got so far when it fell over. When I then removed and reinstalled
from Ubuntu Software Centre things were probably in an ambiguous state. Of
course, you may detect something different. Would it help if I sent you any
further config or log files? If so, do say.
--

Just to get a better handle on how a normal install ought to have gone, I
moved to the small Debian Lenny partition on my hard drive (host name
keizan) and installed BackupPC there using the command:

keizan:/# aptitude install backuppc rsync libfile-rsync-perl
libfile-rsyncp-perl par2 bzip2

as suggested on DebianHelp. [I did it there so as not to disturb the set up
on my main Ubuntu partition for diagnostic purposes]. You can tell from the
attached record of the terminal session that everything went in OK and I am
able to log in because the backuppc user was set up as expected.

From my own point of view, as I only wanted to explore the software, this is
enough for me. Equally, I could maybe strip out my Ubuntu BackupPC install
and use apt-get there to achieve the same result. But I'm aware that having
got yout teeth into this apparent bug you may well feel the need to resolve
it. In which case, I am at your disposal to the limits of my capabilities. I
have 'played' with Linux since Red Hat 5.1 and am comfortable enough with
the command line. However, I am no expert on enterprise system adminstration
so I will benefit from fairly explicit guidance/instructions.

Again, thanks for pursuing this. Let me know how you want to play it.

Regards, John


On 5 February 2011 21:24, Andreas Olsson andr...@arrakis.se wrote:

 Never mind that about the duplicate. While there are similarities to
 comments later on, your issue isn't the same as the original issue
 reported in that bug report.

 Looking closer at your term log I see that there are no mention of any
 backuppc user being created? Have you had backuppc installed before on
 that system?

 --
 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: debianInstallSession.txt
   
https://bugs.launchpad.net/bugs/713204/+attachment/1835711/+files/debianInstallSession.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

-- 
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


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

2011-02-05 Thread John Brown
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@jb:/var/lib/backuppc#*chmod 777 pc cpool


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

*root@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 andr...@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, 

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

2011-02-04 Thread John Brown
Public bug reported:

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

** Affects: backuppc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-package i386 lucid

-- 
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

-- 
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


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

2011-02-04 Thread John Brown


-- 
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

-- 
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