Page 3 of 3

Re: Running on RaspberryPi

Posted: July 2nd, 2012, 2:10 pm
by jcfp
niko86 wrote:I thought yEnc was included as a dependency, I already have python-yEnc package. Or is it a different version I need?
No, you are correct. Manual compiling of such dependencies is not necessary on Debian, as everything should be available in packaged form (the python-yenc package in this specific case). The fact that it's running on raspi makes no difference.

Re: Running on RaspberryPi

Posted: July 2nd, 2012, 8:02 pm
by zapt0
niko86 wrote: I thought yEnc was included as a dependency, I already have python-yEnc package. Or is it a different version I need?
The optimized C version is not installed by default, this is a diffrent version which is faster than python-yEnc.

When you start sabnzbd, you can check the log for this line to make sure you are running the better version:

Code: Select all

2012-07-02 03:59:20,860::INFO::[sabnzbdplus:442] _yenc module... found!
jcfp wrote:No, you are correct. Manual compiling of such dependencies is not necessary on Debian, as everything should be available in packaged form (the python-yenc package in this specific case). The fact that it's running on raspi makes no difference.
Are you absolutely sure? I did some quick benchmarking and it seemed the built-in version was much slower.

Re: Running on RaspberryPi

Posted: December 6th, 2012, 9:24 pm
by bluenote
sander wrote:
davo7135 wrote:Short version of how I did it:
Use this to add unofficial repositories: http://blog.anantshri.info/howto-add-ppa-in-debian/
then use this to add the sabnzbd repo: http://wiki.sabnzbd.org/install-ubuntu-repo

I'm not really quite sure of the implications of adding additional repositories, and it is an older version of SAB.. But it has been working really well for me (now with sickbeard), so I'm happy, and happy with my purchase
Cool, that works.

Code: Select all

pi@raspberrypi:~$ wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
--2012-06-14 07:34:41--  http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
Resolving blog.anantshri.info... 108.162.199.165, 108.162.199.65
Connecting to blog.anantshri.info|108.162.199.165|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `add-apt-repository.sh.txt'

    [ <=>                                                                                                  ] 745         --.-K/s   in 0s      

2012-06-14 07:34:42 (8.99 MB/s) - `add-apt-repository.sh.txt' saved [745]

pi@raspberrypi:~$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
cp: cannot create regular file `/usr/sbin/add-apt-repository': Permission denied
pi@raspberrypi:~$ sudo cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
pi@raspberrypi:~$ sudo chmod o+x /usr/sbin/add-apt-repository
pi@raspberrypi:~$ sudo chown root:root /usr/sbin/add-apt-repository
pi@raspberrypi:~$ sudo add-apt-repository ppa:jcfp/ppa
jcfp/ppa
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys F13930B14BB9F05F
gpg: requesting key 4BB9F05F from hkp server keyserver.ubuntu.com
gpg: key 4BB9F05F: public key "Launchpad PPA for jcfp" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
pi@raspberrypi:~$ sudo apt-get update
I'm now running SABnzbd 0.7.0 on my Raspi with Debian (Linux raspberrypi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux) :)

FWIW /etc/apt/sources.list now contains the following line:

Code: Select all

deb http://ppa.launchpad.net/jcfp/ppa/ubuntu lucid main
So Debian Squeeze is equivalent to Ubuntu Lucid?

I'm such a unix noob that I'm kind of embarassed to ask this. So with that said, when I do the above and update, I error out with:

W: Failed to fetch http://ppa.launchpad.net/jcfp/ppa/ubunt ... id/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

I went on the launchpad site and did find that repository but beyond that I'm not sure what to do next. Could one of you guys give me a pointer?

thanks

Re: Running on RaspberryPi

Posted: December 7th, 2012, 1:10 am
by sander
If you're a *x noob, why not just "sudo apt-get install sabnzbdplus" ... and you're fine.

Re: Running on RaspberryPi

Posted: December 7th, 2012, 3:50 am
by bluenote
actually I've got it all running (almost) smoothly, but I've spent the last 5 hours reading different posts and starting again. (sab, SB, CP)
I wanted the latest version, otherwise I could have just kept the 0.6.x that came easily.
In the end it was another post of yours and jcfp's that did the trick, thanks