RPM for Fedora and RHEL/CentOS/Scientific Linux 5-7

Get help with all aspects of SABnzbd
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.
paul m
Newbie
Newbie
Posts: 5
Joined: July 11th, 2012, 2:39 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by paul m »

Hansvon,

Everything works ok now. Still have to configure this as a service, but I can allways use "nohup SABnzbd &" if that should fail.
nzb's are picked up from the directory I configured, connections to the usenet server are made, the files are downloaded and unrarred into the download/complete folder..

thanks for the support. I would have abandoned the project without it..

thumbs up :)

paul m
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

great :)
fly
Newbie
Newbie
Posts: 13
Joined: April 28th, 2010, 7:28 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by fly »

Diviance wrote:
Hansvon wrote:done!
You rock, thanks!

Edit: Errors out when trying to launch.

Starting SABnzbd: python: /builddir/build/BUILD/Python-2.7/Objects/dictobject.c:759: PyDict_SetItem: Assertion `value' failed.
bash: line 1: 4324 Aborted (core dumped) /usr/share/SABnzbd/SABnzbd.py

Edit 2: Errors the same way when installed directly from source.
Even with the latest version, this still appears to be broken for me. Anyone knows the command to tell yum to downgrade to a specific version? My Google-fu appears to be very weak tonight.

edit: Figured it out. Guess I really need to get around to getting off Fedora 14...

Code: Select all

yum install SABnzbd-0.6.15-1.fc14.noarch
bitlength
Newbie
Newbie
Posts: 2
Joined: August 5th, 2012, 1:34 pm

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by bitlength »

Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

Seems I missed the announcement but it's now done.
bitlength
Newbie
Newbie
Posts: 2
Joined: August 5th, 2012, 1:34 pm

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by bitlength »

Wow, nice response time! As one minor request, perhaps a small update to the Wiki to inform users how best to complete the simple upgrade? Thanks again, confirmed it's working nicely.

Code: Select all

cd /etc/yum.repos.d/
rm SABnzbd*
wget http://fedora-sabnzbd.dyndns.org/SABnzbd/RHEL-CentOS/SABnzbd-6.repo
yum update SABnzbd
Rumbles
Newbie
Newbie
Posts: 10
Joined: March 11th, 2012, 5:06 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Rumbles »

Hi, I've just moved from Ubuntu to CentOS 6 and I'm getting stuck during install of sabnzbd ???

I've followed the steps at the start of this post and I've hit this problem:

Code: Select all

[root@box yum.repos.d]# yum install SABnzbd
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.bytemark.co.uk
 * epel: mirror.bytemark.co.uk
 * extras: mirror.bytemark.co.uk
 * rpmforge: ftp.heanet.ie
 * updates: mirror.bytemark.co.uk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package SABnzbd.noarch 0:0.7.3-1.el6 will be installed
--> Processing Dependency: python-yenc for package: SABnzbd-0.7.3-1.el6.noarch
--> Processing Dependency: python-cheetah for package: SABnzbd-0.7.3-1.el6.noarch
--> Running transaction check
---> Package python-cheetah.x86_64 0:2.4.1-1.el6 will be installed
--> Processing Dependency: python-pygments for package: python-cheetah-2.4.1-1.el6.x86_64
--> Processing Dependency: python-markdown for package: python-cheetah-2.4.1-1.el6.x86_64
---> Package python-yenc.x86_64 0:0.3-9.el6 will be installed
--> Running transaction check
---> Package python-markdown.noarch 0:2.0.1-3.1.el6 will be installed
---> Package python-pygments.noarch 0:1.4-1.el5.rf will be installed
--> Processing Dependency: python(abi) = 2.4 for package: python-pygments-1.4-1.el5.rf.noarch
--> Finished Dependency Resolution
Error: Package: python-pygments-1.4-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Installed: python-2.6.6-29.el6_2.2.x86_64 (@base/$releasever)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I tried both of the suggestions there with no success, the only 2 things I can think of trying are to downgrade python (I would rather not do this) or use --no-deps and install python-pygments alone and then install the rest on top, but my worry here is that this module will be unable to run and cause SAB to fall over.

Any tips? Anyone seen this before? I spent a long time last night searching around this problem and got stuck (along with a few other issues) and I just can't get this off my list. Any help would be greatly appreciated!
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

Hi,
Well, it seems something is broken in the CentOS repositories you're using: you can see that python-pygments is built for centos 5 (el5), ie python 2.4.

Try to install it manually: http://mirror.centos.org/centos/6/os/x8 ... noarch.rpm
Rumbles
Newbie
Newbie
Posts: 10
Joined: March 11th, 2012, 5:06 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Rumbles »

YES! Thank you! I didn't even notice it was trying to install the el5 package!! Install went through fine once I had installed the correct python-pygments, you sir are a star! ;D
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

Great. Btw, the problem comes from the rpmforge repo (rf).
Rumbles
Newbie
Newbie
Posts: 10
Joined: March 11th, 2012, 5:06 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Rumbles »

Thanks for the info.

I just have one more problem I can't understand... :) I noticed this on Ubuntu as well, but thought I had set it up incorrectly somehow, but since its happening again I'm not so sure now, I think I may be misunderstanding something here, so apologies if I'm being stupid but I would appreciate some insight.

Currently I want to use the storage drive here:

Code: Select all

drwxrwx---. 7 stock media 4096 Aug 31 00:14 storage
drwxr-xr-x. 4 stock media 4096 Aug 27 22:08 swap
To save all of my downloads to, so I added sabnzb to media:

Code: Select all

id sabnzb
uid=501(sabnzb) gid=503(sabnzb) groups=503(sabnzb),501(media)
And the process appears to be running as sabnzb:

Code: Select all

ps -ef | grep SAB
sabnzb    3929     1  0 13:00 ?        00:00:10 /usr/bin/python /usr/share/SABnzbd/SABnzbd.py -d -f /home/sabnzb/.sabnzbd/sabnzbd.ini
So afaik this user should be able to view the storage folder as it's part of the media group, but it can't, if I chmod it to 775 then SAB can view the folder. So why is it SAB is using the everyone permissions rather than the group permissions?

Thanks for any help!
Rumbles
Newbie
Newbie
Posts: 10
Joined: March 11th, 2012, 5:06 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Rumbles »

I have figured out the cause for the dependency issues I had, because I had install the el5 repo it was trying to pull the wrong file, installing the el6 repo over the top didn't work, I had to yum remove rpmforge-release first then reinstall the correct repo with:

Code: Select all

rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Rumbles
Newbie
Newbie
Posts: 10
Joined: March 11th, 2012, 5:06 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Rumbles »

And the reason I couldn't save anything with the group permissions was due to the user having the wrong default group, fixed with:

Code: Select all

usermod -g media sabnzb
Nefarious
Release Testers
Release Testers
Posts: 28
Joined: March 5th, 2009, 12:15 pm

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Nefarious »

Any chance you can continue to offer the rpm for FC14? I'm running Amahi and it is still based on 14. They are working on updates for a newer version, but it is not available yet.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-

Post by Hansvon »

I had problem making the F14 version from F18... As you seem to be the last user, could you build it by yourself? It's easy: just download the src.rpm and do "rpmbuild --rebuild ...src.rpm" and install with "yum localinstall ..." or "rpm -Uvh ..."
Post Reply