Your package is broken in

Rask Ingemann Lambertsen rask at
Sun Mar 8 19:45:30 CET 2009

On Sun, Mar 08, 2009 at 04:01:45PM +0200, Risto H. Kurppa wrote:
> (cc:d the authors of some broken packages I was able to extract the
> e-mail address from..)
> Hi!
> If you have packaged some of the apps listed below, I just want to let
> you know that the package in is broken and not recognized as
> an installable file
> (to try this, download the packages from and run file
> package.ipk - it should return Debian Binary but for the ones listed
> below, it returns data/empty or gzip)

   Another type of breakage I've seen is this one (data and control archives
in wrong order):

$ ar tv fluid_0.0+svn20070817-r2_armv4t_eabi.ipk 
rw-r--r-- 1000/1000      4 Aug 17 02:28 2007 debian-binary
rw-r--r-- 1000/1000  45830 Aug 17 02:28 2007 data.tar.gz
rw-r--r-- 1000/1000    411 Aug 17 02:28 2007 control.tar.gz

   While this seems to work fine with the Debian tools, it would be
preferable to fix the tool which builds the packages that way. Packages
broken this way can be fixed like this:

$ cd empty_directory
$ ar xov broken_package.ipk
$ rm broken_package.ipk
$ ar qcv broken_package.ipk debian-binary control.tar.gz data.tar.gz
$ rm debian-binary control.tar.gz data.tar.gz

> > GZIP
> > yphonekitd_0.4.3_any.ipk
> > zomg_0.0.6-r2_armv4t.ipk

   They might be gzipped tar archives. An example case I came across:

$ cd empty_directory
$ tar -zxf pingus_0.7.2-r0_armv4t_DolfFix.ipk
$ rm pingus_0.7.2-r0_armv4t_DolfFix.ipk
$ ar qcv pingus_0.7.2-r0_armv4t_DolfFix.ipk debian-binary control.tar.gz data.tar.gz
$ rm debian-binary control.tar.gz data.tar.gz

Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

More information about the community mailing list