BackupPC-users

Re: [BackupPC-users] I want run BackupPC 3.1.0 on root user

2008-05-27 13:12:35
Subject: Re: [BackupPC-users] I want run BackupPC 3.1.0 on root user
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
Date: Tue, 27 May 2008 13:12:21 -0400

Nils Breunese (Lemonbit) wrote:
> Rob Owens wrote:
> 
>> Nils Breunese (Lemonbit) wrote:
>>> Rob Owens wrote:
>>>
>>>> Hi Sam.  I saw that you have had some trouble with your Debian /
>>>> BackupPC installation.  I have BackupPC running on a few Debian
>>>> servers
>>>> right now.  1 is Debian Etch, and 2 are Debian Lenny.
>>>>
>>>> On Etch, I did this:
>>>> 1) apt-get install backuppc (this installs BackupPC 2.x and all
>>>> dependencies)
>>>> 2) apt-get remove backuppc (maybe use the --purge option to remove
>>>> config files to, but I can't remember if I did that)
>>>> 3) download BackupPC 3.0 and libfile-rsync-perl from the testing
>>>> repository, and install using "dpkg -i <packagename>"
>>>> 4) I think I had to correct some permissions that weren't correct,
>>>> namely I had to "chown -R backuppc.www-data /etc/backuppc" (and I
>>>> might
>>>> have had to do the same thing for /var/lib/backuppc -- I can't
>>>> remember)
>>> What are steps 1 and 2 good for? I'd do just step 3 if I wanted to
>>> install BackupPC 3 on Debian Etch.
>>>
>> Steps 1 and 2 get you all the dependencies installed.  There are other
>> ways to do it, of course.
> 
> Hm, doesn't apt have an equivalent of yum's 'yum localinstall'  
> command? If you enable testing then you I believe you should just be  
> able to apt-get install backuppc and get BackupPC 3, but you probably  
> jump through these hoops to keep the rest of the OS on stable and only  
> get BackupPC 3 from testing?
> 
If apt has an equivalent of 'yum localinstall', then I'm not aware of it 
(that doesn't mean it doesn't exist, though!).  dpkg can install a local 
package, but doesn't handle dependencies.  You can fix that afterwards 
by running 'apt-get -f install', if the the dependencies are included in 
your repositories.

If I used apt-pinning to specify that backuppc is to come from the 
testing repo, then dependencies would be handled automatically.  That's 
not what I did, though.  I skipped the apt-pinning and simply downloaded 
the 2 packages that I knew I needed from testing.  For me that was 
simpler, but there are good reasons to use apt-pinning too.

-Rob
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/