Wednesday, 19 August 2009

unzip 'unsupported compression method 99' error use p7zip 7za

Problem:
$ unzip -l muh.zip
$ unzip -Ppassword muh.zip
Archive: muh.zip
   skipping: muh unsupported compression method 99

Solution: On linux p7zip will unzip the zip with the password, for fedora:
sudo yum install p7zip
7za x -Ppassword muh.zip

This will hopefully save me 2 minutes of fumbling next time (BY lodging this info into my brain as well as on the internet).

$ rpm -qa |grep p7zip
p7zip-4.61-1.fc10.x86_64
$ rpm -q p7zip-4.61-1.fc10.x86_64 -l
/usr/bin/7za

7-Zip (A) 4.61 beta  Copyright (c) 1999-2008 Igor Pavlov  2008-11-23


5 comments:

Alex said...
This comment has been removed by a blog administrator.
Anonymous said...

You saved the day. Thx.
On my ubuntu 11.10 oneiric I used the following command:
sudo apt-get install p7zip-full

John Levon said...

Thanks for this!

Chester said...

Thanks! On a Mac, you can get it with this command (assuming you have Homebrew installed, which you should :-) ):

brew install p7zip

After that, 7za will work as expected.

Mauro Baraldi said...

To distributions derived from Ubuntu, install p7zip-full, instead only p7zip. Full comes with Rar support. Anyway, thanks for tip!