BackupPC-users

Re: [BackupPC-users] [BackupPC-devel] Ubuntu Upgrade from 3.0.0 to 3.1.0 problem

2008-07-22 19:30:59
Subject: Re: [BackupPC-users] [BackupPC-devel] Ubuntu Upgrade from 3.0.0 to 3.1.0 problem
From: Holger Parplies <wbppc AT parplies DOT de>
To: Jon Craig <cannedspam.cant AT gmail DOT com>
Date: Wed, 23 Jul 2008 01:29:43 +0200
Hi,

I'm redirecting this to <backuppc-users> as it's a usage issue.

Jon Craig wrote on 2008-07-22 13:42:33 -0400 [[BackupPC-devel] Ubuntu Upgrade 
from 3.0.0 to 3.1.0 problem]:
> I started with the Ubuntu backuppc package that is based on "3.0.0".
> Once I was convinced that BackupPC was the way to go I downloaded and
> installed the "3.1.0" and ran the configure.

Bad idea. You shouldn't mix packaged and tarball installs. Your dpkg status
database now contains references to files belonging to a deb-package named
"backuppc" which possibly don't exist any longer or at the very least have
different contents. To make things worse, dpkg "knows" that the installed
version is 3.0.0 (possibly with a Ubuntu package revision number appended).
'apt-get install --reinstall backuppc' is guaranteed to get things horribly
wrong, as are 'apt-get install backuppc'/'apt-get [dist-]upgrade' when there's
a new BackupPC package in Ubuntu - including possibly a security update of
3.0.0, and 'apt-get remove backuppc' as there are probably new files unknown
to dpkg - possibly duplicates in non-Ubuntu locations. dpkg thinks it knows
about the package and its files, but this knowledge is now outdated. There is
no simple way to recover from this.

> I then looked at the configure.pl from the install package and found
> that it set $useFHS to 1 when it detected a "/etc/BackupPC" directory.
>  It's my guess that at one point this was the naming for the directory
> and it underwent a rename.

Wrong. It still is /etc/BackupPC for the tarball version. The Debian and
Ubuntu packages use /etc/backuppc. I think this is a good idea, because it
discourages mixing up package and tarball :-).

Regards,
Holger

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/