Help - Search - Members - Calendar
Full Version: Problem with mime magic
OESF Forums > General Forums > General Support and Discussion > Software
aarons
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.
Stubear
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
aarons
Excellent. The first problem is solved, and I'll search on the second. Thanks.

-Aaron
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-2015 Invision Power Services, Inc.