OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jpmatrix on February 16, 2007, 06:14:22 pm

Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 16, 2007, 06:14:22 pm
hi
sometimes i ve troubles installing some ipks for example latest clamav-0.9.0 from z.drun.net... i got errors like this :

tar: ./usr/include/clamav.h: Cannot open: Read-only file system
tar: ./usr/include: Cannot change mode to rwxr-xr-x: Read-only file system
tar: Error exit delayed from previous errors

would someone help please?
Title: Install Trouble With Some Ipks
Post by: radiochickenwax on February 16, 2007, 06:35:50 pm
Quote
hi
sometimes i ve troubles installing some ipks for example latest clamav-0.9.0 from z.drun.net... i got errors like this :

tar: ./usr/include/clamav.h: Cannot open: Read-only file system
tar: ./usr/include: Cannot change mode to rwxr-xr-x: Read-only file system
tar: Error exit delayed from previous errors

would someone help please?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154444\"][{POST_SNAPBACK}][/a][/div]


Just to get the obvious out of the way,  you're not trying to install to a FAT formatted filesystem on SD or CF are you?  Or maybe into some location that has no memory left?  Those have been the two reasons this has happened to me so far.
Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 17, 2007, 04:18:42 am
Quote
Quote
hi
sometimes i ve troubles installing some ipks for example latest clamav-0.9.0 from z.drun.net... i got errors like this :

tar: ./usr/include/clamav.h: Cannot open: Read-only file system
tar: ./usr/include: Cannot change mode to rwxr-xr-x: Read-only file system
tar: Error exit delayed from previous errors

would someone help please?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154444\"][{POST_SNAPBACK}][/a][/div]


Just to get the obvious out of the way,  you're not trying to install to a FAT formatted filesystem on SD or CF are you?  Or maybe into some location that has no memory left?  Those have been the two reasons this has happened to me so far.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154449\"][{POST_SNAPBACK}][/a][/div]


well
i'm always installing FROM a fat formatted sdcard yes but TO my c3000 harddrive...
most packages works; there're only some which gave me these messages....
Title: Install Trouble With Some Ipks
Post by: kkazakov13 on February 17, 2007, 06:32:09 am
It's not the problem from this package ... i've used it lot of times.


Ok, is this always happening with bigger packages or the size doesn't matter? Because as you noticed, clamav is 9mb archived ....
Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 17, 2007, 12:07:36 pm
Quote
It's not the problem from this package ... i've used it lot of times.


Ok, is this always happening with bigger packages or the size doesn't matter? Because as you noticed, clamav is 9mb archived ....
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=154499\")

no it is not size related:i got lots of error messages with this package too:

[a href=\"http://z.drun.net/packages/evolution-data-server-devel_1.8.2_armv5tel.ipk]http://z.drun.net/packages/evolution-data-....2_armv5tel.ipk[/url]

andi it is only 200ko...
Title: Install Trouble With Some Ipks
Post by: kkazakov13 on February 17, 2007, 12:17:59 pm
is it always /usr/include/ related? and why you install -devel package ? it's only when developing ...
Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 17, 2007, 12:40:39 pm
Quote
is it always /usr/include/ related? and why you install -devel package ? it's only when developing ...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154512\"][{POST_SNAPBACK}][/a][/div]

i remember compiling i-don-t-know-which-package asked me about it...well it was just a try

here are the error i get :

yeah, it seems to bet /usr/include related
Title: Install Trouble With Some Ipks
Post by: kkazakov13 on February 17, 2007, 12:49:10 pm
can you make

Code: [Select]
ls -al /usr/ | grep include
and paste the output ( permissions ) here ?
Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 17, 2007, 12:58:20 pm
Quote
can you make

Code: [Select]
ls -al /usr/ | grep include
and paste the output ( permissions ) here ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154514\"][{POST_SNAPBACK}][/a][/div]

ho yes you find it!!!
in fact as i've installed meanie's compiling tool zgcc-3.4.6.squashfs, now /usr/include is linked to /opt/native/xxxxx which is readonly, as it is a squashfs mount........
well how do i get rid of that???
am i alone in this situation???
Title: Install Trouble With Some Ipks
Post by: kkazakov13 on February 17, 2007, 01:30:23 pm
Usually I make gcc environment by myself. /usr/include should NOT be linked to /opt/native/arm/...

my quickfix for this - if you have enough space, unpack squashfs somewhere and link it to /opt/native/arm - this way you will have RW env.

another quickfix - I would remove link /usr/include , when building this should be checked in includedir too by default.

But better do the first one - you will encounter situations when you don't want the include files or libs in the squashfs , in this case I just rename them  As my GCC is directly in the filesystem.
Title: Install Trouble With Some Ipks
Post by: jpmatrix on February 17, 2007, 01:38:17 pm
ok i'll try that

for now unmounting the zgcc environnement did the trick

thanks for your help!