News: 0.5.4 Final is out!  | Return to SABnzbd.org | Contribute to SABnzbd+ | Donors September 02, 2010, 11:42:04 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?
*

(Unofficial) Ubuntu repository for SABnzbd+
Pages: [1] 2 3 ... 13
  Print  

  (Unofficial) Ubuntu repository for SABnzbd+
Author Message
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« on: March 14, 2008, 05:05:27 PM »

I've created a repository with the latest version of SABnzbd+. When using this repository, you will be able to easily install the program and its dependencies, and in case any new version of the program is released, you will be automatically notified just like with any other updated package. Reasonable efforts will be made to keep things as up-to-date as possible. Be patient.

Currently hardy (8.04), jaunty (9.04), karmic (9.10), lucid (10.04) and maverick (10.10) are supported. In order to satisfy all dependencies, both Ubuntu's universe and multiverse repositories must be enabled on your system. Debian users: sabnzbdplus is in sid/unstable (contrib).


    The Quick Howto    
As with any repository, this one too has to be added to your /etc/apt/sources.list. To do so, run the following command in a terminal:
Code:
echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list

Now add the repository's gpg key to the list of keys known and trusted by apt:
Code:
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F

Next, tell apt to update, so it learns of the new package now available:
Code:
sudo apt-get update

Install the main program package. All dependencies will be automatically taken care of in this step as well:
Code:
sudo aptitude --with-recommends install sabnzbdplus

Finally, you can install the optional "Mobile" interface template:
Code:
sudo aptitude install sabnzbdplus-theme-mobile


And that's it. To start the program, you have several options (listed in no particular order):
1. From the command line. Just execute:
Code:
sabnzbdplus

2. As a system service. This will automatically start the program on boot (in the background before you even log in) using the init.d script provided by the package. It will only work after you edit /etc/default/sabnzbdplus as per instructions in that file. To test if things work, run:
Code:
sudo /etc/init.d/sabnzbdplus start
Although for obvious reasons no browser is auto-started when running the program like this, the web interface is still available at the usual location of http://localhost:8080/ (or whatever other host and port you configured).

3. From your desktop menu: the Sabnzbd+ item can be found in the Networking section. Available in the ppa packages, starting with version 0.5.2 but not yet in the official packages.


Support for end-of-queue action (like shutdown or hibernate) may work if you install the 'python-dbus' package.


    The Fine Print    
  • This is an unofficial package from an unofficial repository. Don't file bugs about packages installed from this repository in Ubuntu's bug tracker, instead complain right here in this topic.
  • Several small changes have been made compared to stock sabnzbd+; the only one relevant for everyday use is that the version from the package always tries to find and use the configuration in the home directory of the user starting it, even when run in the background. The standard one doesn't, instead - when run with the --daemon option - it always assumes its configuration is in the same directory as the executable. This is undesirable with a system-wide install on Linux, since it causes the program to attempt to store its configuration file in /usr/bin.
  • The sabnzbdplus package is also available from the official Ubuntu repositories (jaunty/9.04 and newer, in multiverse) as well as from Debian (sid/unstable, in contrib). It's safe to use the ppa and the official repositories side by side in Ubuntu; in case both have the same release the design of the package will cause the official repositories to take precedence.


If you are interested in packaging, want to grab the source package, or just check out the build logs, visit the launchpad ppa page of the repository.

Enjoy!
« Last Edit: May 30, 2010, 08:20:53 AM by jcfp » Logged
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« Reply #1 on: March 21, 2008, 09:35:11 AM »

The source package for version 0.3.4 was uploaded to the repository last night, and was successfully built and published shortly thereafter.
Logged
DeXeS
Release Testers
Full Member
*
Posts: 220



View Profile
« Reply #2 on: March 21, 2008, 10:02:28 AM »

nice! will use it when reinstalling my ubuntu machine. Smiley
Logged
blis102
Newbie
*
Posts: 1


View Profile
« Reply #3 on: April 25, 2008, 08:24:25 PM »

Awesome work!

After a little bit of messing around I got it to work just fine. Not sure what problem I was running into but its working great now!
« Last Edit: June 02, 2008, 05:46:49 PM by inpheaux » Logged
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« Reply #4 on: June 02, 2008, 06:19:44 PM »

0.4.0rc2 has been uploaded and built. Compared to 0.3.4 the perl dependencies have gone, a recommended dependency for python-pyopenssl has been added (for ssl support), and of course sabnzbd+ has been greatly improved Grin.

