[SOLVED]Problem upgrading on Debian

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.
Post Reply
h8uthemost
Newbie
Newbie
Posts: 5
Joined: November 9th, 2008, 11:46 am

[SOLVED]Problem upgrading on Debian

Post by h8uthemost »

Hey guys,

I'm using Crunchbang(Debian Stable) and I'm following the instructions here to upgrade my existing sab installation. But I ran into a problem with one of the commands right from the get-go. This command:

Code: Select all

echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu lucid main" | tee -a /etc/apt/sources.list
Spits me out this error:

Code: Select all

sudo echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu lucid main" | tee -a /etc/apt/sources.list
tee: /etc/apt/sources.list: Permission denied
[sudo] password for user: 
deb http://ppa.launchpad.net/jcfp/ppa/ubuntu lucid main
So for some reason I'm not able to access my sources.list, even with sudo and my password. And if I try running sudo tee -a /etc/apt/sources.list all by itself, after giving my password, terminal just hangs. Nothing happens.

Does anyone see what the problem might be?

I downloaded the source package and ran the sab.py and the newest version pops up into my browser, which is fine for right now. But if possible I would really like to get my installed version of sab upgraded.

Thanks for any help.
Last edited by h8uthemost on February 20th, 2012, 11:58 am, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Problem upgrading on Debian

Post by sander »

you're sudo-ing the echo command, which is not so useful; the tee needs the sudo rights.

So, like the instructions says, just become root in the shell ("sudo su -" on Ubuntu, I don't know on Debian), and then execute the commands.
h8uthemost
Newbie
Newbie
Posts: 5
Joined: November 9th, 2008, 11:46 am

Re: Problem upgrading on Debian

Post by h8uthemost »

That did it alright. Thanks sander.

For some reason I didn't see the root in the shell bit. And honestly, I've never ran a shell as root before so I didn't even know about the sudo su - command. I've always just sudo'd whatever command that needed root access. That's a handy command that you taught me.

Anyways, thanks a lot for answering my question. I'm all upgraded now.
Post Reply