7

The file was downloaded online am I am trying to get a PS2 emulator working on my computer for fun. All I need to do now is learn how to open this rar file.

File output of:

superpajamarama@:~$ file "/home/superpajamarama/Desktop/PS2 Games/Futurama.rar"
/home/superpajamarama/Desktop/PS2 Games/Futurama.rar: empty 

This is what the terminal says when trying to unrar:

superpajamarama:~$ unrar x /home/superpajamarama/Desktop/PS2 Games/Futurama.rar

UNRAR 5.00 beta 8 freeware      Copyright (c) 1993-2013 Alexander Roshal

/home/superpajamarama/Desktop/PS2 Games/Futurama.rar is not RAR archive
No files to extract
terdon
  • 100,812
  • 1
    Please [edit] your question and show the output of file "/home/superpajamarama/Desktop/PS2 Games/Futurama.rar" – terdon May 10 '14 at 23:40
  • 1
    3 possible reasons: 1. the file is not compatible with rar 5.00 2. it is not a complete download. 3. the file is password protected – Rinzwind May 10 '14 at 23:42
  • @terdon do you mean type that into the terminal? – Superpajamarama May 10 '14 at 23:44
  • @Superpajamarama Yes, type it into terminal and add the output in your question – Lucio May 10 '14 at 23:45
  • Yes, file is a command, just like unrar is. It is a program that gives you information about a file. In this case, it will give us a hint about what Futurama.rar actually is and whether it is indeed a rar archive. – terdon May 10 '14 at 23:46
  • I wonder, why not install the 7z-rar module and run 7z for it. It handles a lot of RAR issues pretty good. – Luis Alvarado May 10 '14 at 23:51
  • @Superpajamarama you are missing a " at the end in your command! that's why it is garbled. – Rinzwind May 10 '14 at 23:56
  • 1
    The command was supposed to be all on a single line, like this (extra space added to force a line break): file "/home/superpajamarama/Desktop/PS2 Games/Futurama.rar" – terdon May 10 '14 at 23:57
  • @terdon :Thanks for editing the question for me :P. I will copy your line and give it a go. – Superpajamarama May 10 '14 at 23:59
  • @terdon : thank you for that haha. I have edited the question accordingly. – Superpajamarama May 11 '14 at 00:03

2 Answers2

7

Your file is empty. Probably an unfinished download or just the wrong file altogether. You will need to go back to wherever you got it from and try to download it again.

In future, remember that you can always use the file command to determine the file type of a file. In this particular case, you would also have been able to see that its empty by running

ls -lh  "/home/superpajamarama/Desktop/PS2 Games/Futurama.rar"

which would have shown an 0 byte sized file.

terdon
  • 100,812
4

Actually two things comes to my mind:

Either archive is corrupted, it can be checked

unrar t file.rar

or rar is password protected

unrar e -pYOURPASS file.rar

pgr
  • 482