Page 8 of 14
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: February 14th, 2012, 1:36 pm
by roelvdh
Hans,
Thanks for doing a great job. I have now successfully installed SABnzbd on my new ClearOS 6 (=CentOS 6 = RHEL 6) system using your rpm, but this was no obvious job at all.
It seemed to work from the beginning, running SABnzbd as a service: Starting SABnzbd ... [OK].
However, I couldn't get access to the gui and the service turned out to have stopped immediately after starting, but without any message on my SSH terminal (I only found out after checking service SABnzbd status).
It took many efforts before I decided to use kuri's hint: in file home/ .../.sabnzbd/sabnzbd.ini change the line home= to the full URL, i.e. home = "192.168.1.1" (or whatever the gui url is). That did the trick. I then tried home = "127.0.0.1" but that failed again, like above. Funny, eh ?
This doesn't seem to be a problem of your rpm, but I found it a useful extension of the discussion here.
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: February 14th, 2012, 2:27 pm
by roelvdh
Hans,
Also please change the last line in the original post into: "chkconfig --level 345 SABnzbd on", not "levels".
This didn't automatically start my SABnzbd on reboot, though. Probably a minor issue, but someone having any idea?
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 2:44 am
by sander
Hi,
I'm trying to get SABnzbd installed on Fedora 14(?) on an emulated ARM on Qemu. This is the setup that should run on the Raspberry Pi / Raspi.
So far no luck.
Code: Select all
yum --nogpgcheck localinstall http://fedora-sabnzbd.dyndns.org/SABnzbd/16/SABnzbd-release-1-2.noarch.rpm
yum install SABnzbd
yum install --skip-broken SABnzbd
The last command results in:
Code: Select all
SABnzbd/filelists_db | 8.7 kB 00:00
updates/filelists_db | 4.4 MB 00:15
fedora/filelists_db | 15 MB 00:42
Packages skipped because of dependency problems:
SABnzbd-0.6.15-1.fc14.noarch from SABnzbd
libbsd-0.2.0-3.fc13.armv5tel from fedora
nc-1.100-2.fc14.armv5tel from updates
par2cmdline-0.4.tbb.20100203-1.fc13.armv5tel from fedora
pyOpenSSL-0.9-3.fc14.armv5tel from updates
python-cheetah-2.4.3-1.fc14.armv5tel from updates
python-imaging-1.1.7-2.fc14.armv5tel from fedora
python-markdown-2.0.3-2.fc14.noarch from fedora
python-pygments-1.4-1.fc14.noarch from updates
python-setuptools-0.6.24-1.fc14.noarch from updates
python-yenc-0.3-8.fc14.armv5tel from fedora
[root@raspi ~]#
I'm now doing a manual install of those dependencies, but I had expected that to be handled by yum? Or is the --skip-broken forbidding that?
Tips?
I also have problems install rpmfusion (for unrar). I will create another post for that.
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 2:54 am
by sander
I'm trying to install unrar, via rpmfusion, but nothing is installed. Tips?
Code: Select all
[root@raspi ~]# yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
Setting up Local Package Process
rpmfusion-free-release-stable.noarch.rpm | 17 kB 00:00
Examining /var/tmp/yum-root-Vkk4jX/rpmfusion-free-release-stable.noarch.rpm: rpmfusion-free-release-14-2.noarch
/var/tmp/yum-root-Vkk4jX/rpmfusion-free-release-stable.noarch.rpm: does not update installed package.
rpmfusion-nonfree-release-stable.noarch.rpm | 17 kB 00:00
Examining /var/tmp/yum-root-Vkk4jX/rpmfusion-nonfree-release-stable.noarch.rpm: rpmfusion-nonfree-release-14-2.noarch
/var/tmp/yum-root-Vkk4jX/rpmfusion-nonfree-release-stable.noarch.rpm: does not update installed package.
Nothing to do
[root@raspi ~]#
[root@raspi ~]# yum install rpmfusion-free
Setting up Install Process
No package rpmfusion-free available.
Error: Nothing to do
[root@raspi ~]# yum install unrar
Setting up Install Process
No package unrar available.
Error: Nothing to do
[root@raspi ~]# yum update
Setting up Update Process
No Packages marked for Update
[root@raspi ~]# yum install unrar
Setting up Install Process
No package unrar available.
Error: Nothing to do
[root@raspi ~]# yum repolist
repo id repo name status
SABnzbd SABnzbd for Fedora 14 - arm - Base 3
fedora Fedora 14 - arm 16,464
raspberrypi-fedora-remix RaspberryPi Fedora Remix 14 - arm 10
updates Fedora 14 - arm - Updates 3,738
repolist: 20,215
[root@raspi ~]#
and nothing in /etc/yum.repos.d
Code: Select all
[root@raspi yum.repos.d]# ll
total 28
-rw-r--r-- 1 root root 2055 Mar 9 00:44 fedora-rawhide.repo
-rw-r--r-- 1 root root 1201 Mar 9 00:44 fedora.repo
-rw-r--r-- 1 root root 1162 Mar 9 00:44 fedora-updates.repo
-rw-r--r-- 1 root root 1220 Mar 9 00:44 fedora-updates-testing.repo
-rw-r--r-- 1 root root 1051 Mar 9 00:44 raspberrypi-fedora-remix.repo
-rw-r--r-- 1 root root 1051 Mar 9 00:44 raspberrypi-fedora-remix.repo.rpmsave
-rw-r--r-- 1 root root 223 Sep 12 03:46 SABnzbd.repo
[root@raspi yum.repos.d]#
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 3:15 am
by sander
Maybe I should have started with the copied below: installing SAB does not succeed because unrar is needed, and unrar is in rpmfusion, which I can't install ...
And please note: this is an arm platform. I do see unrar for ARM Linux on
http://www.rarlab.com/rar_add.htm, but if that install that directly, yum will probably not now ...
Code: Select all
[root@raspi ~]# yum install SABnzbd
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package SABnzbd.noarch 0:0.6.15-1.fc14 set to be installed
--> Processing Dependency: par2cmdline for package: SABnzbd-0.6.15-1.fc14.noarch
--> Processing Dependency: nc for package: SABnzbd-0.6.15-1.fc14.noarch
--> Processing Dependency: python-yenc for package: SABnzbd-0.6.15-1.fc14.noarch
--> Processing Dependency: unrar for package: SABnzbd-0.6.15-1.fc14.noarch
--> Running transaction check
---> Package SABnzbd.noarch 0:0.6.15-1.fc14 set to be installed
--> Processing Dependency: unrar for package: SABnzbd-0.6.15-1.fc14.noarch
---> Package nc.armv5tel 0:1.100-2.fc14 set to be installed
--> Processing Dependency: libbsd.so.0(LIBBSD_0.0) for package: nc-1.100-2.fc14.armv5tel
--> Processing Dependency: libbsd.so.0(LIBBSD_0.2) for package: nc-1.100-2.fc14.armv5tel
--> Processing Dependency: libbsd.so.0 for package: nc-1.100-2.fc14.armv5tel
---> Package par2cmdline.armv5tel 0:0.4.tbb.20100203-1.fc13 set to be installed
---> Package python-yenc.armv5tel 0:0.3-8.fc14 set to be installed
--> Running transaction check
---> Package SABnzbd.noarch 0:0.6.15-1.fc14 set to be installed
--> Processing Dependency: unrar for package: SABnzbd-0.6.15-1.fc14.noarch
---> Package libbsd.armv5tel 0:0.2.0-3.fc13 set to be installed
--> Finished Dependency Resolution
Error: Package: SABnzbd-0.6.15-1.fc14.noarch (SABnzbd)
Requires: unrar
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@raspi ~]# unrar
-bash: unrar: command not found
[root@raspi ~]#
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 3:25 am
by sander
Ah:
http://rpmfusion.org/FAQ#head-b1f68cad2 ... 8bfc91273f says:
What architectures do you support?
We attempt to support all possible architectures, across all supported Fedora/EL versions. Currently for Fedora 9 and later these are i386, x86_64, ppc and ppc64; EL is limited to i386 and x86_64
So ... no rpmfusion support for ARM?
I tried both ARM unrar's from winrar, but no luck either:
Code: Select all
[root@raspi ~]# ./unrar
-bash: ./unrar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@raspi ~]# ll /lib/ld-
ld-2.13.so ld-linux.so.3
[root@raspi ~]# ll /lib/ld-*
-rwxr-xr-x 1 root root 137588 Mar 9 00:44 /lib/ld-2.13.so
lrwxrwxrwx 1 root root 10 Mar 9 00:44 /lib/ld-linux.so.3 -> ld-2.13.so
[root@raspi ~]#
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 3:36 am
by Hansvon
I have no experience with arm. You can try to recompile rpmfusion unrar src.rpm and see if that works:
Get it here:
http://download1.rpmfusion.org/nonfree/ ... unrar.html
And rebuild it with: rpmbuild --rebuild unrar-3.9.10-3.fc14.src.rpm
You need of course to install gcc and rpm-build.
(You could maybe try a more recent unrar src.rpm:
http://download1.rpmfusion.org/nonfree/ ... unrar.html )
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 4:33 am
by sander
Succes!
This is what I needed:
Code: Select all
yum install rpm-build
yum install make
yum install gcc
yum install gcc-c++
wget http://download1.rpmfusion.org/nonfree/fedora/development/source/SRPMS/unrar-4.0.7-2.fc17.src.rpm
rpmbuild --rebuild unrar-4.0.7-2.fc17.src.rpm
yum localinstall --nogpgcheck ./rpmbuild/RPMS/armv6l/unrar-4.0.7-2.fc14.armv6l.rpm
and the result:
Code: Select all
[root@raspi ~]# unrar
UNRAR 4.00 freeware Copyright (c) 1993-2011 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
<Commands>
Thank you for your help! Now let's see if I can install SABnzbd ...
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 4:41 am
by sander
Cool: installing (and running) SABnzbd works!
Thank you!
Code: Select all
[root@raspi ~]# yum install SABnzbd
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package SABnzbd.noarch 0:0.6.15-1.fc14 set to be installed
--> Processing Dependency: par2cmdline for package: SABnzbd-0.6.15-1.fc14.noarch
--> Processing Dependency: nc for package: SABnzbd-0.6.15-1.fc14.noarch
--> Processing Dependency: python-yenc for package: SABnzbd-0.6.15-1.fc14.noarch
--> Running transaction check
---> Package nc.armv5tel 0:1.100-2.fc14 set to be installed
--> Processing Dependency: libbsd.so.0(LIBBSD_0.0) for package: nc-1.100-2.fc14.armv5tel
--> Processing Dependency: libbsd.so.0(LIBBSD_0.2) for package: nc-1.100-2.fc14.armv5tel
--> Processing Dependency: libbsd.so.0 for package: nc-1.100-2.fc14.armv5tel
---> Package par2cmdline.armv5tel 0:0.4.tbb.20100203-1.fc13 set to be installed
---> Package python-yenc.armv5tel 0:0.3-8.fc14 set to be installed
--> Running transaction check
---> Package libbsd.armv5tel 0:0.2.0-3.fc13 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
SABnzbd noarch 0.6.15-1.fc14 SABnzbd 2.0 M
Installing for dependencies:
libbsd armv5tel 0.2.0-3.fc13 fedora 36 k
nc armv5tel 1.100-2.fc14 updates 24 k
par2cmdline armv5tel 0.4.tbb.20100203-1.fc13 fedora 88 k
python-yenc armv5tel 0.3-8.fc14 fedora 22 k
Transaction Summary
======================================================================================================================================================
Install 5 Package(s)
Total download size: 2.2 M
Installed size: 7.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): SABnzbd-0.6.15-1.fc14.noarch.rpm | 2.0 MB 00:04
(2/5): libbsd-0.2.0-3.fc13.armv5tel.rpm | 36 kB 00:00
(3/5): nc-1.100-2.fc14.armv5tel.rpm | 24 kB 00:00
(4/5): par2cmdline-0.4.tbb.20100203-1.fc13.armv5tel.rpm | 88 kB 00:01
(5/5): python-yenc-0.3-8.fc14.armv5tel.rpm | 22 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------
Total 234 kB/s | 2.2 MB 00:09
warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID 1bf64721: NOKEY
SABnzbd/gpgkey | 3.3 kB 00:00 ...
Importing GPG key 0x1BF64721:
Userid : hansvon <hans...ail.com>
Package: SABnzbd-release-1-2.noarch (@/SABnzbd-release-1-2.noarch)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-SABnzbd
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-yenc-0.3-8.fc14.armv5tel 1/5
Installing : libbsd-0.2.0-3.fc13.armv5tel 2/5
Installing : nc-1.100-2.fc14.armv5tel 3/5
Installing : par2cmdline-0.4.tbb.20100203-1.fc13.armv5tel 4/5
Installing : SABnzbd-0.6.15-1.fc14.noarch 5/5
Installed:
SABnzbd.noarch 0:0.6.15-1.fc14
Dependency Installed:
libbsd.armv5tel 0:0.2.0-3.fc13 nc.armv5tel 0:1.100-2.fc14 par2cmdline.armv5tel 0:0.4.tbb.20100203-1.fc13 python-yenc.armv5tel 0:0.3-8.fc14
Complete!
[root@raspi ~]#
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 8:41 am
by Hansvon
Great! I wonder how the raspberry pi can perform with SABnzbd, especially if files need to be repaired...
By the way, Fedora 14 is End-of-Life since a few months. I almost erased the F14 directory last time I updated the repository. Fedora 15-17 for arm are not available?
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 9th, 2012, 12:04 pm
by sander
Hansvon wrote:Great! I wonder how the raspberry pi can perform with SABnzbd, especially if files need to be repaired...
By the way, Fedora 14 is End-of-Life since a few months. I almost erased the F14 directory last time I updated the repository. Fedora 15-17 for arm are not available?
FWIW: some snippets:
The announcement of Fedora for RasPi:
http://www.raspberrypi.org/archives/805
The instruction elsewhere to run that Fedora Raspi on Qemu:
http://www.cnx-software.com/2012/03/08/ ... x-in-qemu/
I wonder too about the speed of SAB on RasPi: the Raspi has a 700 Mhz CPU and only 256 MB RAM ... that will be 'interesting' with par and unrar ...
Running Firefox in the emulated ARM is very slow. But I must say the emulated ARM is a bit lesser specced than the Raspi system.
Re: RPM for Fedora 14-16 and RHEL/CentOS/Scientific Linux 5-
Posted: March 12th, 2012, 5:40 am
by sander
I've uploaded the unrar for Raspi's ARM to
http://www.appelboor.com/dump/unrar-rpm ... berry-arm/
I don't know if the libunrar's are needed. So ... feedback is welcome.
Re: RPM for Fedora 14-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 12th, 2012, 1:39 pm
by Hansvon
0.7.0 is available
Re: RPM for Fedora 14-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 16th, 2012, 11:48 pm
by Diviance
Hansvon wrote:0.7.0 is available
Any chance you will put up the 0.7.0 update for Fedora 14? Running Amahi and am stuck on Fedora 14 right now, refuse to pay $3 to Amahi just to get SABnzbd updated.
Re: RPM for Fedora 15-17 and RHEL/CentOS/Scientific Linux 5-
Posted: June 17th, 2012, 3:36 am
by Hansvon
done!