OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Anonymous on December 02, 2003, 04:19:17 am
-
It seems that with OZ 3.3.5 the magic number in the .ipk file has to set as debian package v. 2.0 If you have an older package (or one that shows up as a tar archive) the package manager (or ipkg on the command line) complains of and invalid magic number. I tried this with a few older packages (bluez from sourceforge) and some of the ones in the 3.3.5 feed and all I could tell that was different between them was the output from the \'file\' command. Any ideas?
-
It seems that the ipkg version that comes with 3.3.5 is more finicky. You can get around this by untarring the package the using \'ar\' to put it back together.
Example foo.ipk
tar -xvf foo.ipk
./control.tar.gz
./data.tar.gz
./debian
ar -cr foobar.ipk ./debian ./control.tar.gz ./data.tar.gz
where foobar.ipk is your new working package. (you can do this on your desktop instead of zaurus then just copy the new pkg to your z).