0

I have installed unrar as:

sudo apt-get install unrar

I have a "html.rar" file.Now i am trying to extract using command :

unrar x html.rar

But it shows an error as given below:

html.rar is not RAR archive
No files to extract

How to overcome from such problem ?

9
  • Okay, what does show the file html.rar?
    – Hi-Angel
    Dec 22, 2015 at 17:25
  • "html.rar is not RAR archive" What is it and where did you get it ? unrar is working fine for me.
    – Mark Kirby
    Dec 22, 2015 at 17:28
  • when i use to unpack html.rar by using unrar x html.rar ,it shows error as : Dec 22, 2015 at 17:28
  • Either archive is corrupted, it can be checked unrar t file.rar or rar is password protected unrar e -pYOURPASS file.rar
    – Achu
    Dec 22, 2015 at 17:28
  • 1
    Possible duplicate of Why is terminal telling me that my .rar file is not a RAR archive?
    – Mike
    Dec 22, 2015 at 17:33

1 Answer 1

4

First check the *.rar with file command to determine the type of file.

file html.rar

Make sure your file is properly downloaded, sometimes it may be unfinished download.

Then check the size of the file by executing

ls -lh 

If it is an empty file then redownload it. Or check with

unrar t html.rar

-t : Test archive files

Hope it helps.

2
  • 1
    running a test showed "All OK"... when extracting the top of the log said "permission denied" it was easy to miss.
    – Ray Foss
    Jun 24, 2017 at 10:11
  • permission denied was my issue too.
    – Tisch
    Dec 18, 2017 at 21:00

Not the answer you're looking for? Browse other questions tagged .