Page 1 of 1

Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 11:21 am
by Clay
I just updated to RC4 (on FreeBSD) and am getting this error:

Unpack:
[somenzb] ERROR: Unknown option: ai

I've gotten it on every job. Any idea what could cause this?

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 12:51 pm
by shypike
It means that you have an unsupported unrar.
Didn't you get a warning?

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 4:50 pm
by Clay
Don't think so. I may have missed it though.

What do I do instead? It has worked in all previous versions.

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 5:02 pm
by shypike
Install a proper version from rarlabs:
They have one for freeBSD too: http://www.rarlab.com/rar/rarbsd-3.9.1.tar.gz
You only need the unrar part, the rest is payware.

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 6:23 pm
by Clay
What's wrong with the normal unrar provided by the freebsd ports system?

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 6:52 pm
by foxace
I have exactly the same problem since the last build on my Synology NAS


ERREUR : Unknown option: ai

Re: Unpack: ERROR: Unknown option: ai

Posted: January 25th, 2010, 8:36 pm
by Clay
I deleted the unrar pkg and put the unrar from the link above in /usr/local/bin. Things seem to be working now.

Re: Unpack: ERROR: Unknown option: ai

Posted: January 26th, 2010, 4:27 am
by shypike
Clay wrote: What's wrong with the normal unrar provided by the freebsd ports system?
Almost all reports of CRC errors coming from Linux/BSD users
can be traced back to the "free" unrars.
It looks like the free unrar hasn't kept up with more recent versions of RAR formats
(or there are just too many bugs in them).

Rarlabs provides source code and binaries for almost every platform.
There's no need for "free" alternatives, except for purists.
Plus posters on Usenet all use the commercial version anyway,
so there's not much choice.

Re: Unpack: ERROR: Unknown option: ai

Posted: January 30th, 2010, 5:11 pm
by switch
'-ai' was a recently added command line option for UNRAR. This option does not exist on older versions of UNRAR such as 3.8 which is still in heavy use, so I have removed the option for now.

This change might not be in the next RC release, it depends.