Help - Search - Members - Calendar
Full Version: OZ 3.3.5 ipkg bug 'magic invalid'
OESF Portables Forum > Everything Else > Archived Forums > Distros, Development, and Model Specific Forums > Zaurus Distro Support and Discussion > Angstrom & OpenZaurus
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

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).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.