You are not logged in.

#1 2010-10-22 03:20:28

paulbarbee
Member
Registered: 2010-08-20
Posts: 49

Cannot install sbackup

I am really in need of some backup software and like sbackup but I am having trouble with it.  I believe the problem has to do with python3.

When I try to run the version from the AUR I get "File "/usr/sbin/sbackupd", line 51
    if self.verbose: print "MyConfigParser.__init__"
                                                   ^
SyntaxError: invalid syntax
." 

I also tried to just use the version from Ubuntu Maverick but it also gets an error.

I tried installing from the latest source but after sudo make install it fails with
"install -m 644 data/org.sbackupteam.SimpleBackup.conf /etc/dbus-1/system.d
/bin/sh: line 2: dbus: command not found
make: *** [install-dbus] Error 127
"

I made a symlink from /usr/bin/dbus-launch to dbus but that returns "install -m 644 data/org.sbackupteam.SimpleBackup.conf /etc/dbus-1/system.d
Couldn't exec force-reload: No such file or directory
make: *** [install-dbus] Error 1
"

If I execeute sbackupconfig directly it returns "File "/usr/local/sbin/sbackupconfig", line 74
"
    print "Unable to open `%s` for reading." % str(self._configfile")
                                           ^
SyntaxError: invalid syntax

I would appreciate any help in resolving why I can't even install from source.  Thank you very much in advance.

Offline

#2 2010-10-22 12:44:42

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Cannot install sbackup

Just change all mentions of 'python' with 'python2'. Like the "shebang" line at the top of the script. If it says something like

#!/usr/bin/python

change it to use /usr/bin/python2.

Just a WAG.

Offline

#3 2010-10-22 13:11:09

juanmah
Member
From: Barcelona
Registered: 2009-04-02
Posts: 28
Website

Re: Cannot install sbackup

It worked thanks!

Offline

#4 2010-10-24 21:47:05

paulbarbee
Member
Registered: 2010-08-20
Posts: 49

Re: Cannot install sbackup

That resolved the problem for me too. Thank you very much!

Offline

#5 2010-10-26 17:46:25

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Cannot install sbackup

Be sure to read the news on python:

http://www.archlinux.org/news/python-is-now-python-3/

Offline

Board footer

Powered by FluxBB