Page 1 of 1

Unrar and Errno 8 issues

Posted: April 20th, 2019, 4:15 pm
by DonDon
All of my downloads keep failing. I have tried to update Unrar as Sabnzbd keeps telling me that I need a new version. I now keep getting the following message:

Your UNRAR version is 0.00, we recommend version 5.00 or higher.

And today, this started happening:

Error "[Errno 8] Exec format error" while running rar_unpack on


I'm a total noob when it comes to this stuff so any help will be greatly appreciated!

Re: Unrar and Errno 8 issues

Posted: April 20th, 2019, 11:55 pm
by sander
On what OS?

Re: Unrar and Errno 8 issues

Posted: April 21st, 2019, 9:17 am
by DonDon
Raspbian

Re: Unrar and Errno 8 issues

Posted: April 21st, 2019, 9:28 am
by sander
DonDon wrote: April 21st, 2019, 9:17 amRaspbian
Ah. And how did you install "unrar"? You need "unrar-nonfree" from raspbian.

(this is for debian: https://packages.debian.org/search?sear ... ar-nonfree )

"Exec error" means you downloaded an unrar for another platform/architecture, for example the intel version, which you try to run on your ARM based Raspi. Not good.


After that, check the unrar version you have like this:

Code: Select all

$ unrar | head -3

UNRAR 5.30 beta 2 freeware      Copyright (c) 1993-2015 Alexander Roshal
... that is a good version.

Re: Unrar and Errno 8 issues

Posted: April 22nd, 2019, 7:35 pm
by DonDon
I get the following:

-bash: /usr/bin/unrar: cannot execute binary file: Exec format error


I couldn't find any version of unrar other than the unrar-nonfree version. I can't remember the guide that I used to try an install the nonfree version (I think the guide was outdated) but clearly I either missed a step or I did something incorrectly.

Can you recommend a guide to correctly install this version?

Re: Unrar and Errno 8 issues

Posted: April 22nd, 2019, 10:05 pm
by sander
This is a Raspbian problem, so probably best to get help on the Raspi / Raspbian forum.

unrar-nonfree on Raspbian is quite hard (google it), because of fundamental problems of Debian people with unrar-nonfree.

On Ubuntu, unrar-nonfree is just available with one command. That's why I left Raspi/Raspbian, and switched to ARM-boards with Armbian (=Ubuntu based)

Re: Unrar and Errno 8 issues

Posted: April 23rd, 2019, 4:17 pm
by safihre
Could be a 32bit / 64bit problem?