OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> OZ 3.3.5 ipkg bug 'magic invalid'
post Dec 2 2003, 01:19 AM
Post #1





Group:
Posts: 0
Joined: --
Member No.: 0



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?
Go to the top of the page
 
+Quote Post
post Dec 2 2003, 01:44 PM
Post #2





Group:
Posts: 0
Joined: --
Member No.: 0



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).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd September 2014 - 06:30 AM