Author Topic: Install Trouble With Some Ipks  (Read 2879 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« 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?
« Last Edit: February 17, 2007, 01:41:41 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
Install Trouble With Some Ipks
« Reply #1 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.
« Last Edit: February 16, 2007, 06:54:22 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« Reply #2 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....
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Install Trouble With Some Ipks
« Reply #3 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 ....
« Last Edit: February 17, 2007, 06:38:18 am by kkazakov13 »
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« Reply #4 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]

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...
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Install Trouble With Some Ipks
« Reply #5 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 ...
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« Reply #6 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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Install Trouble With Some Ipks
« Reply #7 on: February 17, 2007, 12:49:10 pm »
can you make

Code: [Select]
ls -al /usr/ | grep include
and paste the output ( permissions ) here ?
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« Reply #8 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???
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Install Trouble With Some Ipks
« Reply #9 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.
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Install Trouble With Some Ipks
« Reply #10 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!
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun