Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I seem to have broken the default archive manager (file-roller) somehow.

Whenever I open any ZIP I get:

An error occurred while loading the archive. 

This happens with all zips. How can I rectify this?

share|improve this question

closed as off-topic by Eric Carvalho, Tim, Warren Hill, Eliah Kagan, Seth Aug 22 at 0:16

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, Tim, Warren Hill, Eliah Kagan, Seth
If this question can be reworded to fit the rules in the help center, please edit the question.

Are you still looking for help with this problem? –  Eliah Kagan Aug 20 at 18:42

2 Answers 2

File roller serves as a frontend to the various archiving tools. If you want to unpack an archive, a tool must be installed that can be used by file-roller to handle your archive.

You might accidentally have removed the package that handles zip files for file roller. To reinstall it type

sudo apt-get install unzip

in a terminal window (CTRL+ALT+T).

share|improve this answer

@mrcktz Unfortunately I cannot comment, but that hasn't worked.

Furthermore the following works flawlessly:

touch file
ls -la
zip file.zip file
rm file
ls -la
unzip file.zip
ls -la
share|improve this answer
are there any errors if you start file-roller from the command line with the parameter --enable-debug and then try to open your zip archive? –  mrcktz Nov 2 '12 at 10:09
Running $ file-roller --enable-debug file.zip doesn't produce any debug lines. The same message (An error occurred while loading the archive.) still appears in the GUI. Also, I can't find --enable-debug on the file-roller man page. –  F Adams Nov 2 '12 at 10:14
The error with the file-roller GUI also occurs when you try to open the archive you created in your answer (file.zip)? That means: Is your zip really a zip (you can also try file <archivename> to get a file description)? If that is ensured and you can extract the zips via command line (file-roller -h <archivename>) that you can't open with the GUI, i would check if file-roller is the right version (apt-cache policy file-roller, should yield 3.6.0-0ubuntu3 0). –  mrcktz Nov 2 '12 at 11:26
The same error occurs with my newly created archive (file.zip). file file.zip yields file.zip: Zip archive data, at least v1.0 to extract so it is a zip. Extracting via the command line with -h has the same error. A GUI popup (similar to the one in file-roller) comes up with the same error. The output of apt-cache policy file-roller is pastie.org/private/smsdndid1zxvzyxuzhrmxa –  F Adams Nov 2 '12 at 11:31
Seems that file-roller 3.6.0 is confirmed as a broken version. I don't know if your problem is solved by the upcoming update, but without knowing more about the error, we are left with reinstalling file-roller (sudo apt-get install --reinstall file-roller) or using 7zip as an alternative to unzip (sudo apt-get install p7zip-full). I'm sorry i can't offer a more targeted way to a solution. –  mrcktz Nov 2 '12 at 12:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.