I'm trying to modify a Firefox plugin in .xpi format using file roller. When I try to resave the file after making modifications, I get an error:
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)
Scanning
Updating archive /home/user/Desktop/myplugin.xpi
System error:
E_INVALIDARG
If I try to just save it as a .zip instead, I get this error:
An error occurred while adding files to the archive.
It works fine in maverick and precise, only my oneiric machine is unable to properly save the file. What steps can I take to find the cause of this problem?
It's possible to do this from the command line successfully with p7zip (which you seem to have installed).
7z a myplugin.zip * ; mv myplugin.zip myplugin.xpi
I think the problem is linked to p7zip because it autodetects the type of archive to use from the filename suffix.