Hi Guys,
Does anybody know if the "RAR" format has changed ?
For some reason I am no longer able to extract some rar archives that have been sent to me.
Thanks in advance.
On Monday 25 November 2019 01:53:35 pm Baron wrote:
Hi Guys,
Does anybody know if the "RAR" format has changed ?
For some reason I am no longer able to extract some rar archives that have been sent to me.
Thanks in advance.
Possibly just broken? Try
tar -x --ignore-failed-read
add the proper encoding (e.g. tar -zx ...)
You can find out some info about files with
file xyz.rar stat xyz.rar
HTH, Michael
On Mon, Nov 25, 2019 at 04:02:36PM -0600, Michael wrote:
On Monday 25 November 2019 01:53:35 pm Baron wrote:
Hi Guys,
Does anybody know if the "RAR" format has changed ?
The RAR format has changed many times. See link below.
For some reason I am no longer able to extract some rar archives that have been sent to me.
Without knowing the unrar utility you are using, how old it is, whether it supports old RAR versions or new RAR versions, and the version of the RAR file, it's impossible to say why it isn't working.
Do you get an error message when you try to extract?
Thanks in advance.
Possibly just broken? Try
tar -x --ignore-failed-read
RAR, not tar.
https://en.wikipedia.org/wiki/RAR_%28file_format%29
Steven D'Aprano wrote:
On Mon, Nov 25, 2019 at 04:02:36PM -0600, Michael wrote:
On Monday 25 November 2019 01:53:35 pm Baron wrote:
Hi Guys,
Does anybody know if the "RAR" format has changed ?
Possibly just broken? Try
tar -x --ignore-failed-read
RAR, not tar.
$ unrar x "*.rar" (CL extraction in rar dir) should tell you something. If its broken, $ unrar x -kb "*.rar" will keep what it can extract. See $ unrar h for more options. AFAIK no significant changes have been made since 2013.
On Monday 25 November 2019 06:05:34 pm Dave Lers wrote:
Steven D'Aprano wrote:
On Mon, Nov 25, 2019 at 04:02:36PM -0600, Michael wrote:
On Monday 25 November 2019 01:53:35 pm Baron wrote:
Hi Guys,
Does anybody know if the "RAR" format has changed ?
Possibly just broken? Try
tar -x --ignore-failed-read
RAR, not tar.
$ unrar x "*.rar" (CL extraction in rar dir) should tell you something. If its broken, $ unrar x -kb "*.rar" will keep what it can extract. See $ unrar h for more options. AFAIK no significant changes have been made since 2013.
RAR, shmar, so I can't read...
Who knew there are so many unpacking tool just for RAR. Hideous non-free software should be made illegal! Here's a partial list *:
unar unrar unp rar lsar ? p7zip dnf rar
* Blatantly stolen from: https://unix.stackexchange.com/questions/246535/how-to-open-rar-file-in-linu...
Hi Guys,
On Tuesday 26 November 2019 14:26:54 Michael wrote:
On Monday 25 November 2019 06:05:34 pm Dave Lers wrote:
Steven D'Aprano wrote:
On Mon, Nov 25, 2019 at 04:02:36PM -0600, Michael wrote:
On Monday 25 November 2019 01:53:35 pm Baron wrote:
Hi Guys,
Does anybody know if the "RAR" format has changed ?
Possibly just broken? Try
tar -x --ignore-failed-read
RAR, not tar.
$ unrar x "*.rar" (CL extraction in rar dir) should tell you something. If its broken, $ unrar x -kb "*.rar" will keep what it can extract. See $ unrar h for more options. AFAIK no significant changes have been made since 2013.
RAR, shmar, so I can't read...
Who knew there are so many unpacking tool just for RAR. Hideous non-free software should be made illegal! Here's a partial list *:
unar unrar unp rar lsar ? p7zip dnf rar
- Blatantly stolen from:
https://unix.stackexchange.com/questions/246535/how-to-open-rar-fil e-in-linux
First, thankyou to all that responded to my post asking about RAR files. Lots of good info there.
I did download the latest RAR and UNRAR Version 5.8 beta4 and tried with that. The best that I get is that it is not a RAR file and there are no extractable files.
This gets weird because I can extract my older files without issue ! The chap that has sent me his RAR file has no problem opening the one that I returned to him. He is a Windows user.
Using an editor and comparing the header code with a known good RAR it seems quite different and has a number of references to Adobe, which my old RAR files don't.
So I'm suspicious that this is a Windows thing.
Thanks all.
On Tue, Nov 26, 2019 at 02:46:58PM +0000, Baron wrote:
I did download the latest RAR and UNRAR Version 5.8 beta4 and tried with that. The best that I get is that it is not a RAR file and there are no extractable files.
My guess is that the file isn't a RAR file at all, but some doofus has named it ".rar" because all compressed archives are RAR files, right?
It might work on your friend's computer if his decompression utility is smart enough to use the correct decompressor based on the file contents, not the extension.
Try deleting the ".rar" extension and then run the "file" command-line utility on it and see what it says. It should inspect the file contents and make an educated guess of the actual file type, without being confused by the (possibly inaccurate) extension.
Hi Guys,
On Tuesday 26 November 2019 16:42:05 Steven D'Aprano wrote:
On Tue, Nov 26, 2019 at 02:46:58PM +0000, Baron wrote:
I did download the latest RAR and UNRAR Version 5.8 beta4 and tried with that. The best that I get is that it is not a RAR file and there are no extractable files.
My guess is that the file isn't a RAR file at all, but some doofus has named it ".rar" because all compressed archives are RAR files, right?
It might work on your friend's computer if his decompression utility is smart enough to use the correct decompressor based on the file contents, not the extension.
Try deleting the ".rar" extension and then run the "file" command-line utility on it and see what it says. It should inspect the file contents and make an educated guess of the actual file type, without being confused by the (possibly inaccurate) extension.
Thanks Steven, your help is appreciated.
The output from "file" is,
"RAR archive data, v0, flags: Locked, Authenticated,"
Which doesn't help me a lot I'm afraid.
On Tuesday 26 November 2019 03:51:51 pm Baron wrote:
Hi Guys,
On Tuesday 26 November 2019 16:42:05 Steven D'Aprano wrote:
On Tue, Nov 26, 2019 at 02:46:58PM +0000, Baron wrote:
I did download the latest RAR and UNRAR Version 5.8 beta4 and tried with that. The best that I get is that it is not a RAR file and there are no extractable files.
My guess is that the file isn't a RAR file at all, but some doofus has named it ".rar" because all compressed archives are RAR files, right?
It might work on your friend's computer if his decompression utility is smart enough to use the correct decompressor based on the file contents, not the extension.
Try deleting the ".rar" extension and then run the "file" command-line utility on it and see what it says. It should inspect the file contents and make an educated guess of the actual file type, without being confused by the (possibly inaccurate) extension.
Thanks Steven, your help is appreciated.
The output from "file" is,
"RAR archive data, v0, flags: Locked, Authenticated,"
At this point I'd just punt as they say. Ask your friend to extract the file(s) into a folder and re-compress them using some other method than RAR. It is concievable if this RAR file was emailed to you that you do not have an exact copy of it.
On Tue, Nov 26, 2019 at 09:51:51PM +0000, Baron wrote:
The output from "file" is,
"RAR archive data, v0, flags: Locked, Authenticated,"
Which doesn't help me a lot I'm afraid.
My guess is that this means that your RAR file is password protected and your unrar utility doesn't know how to deal with it, but that's a guess because I'm busy and don't have time to research it for you. But I seem to vaguely remember having this same problem in the past, which I ended up solving by running the unrar utility from the command line rather than through KDE's Extract menu.
But that was years ago and I might be confabulating the whole episode.
You could start some more research here:
https://duckduckgo.com/?q=rar+locked+authenticated
Hi Steven, Guys,
On Tuesday 26 November 2019 23:48:41 Steven D'Aprano wrote:
On Tue, Nov 26, 2019 at 09:51:51PM +0000, Baron wrote:
The output from "file" is,
"RAR archive data, v0, flags: Locked, Authenticated,"
Which doesn't help me a lot I'm afraid.
My guess is that this means that your RAR file is password protected and your unrar utility doesn't know how to deal with it, but that's a guess because I'm busy and don't have time to research it for you. But I seem to vaguely remember having this same problem in the past, which I ended up solving by running the unrar utility from the command line rather than through KDE's Extract menu.
But that was years ago and I might be confabulating the whole episode.
You could start some more research here:
Problem solved !
Apparently Windows RAR allows setting locks and passwords via a file that is used by RAR when creating an archive. Unrar 5.8 now works fine.
I didn't realise that the new version was not in the path, and I was still trying to use the old one.
The RAR file format was changed quite recently and the old versions cannot understand the 5 version format.
The new 5.8 installs in "/usr/local" which oddly has "root, staff" rights, rather than "root,root" which I expected. It seems that I'm not a member of that group.
Thanks everybody for your help, its much appreciated.
On Mon, 25 Nov 2019 19:53:35 +0000 Baron baron@linuxmaniac.net wrote:
Does anybody know if the "RAR" format has changed ?
Not to my knowledge, but it's a proprietary format, therefore subject to change without notice.
For some reason I am no longer able to extract some rar archives that have been sent to me.
Could the files be corrupt?
Could the files be password-protected?
In the worst case, you can always download a trial version of the officially-blessed extraction program from rarlab.com . If it can't open the files, you'll know there's something wrong with them.
E. Liddell