Page 2 of 2

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:03 pm
by bigdavethehorn
I copied that exactly as it appeared!

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:06 pm
by sander
bigdavethehorn wrote:pi@raspberrypi ~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
sudo apt-get update

sudo apt-get update
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
pi@raspberrypi ~ $
As said: those lines with "sudo" should not be there. Remove them:

Code: Select all

sudo nano /etc/apt/sources.list
and remove those lines so that only the lines starting with "deb" stay there.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:09 pm
by bigdavethehorn
Ok, my sources.list now reads like this:

pi@raspberrypi ~ $ cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:17 pm
by bigdavethehorn
sudo apt-get update

Seemed to work fine, loads of lines, no errors.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:18 pm
by bigdavethehorn
sudo apt-get build-dep unrar-nonfree

Again, seemed to work fine, loads of lines, no errors.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:25 pm
by bigdavethehorn
sudo apt-get source -b unrar-nonfree

Took ages, loads of lines this time, no errors though.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:27 pm
by bigdavethehorn
sudo dpkg -i unrar_4.1.4-1_armhf.deb

Very quick this time, no errors again. Restarting the Pi now.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:36 pm
by sander
bigdavethehorn wrote:sudo dpkg -i unrar_4.1.4-1_armhf.deb

Very quick this time, no errors again. Restarting the Pi now.
A restart? For a normal program that is not needed.

Anyway ... can you type "unrar" on the commandline? What is the output?

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:38 pm
by bigdavethehorn
And it's working!

Once again Sander, your help has been invaluable. But why did it not work at the beginning? There seemed to be a problem with this line of code:

echo "deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" | sudo tee -a /etc/apt/sources.list

Any ideas?

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 2nd, 2012, 4:52 pm
by sander
bigdavethehorn wrote:And it's working!

Once again Sander, your help has been invaluable. But why did it not work at the beginning? There seemed to be a problem with this line of code:

echo "deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi" | sudo tee -a /etc/apt/sources.list

Any ideas?
Somehow the second command line got into that file. Maybe caused by misplaced " character.

Anyway: it's working. Good.

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 3rd, 2012, 3:49 pm
by bigdavethehorn
So, for future reference (in case I mess up this install!) should the code read as follows?

echo "deb-src http://mirrordirector.raspbian.org/raspbian/wheezy main contrib non-free rpi"
sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep unrar-nonfree
sudo apt-get source -b unrar-nonfree
sudo dpkg -i unrar_4.1.4-1_armhf.deb

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 3rd, 2012, 3:56 pm
by sander
No: you split the first line into the two lines. Not good.

See https://forums.sabnzbd.org/viewtopic.ph ... 569#p70056

Re: Can't find sabnzbd.ini file on Raspberry Pi

Posted: September 3rd, 2012, 4:17 pm
by bigdavethehorn
Ok ok, no more questions for you Sander!

I'd like to thank you once again for your help, I really appreciate you taking the time to help me getting SAB working.