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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by shypike »

Hansvon wrote: Great. I've updated all the RPMs to add the pyOpenSSL (and python-feedparser) requirements.
feedparser.py is included in the source distribution of SABnzbd (since 0.5.0).
Not much use in adding the Python module.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

I see. Thank you. I've removed the dependency. Packages again updated.
fenice
Newbie
Newbie
Posts: 3
Joined: October 18th, 2009, 10:58 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by fenice »

Hi

Thanks for putting up this rpm for CentOS, however, I'm having some problems installing this package.

I've tried to install the  SABnzbd-release-1-1.noarch.rpm file and get the following error:

Code: Select all

rpm -i SABnzbd-release-1-1.noarch.rpm
error: SABnzbd-release-1-1.noarch.rpm: Header V4 RSA/SHA1 signature: BAD, key ID 1bf64721
error: SABnzbd-release-1-1.noarch.rpm cannot be installed
I then tried extracting the files in that rpm and installed the  key and creating the .repo file manually manually and the yum update gives the following error:

Code: Select all

SABnzbd                                                  | 1.3 kB     00:00
SABnzbd/primary                                          | 1.0 kB     00:00
http://hansvon.homelinux.org/SABnzbd/5/repodata/primary.xml.gz: [Errno -3] Error performing checksum
Downloading the rpm and trying to install that manually gives the following error:

Code: Select all

rpm -Uvh SABnzbd-0.5.2-5.el5.noarch.rpm
error: SABnzbd-0.5.2-5.el5.noarch.rpm: Header V4 RSA/SHA1 signature: BAD, key ID 1bf64721
error: SABnzbd-0.5.2-5.el5.noarch.rpm cannot be installed
I'm not an expert with problems like this so it could be something stupid that I'm doing so any pointer to what's wrong would be great.

Regards

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

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

Hi,
I should have tried to install after signing the RPMs. Sorry about that.
I don't know how to solve that properly and I don't have time to find out now. In the mean time, I've removed the signature from the RHEL packages: http://hansvon.homelinux.org/SABnzbd/RHEL-CentOS/
For Fedora 11-13, the signature is working fine.
fenice
Newbie
Newbie
Posts: 3
Joined: October 18th, 2009, 10:58 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by fenice »

Thanks for updating that, a download and install via rpm works fine but I do still have the problem with the repo:

Code: Select all

http://hansvon.homelinux.org/SABnzbd/RHEL-CentOS/5/repodata/primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
Thanks again for producing this package.  :)
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

Mmmh, I had checked with my CentOS 5.4 virtual machine and it had worked.
Anyway, please try again. It should be fixed.
fenice
Newbie
Newbie
Posts: 3
Joined: October 18th, 2009, 10:58 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by fenice »

Just tried it again, it's working fine now. :)
kitgerrits
Newbie
Newbie
Posts: 10
Joined: April 22nd, 2010, 5:16 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by kitgerrits »

I just installed this on Fedora 11 and it worked, with 2 minor changes:

The command 'daemon' is not avainable on Fedora 11
/etc/init.d/SABnzbd wrote:     daemonize -u $sabuser $nicecmd $exec -d -f $config
daemonize requires its command to have an absolute path
/etc/sysconfig/SABnzbd wrote: nicecmd="/bin/nice -n 19 ionice -c3"
It sure beats 'screen -S sabnzbd python /opt/SABnzbd/SABnzbd.py'
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

I've just tried on a Fedora 11 virtual machine and the init script is working just fine. "daemon" is not a command (/usr/bin,/bin,... thing) but a function defined in /etc/init.d/functions. This file is provided by the initscripts package. It's not possible to not to have this package.
I don't understand what's wrong with your setup !?
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

Packages updated to version 0.5.3. Tell me if I managed to screw up something :P
Last edited by Hansvon on June 28th, 2010, 1:10 am, edited 1 time in total.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by john3voltas »

Fedora Core 13 here.
Installed from the LiveCD.
Added your repository to my system.
Tried "yum install SABnzbd" and it complains that I am missing "unrar".
Maybe add it as a dependency would avoid this?
Thanks for giving us these RPMs :).
Cheers

EDIT: just noticed that unrar is not free and that may be why you didn't add it as a dependency, am I right?
If that's the case, Is there anyway we could use 7zip instead of unrar?

EDIT2: after adding unrar to my FC13, your SAB+ rpms installed perfectly and it is working ok.
Just feel that we could (should?) keep SAB+ as FOSS as possible and try to use 7zip instead of unrar.
What do you (and the core DEVs) think about it?

EDIT3: the more I read, the more I get confused. Am I right assuming that 0.5.x already uses 7zip instead of unrar/unzip?
If so, I don't get it why FC13 asks me for unrar when installing your RPMs.
Maybe my system is misbehaving?
Could you shed some light on the subject?
Thanks :)
Last edited by john3voltas on July 3rd, 2010, 11:57 am, edited 1 time in total.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by shypike »

john3voltas wrote: Just feel that we could (should?) keep SAB+ as FOSS as possible and try to use 7zip instead of unrar.
There's no 7zip support.
Not for the format, nor for the tool.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by john3voltas »

Hi Shypike.
I wasn't implying that SAB+ should support the format.
But isn't it worth checking 7z (the tool)?
It could actually do the same as unzip and unrar (more than what these two combined can).
But of course, being a dev you obviously know what's best for SAB+ ;).
Cheers
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
Hansvon
Jr. Member
Jr. Member
Posts: 81
Joined: April 28th, 2010, 2:18 am

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by Hansvon »

unrar is a dependency of my SABnzbd rpm because 99.9% of the stuff available on usenet is compressed with rar. The first post explains that unrar is not available in the fedora repos and that you have to install it from somewhere else. The free 7zip tool (p7zip) can't decompress rar files on linux as far as I can tell. I'm not sure to understand what you want.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: SABnzbd RPM for Fedora and RHEL/CentOS 5

Post by john3voltas »

Hansvon wrote: unrar is a dependency of my SABnzbd rpm because 99.9% of the stuff available on usenet is compressed with rar.
That had already been easy to understand.
Hansvon wrote: The first post explains that unrar is not available in the fedora repos and that you have to install it from somewhere else.
Sorry man, I missed that line in your 1st post.
Hansvon wrote: The free 7zip tool (p7zip) can't decompress rar files on linux as far as I can tell. I'm not sure to understand what you want.
Are you sure?
I'll search/ask in Igor's forums.

Thanks man, it's working great in FC13 :).

EDIT: You're right, p7zip does not uncompress all rar files.
And even if it did, it's license portion is not GPL/LGPL  ???.
But nevermind, it's working great with unrar :).
Cheers
Last edited by john3voltas on July 4th, 2010, 6:40 am, edited 1 time in total.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
Post Reply