In case you are upgrading from the 0.3.4 package and have your system set to not automatically install recommended packages, it might be necessary to install the python-pyopenssl package manually if you want ssl support to work. Otherwise nothing needs to be done but follow normal update procedures when prompted by the system.

The instructions for using the repository in the start post have been rewritten in a bit more generic way, and should work with the current as well as any future version.
« Last Edit: June 02, 2008, 08:19:41 PM by jcfp » Logged
shypike
SABnzbd developer
Administrator
Hero Member
*****
Posts: 6095



View Profile
« Reply #5 on: June 03, 2008, 04:49:06 AM »

Thank you!
Logged
Zyzzya100
Newbie
*
Posts: 2


View Profile
« Reply #6 on: June 16, 2008, 09:52:03 AM »

Nice work with this.

One question though, any idea how to start the program via an ssh session and be able to kill the session without killing the program?  Right now I can start it just fine, but if I close the session it kills sabnzbd+.
Logged
switch
SABnzbd Developer
Moderator
Hero Member
*****
Posts: 1514



View Profile
« Reply #7 on: June 16, 2008, 09:54:00 AM »

Try starting sabnzbd with the -d flag (python sabnzbd.py -d)
Logged

Zyzzya100
Newbie
*
Posts: 2


View Profile
« Reply #8 on: June 16, 2008, 11:55:23 AM »

Try starting sabnzbd with the -d flag (python sabnzbd.py -d)

That did it, thanks!
Logged
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« Reply #9 on: June 18, 2008, 02:40:45 PM »

RC3 should be available in 5... 4... 3... 2... 1...  Cool
Logged
setTopbox
Newbie
*
Posts: 16



View Profile
« Reply #10 on: June 21, 2008, 03:19:44 AM »

Hi,

Thanks for the repository,  much appreciated.     I think there is a small typo in the url if anyone is having trouble with their sources.list.
http://ppa.launchpad.net/jcfp/ubuntu/dists/gutsy/main/binary-i386/     "gutsy"  should be "gusty"  which was why I was getting a 404.

Anyways I just thought I would point that out if anyone was getting 404's.
Logged
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« Reply #11 on: June 21, 2008, 06:04:47 AM »

Hi,

Thanks for the repository,  much appreciated. I think there is a small typo in the url if anyone is having trouble with their sources.list.
[...] "gutsy"  should be "gusty"  which was why I was getting a 404.

Anyways I just thought I would point that out if anyone was getting 404's.

Thanks for your comments. That url you give loads fine here though, and "gutsy" is in fact the correct release name for Ubuntu 7.10. No idea about the 404 you got, maybe some temporary connection or server problem?
Logged
jcfp
Moderator
Sr. Member
*****
Posts: 259



View Profile
« Reply #12 on: July 02, 2008, 09:31:42 AM »

rc5 is available; some changes were made to the package:

  • Replaced dependency on obsoleted package python-pyopenssl by python-openssl (hardy only).
  • Moved the unrar dependency from suggested to recommended.

Now let's just hope the final comes out before my vacation starts Tongue
Logged
shypike
SABnzbd developer
Administrator
Hero Member
*****
Posts: 6095



View Profile
« Reply #13 on: July 02, 2008, 11:17:55 AM »

Within a week, we hope.
One question about your package.
Do you pre-compile the Python source to PYO files (eg by running "python -OO SABnzbd.py --help")?
This makes startup a bit faster and saves some memory.

Otherwise a fine package.
Logged
setTopbox
Newbie
*
Posts: 16



View Profile
« Reply #14 on: July 02, 2008, 11:03:54 PM »

Hi,

Thanks for the repository,  much appreciated. I think there is a small typo in the url if anyone is having trouble with their sources.list.
[...] "gutsy"  should be "gusty"  which was why I was getting a 404.

Anyways I just thought I would point that out if anyone was getting 404's.

Thanks for your comments. That url you give loads fine here though, and "gutsy" is in fact the correct release name for Ubuntu 7.10. No idea about the 404 you got, maybe some temporary connection or server problem?

well I feel a little bit silly Smiley  Not sure what the problem was actually,  putting the URL into a browser was no problem.  But when I would sudo apt-get install it would 404.  I'll try again.  Obviously it's on my end.   Thanks again.
Logged

Pages: [1] 2 3 ... 13
  Print  
 

Jump to: