1

I recently wanted to try out Fedora. So I transfered all my files to it via USB. Then I got frustrated with it, placed all my files in a 7z archive and then copied them back to the drive. Now, every time I try to open the archive, "an error occurred while loading the archive" Thanks for your help

[edit] There is no password on the archive.

ls -alF file.7z

-rw-r--r-- 1 jesse jesse 2422670837 Nov  3 22:58 file.7z

7z t file.7z

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Processing archive: jesse.7z

Error: Can not open file as archive

$ 7z l file.7z | head -15

7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Error: jesse.7z: Can not open file as archive

Errors: 1

  • 1
    Maybe pointing out the obvious, but are you sure 7z is actually installed? Although the archive manager can work with 7z files, it will only work if you install it. That isn't the case by default. So maybe your file inst corrupt at all. – matv1 Nov 4 '13 at 11:24
  • Yes, I installed it right after I installed 13.10. – KI4JGT Nov 4 '13 at 12:44
  • okay, have you tried extracting it directly with 7z instead of the archive manager? – matv1 Nov 4 '13 at 13:02
  • (To do that, Using the terminal just cd to the directory where your 7z archive is located and do: 7z e YourArchiveName) – matv1 Nov 4 '13 at 13:04
  • Error: Can not open file as archive – KI4JGT Nov 4 '13 at 13:15
0

There are two 7zip programs in the Ubuntu archives: p7zip and p7zip-full. Make sure p7zip-full is installed. Reboot to make double sure.

Otherwise, try copying the archive to a Windows recognized filesystem on a pen drive or something and try it on a Windows machine with 7z installed.

If the above procedures do not work, the .7z file is incomplete or damaged and must be redone. If you deleted your data, unfortunately, your only hope is to recover as much of the most valuable pieces as possible from the medium you got it from in the first place.

0

The error "an error occurred while loading the archive" surely means the file is corrupted. No doubt about it!

If you want to recover your data from corrupt 7z archive, you must Google some 3rd party recovery software. I can recommend you SysInfoTools Archive Recovery software here. Try its free demo version first to scan your corrupt 7z file. In demo version, you will come to know how much data will be recovered from the corrupt 7z file. To save the data, you need full version.

Try its free demo version first.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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