39

I'm trying to extract a rar file is first time is opened then its closed and to reopen the file is failed." an error occured while loading the archive manager" this alert message displayed

5 Answers5

74

Install unrar to open and extract rar archives.

  1. Open the terminal with ctrl + alt + t
  2. Run

    sudo apt install unrar
    

Now file-roller should open and extract rar archives without error.

If you cannot install unrar, you need to activate the multiverse repository; but, I assume you have them activated as they are by default.

pomsky
  • 68,507
mondjunge
  • 3,296
5

Something like this happened to me when a file was parted in some files, and I tried this from the command line:

unrar e "archive.part1.rar"
karel
  • 114,770
Mike
  • 61
  • 2
    You should elaborate your answer a little more. This answer it's quite vague... – razor7 Mar 19 '20 at 21:21
  • Do you mean "when a file is split into multivolume archives"? Please [edit] your answer and clarify. – Greenonline Nov 01 '21 at 07:49
  • e flag specifies extract to current directory which is unnecessary if you don't specify an output directory. x flag retains the archive directory structure, which is the default in the GUI and usually preferred: unrar x archivename – lodeOfCode Jul 11 '23 at 01:01
1

I have this problem fixed by installing b1freearchiver:

sudo apt-get install gdebi
wget b1.org/smart-download/0/os=deb64/b1freearchiver_current_stable_amd64.deb
sudo gdebi b1freearchiver_current_stable_amd64.deb
cmak.fr
  • 8,696
1

good suggestions above. However, what I found is that when I did a cd to the directory with the terminal it showed that it was a 'string' instead of a normal file. Then I tested something quick and it worked perfectly: I just deleted the empty space between the words in the filename, and right click 'extract' again and it extracted perfectly. So the solution might be that simple for you too, if you have a blank space in the file name. Example:

FILE NAME.rar change to -> FILE_NAME.rar

Hope that helps.

Zanna
  • 70,465
  • If you have a blank space in the filename you can also put the filename between single quotes and it also works. No renaming needed – Irsu85 Dec 30 '21 at 12:50
0

Here is an alternative way to use unrar. The benefit is that this version will keep the folder structure of the original .rar file.

unrar x -ad "archive.rar"
Daniel T
  • 4,594