Running on RaspberryPi

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
User avatar
jcfp
Release Testers
Release Testers
Posts: 896
Joined: February 7th, 2008, 12:45 pm

Re: Running on RaspberryPi

Post by jcfp » July 2nd, 2012, 2:10 pm

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.

zapt0
Newbie
Newbie
Posts: 6
Joined: March 19th, 2010, 10:46 am

Re: Running on RaspberryPi

Post by zapt0 » July 2nd, 2012, 8:02 pm

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.

bluenote
Jr. Member
Jr. Member
Posts: 57
Joined: November 19th, 2010, 3:28 am

Re: Running on RaspberryPi

Post by bluenote » December 6th, 2012, 9:24 pm

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

[email protected]:~$ 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]

[email protected]:~$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
cp: cannot create regular file `/usr/sbin/add-apt-repository': Permission denied
[email protected]:~$ sudo cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
[email protected]:~$ sudo chmod o+x /usr/sbin/add-apt-repository
[email protected]:~$ sudo chown root:root /usr/sbin/add-apt-repository
[email protected]:~$ 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)
[email protected]:~$ 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

User avatar
sander
Release Testers
Release Testers
Posts: 6738
Joined: January 22nd, 2008, 2:22 pm

Re: Running on RaspberryPi

Post by sander » December 7th, 2012, 1:10 am

If you're a *x noob, why not just "sudo apt-get install sabnzbdplus" ... and you're fine.

bluenote
Jr. Member
Jr. Member
Posts: 57
Joined: November 19th, 2010, 3:28 am

Re: Running on RaspberryPi

Post by bluenote » December 7th, 2012, 3:50 am

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

Post Reply