unrar version not recomended [Ubuntu on ARM]

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.
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

unrar version not recomended [Ubuntu on ARM]

Post by jbates58 »

hi all

i have just installed sab onto my ubuntu machine, and i have the unrar version is not recomended error down the bottom. i have gone to the rar_add site, but i am not sure what to donwload (i presumed the arm_ubuntu one, as thats what im using) but i dont know what to do with it, or where to put the file.

help please..

cheers

jbates58
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended

Post by sander »

What's the output of:

Code: Select all

uname -a
unrar | head -5
... so that we know what you're using
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended

Post by jbates58 »

the output of: uname -a

Linux linaro-ubuntu-desktop 3.0.63-odroidx #5 SMP PREEMPT Fri Feb 15 19:59:36 KST 2013 armv7l armv7l armv7l GNU/Linux
linaro@linaro-ubuntu-desktop:~$


the outpot of: unrar | head -5
linaro@linaro-ubuntu-desktop:~$ unrar | head -5
unrar: Archive not specified

Try `unrar --help' or `unrar --usage' for more information.
linaro@linaro-ubuntu-desktop:~$
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended

Post by jbates58 »

i have used many previous releases of this ubuntu, and sab and havent had this issue at all yet.
as far as i can tell, ubuntu is up to date etc...
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended

Post by sander »

Can you find out which version of unrar you're using? And can you post the output.

Maybe it just works, but SABnzbd does not recognize the output?

Here's some output of my unrar (on Ubuntu x86)

Code: Select all

sander@toverdoos:~$ unrar

UNRAR 4.00 beta 3 freeware      Copyright (c) 1993-2010 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  e             Extract files to current directory
  l[t,b]        List archive [technical, bare]
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended

Post by jbates58 »

how do i do that? im using it on an odroid-x arm board.

when i enter: unrar --version
i get: unrar 0.0.1

i have downloaded one from the site sab told me to, but i dont know where to put it.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended

Post by sander »

unrar 0.0.1? Wow.

Back to the root: is SAB just complaining and is the unrarring just going well? Or is unrarring not going well? The answer to that question determines if you need to take steps.

EDIT: You run Ubuntu on ARM. Is that a real Ubuntu (provided by Canonical)? If so, I would expect unrar to be in the Ubuntu repositories ... possibly under the name "unrar-nonfree". So did you search with "apt-cache search unrar" and "apt-cache search unrar-nonfree"

Output from my ubuntu:

Code: Select all

sander@toverdoos:~$ apt-cache search unrar
libclamunrar6 - anti-virus utility for Unix - unrar support
unrar - Unarchiver for .rar files (non-free version)
comix - GTK Comic Book Viewer
unp - unpack (almost) everything with one command
unrar-free - Unarchiver for .rar files
sander@toverdoos:~$
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended

Post by jbates58 »

sorry mate, i dont understand you log.

i am using the linaro ubuntu port on an odroid-x ARM SOC developer board.

i dont know if it works, as i havent actualy downloaded anything yet. just installing it and configuring it atm. but i have never seen this issue before, and i have used 8 or so other images of linaro.

cheers

jbates58
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended

Post by sander »

OK. My advice:

Do your first download (a 100MB post) and see what happens.

Can you login on your Linaro-Ubuntu-on-ARM, and type

Code: Select all

apt-cache search unrar
and post the output here?
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended

Post by jbates58 »

linaro@linaro-ubuntu-desktop:~$ sudo apt-cache search unrar
libclamunrar6 - anti-virus utility for Unix - unrar support
unrar - Unarchiver for .rar files (non-free version)
comix - GTK Comic Book Viewer
unp - unpack (almost) everything with one command
unrar-free - Unarchiver for .rar files
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended

Post by sander »

What is the result of:

ls -al /usr/bin/unrar*

sudo apt-get remove unrar-free
sudo apt-get install unrar

and then again

ls -al /usr/bin/unrar*
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended [Ubuntu on ARM]

Post by jbates58 »

linaro@linaro-ubuntu-desktop:~$ ls -al /usr/bin/unrar*
lrwxrwxrwx 1 root root 23 Mar 16 07:34 /usr/bin/unrar -> /etc/alternatives/unrar
-rwxr-xr-x 1 root root 22728 Dec 2 2011 /usr/bin/unrar-free


then ran the install/uninstall



linaro@linaro-ubuntu-desktop:~$ ls -al /usr/bin/unrar*
lrwxrwxrwx 1 root root 23 Mar 16 07:34 /usr/bin/unrar -> /etc/alternatives/unrar
-rwxr-xr-x 1 root root 22728 Dec 2 2011 /usr/bin/unrar-free
-rwxr-xr-x 1 root root 125616 Dec 14 2011 /usr/bin/unrar-nonfree
jbates58
Newbie
Newbie
Posts: 33
Joined: October 16th, 2012, 5:53 pm

Re: unrar version not recomended [Ubuntu on ARM]

Post by jbates58 »

horay, that seems to have fixed it. i will let you know. still dloading a file.

cheers

jbates58
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: unrar version not recomended [Ubuntu on ARM]

Post by sander »

/usr/bin/unrar should link to /usr/bin/unrar-nonfree.

I don't see that in your second "ls -al" output, so I'm curious about the download/unrar result
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: unrar version not recomended [Ubuntu on ARM]

Post by jcfp »

sander wrote:/usr/bin/unrar should link to /usr/bin/unrar-nonfree.
It should, but this link is often indirect via the "alternatives" mechanism, for situations where more than one program "claims" a certain name. I.e., 'unrar' could be provided by both the free and the non-free incarnations (although for sab only the latter is any good). Just using ls only gets you limited info in such cases:

Code: Select all

readlink -f "$(which unrar)"

Code: Select all

update-alternatives --display unrar
Post Reply