[aur-general] How to handle installers in PKGBUILDs

Lukas Fleischer archlinux at cryptocrack.de
Wed Feb 9 08:11:21 EST 2011


On Wed, Feb 09, 2011 at 12:37:16PM +0000, Michael Schubert wrote:
> I tried the following:
> 
> $ cat CellDesigner-4.1-linux-installer.bin | tar -xzvf -
> $ cat CellDesigner-4.1-linux-installer.bin | tar -xjvf -
> $ cat CellDesigner-4.1-linux-installer.bin | tar -xJvf -
> 
> each of which failed with "unknown archive type".

$ file
CellDesigner-4.1-linux-installer.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped
$ strings CellDesigner-4.1-linux-installer.bin | grep '$Info'
$Info: This file is packed with the UPX executable packer http://upx.sf.net $
$ upx -d CellDesigner-4.1-linux-installer.bin > /dev/null
upx: CellDesigner-4.1-linux-installer.bin: CantUnpackException: header corrupted 2

Looks like an UPX-packed executable with an additional wrapper (might be
another layer of encryption/compression) or a modified version of UPX.
This is probably not so easy to unpack and needs more investigation.


More information about the aur-general mailing list