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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem with mime magic, find and tar returing mime errors
aarons
post Nov 7 2004, 10:17 AM
Post #1





Group: Members
Posts: 7
Joined: 21-October 04
Member No.: 5,137



I don't know what I did to break this, but all of the sudden file returns error:

/etc#file fstab
fstab: file: invalid type 0 in mconvert().

and tar:

/mnt/card/Documents/Install_Files#tar xzOf zuc_1.1_arm.ipk ./data.tar.gz
tar: invalid compressed data--format violated

I'm sure these aren't the only two porgrams affected, but the only two I've noticed so far.

Anyway, where is the mime magic file on these? I'm running a zaurus sl6000 with the original rom.

Thanks.
Go to the top of the page
 
+Quote Post
Stubear
post Nov 7 2004, 04:00 PM
Post #2





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



The first problem can be fixed by
CODE
sudo file -C -m /usr/share/magic
sudo file -C -m /usr/share/magic.mime


The second may be realted to the first, but most probably you are trying to install an oe/oz/opie formated ipk (they use ar instead or gzip to compress the tarball) - search the forums you'll find buckets of info on this as well as how to convert them

Stu
Go to the top of the page
 
+Quote Post
aarons
post Nov 7 2004, 04:54 PM
Post #3





Group: Members
Posts: 7
Joined: 21-October 04
Member No.: 5,137



Excellent. The first problem is solved, and I'll search on the second. Thanks.

-Aaron
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 09:59 PM