Reply
Thread Tools
Posts: 213 | Thanked: 97 times | Joined on Jan 2008
#1
Hello, I'm not longer able to install applications on my N810, here is an example error log from application manager of the error I'm getting (happens with all applications I've tried):

hildon-application-manager 2.1.19.1
/usr/bin/dpkg -f '/media/...<directory to deb>/<filename>.deb'
/usr/bin/dpkg --install '/media/...<directory to deb>/<filename>.deb'
dpkg: failed to open package info file '/var/lib/dpkg/available' for reading:Input/output error


I did some research on it and this error seems not uncommon in linux, it seems moving "available-old" to "available" fixes the problem but when I tried that I recieved "mv: cannot stat 'available': Input/output error", other suggestions included rebooting in a rescue OS and doing a fsck, which I don't have the luxury of doing.

Anybody else had this problem? Any solutions?

Last edited by CyberCat; 2009-03-18 at 04:22.
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
From my experience that means fs corruption. Are you booting from an SD card? If so you should be able to fsck the disk, otherwise backup and reflash.

Any other bright ideas?
 
Posts: 213 | Thanked: 97 times | Joined on Jan 2008
#3
Yeah I am booting from SD card, I forgot I can boot from flash. Only problem is the tablets don't have fsck. =/ Are there any fsck alternatives that can be used?
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#4
fsck.ext2/3 is available (I guess you used one of these for your card fs), try installing e2fstools (iirc)
 
Posts: 213 | Thanked: 97 times | Joined on Jan 2008
#5
Thanks! That's all I needed, fsck seems to have fixed it. I still had to do sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available after but my test app installed fine so I think it's fixed now. Thanks a lot for your help lardman.
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2009
#6
Got the same issue, any package update or remove request results in "unable to create '/var/lib/dpkg/updates/tmp.i' : Input/output error.
I am booting from internal SD, formatted in its entirety as ext2. Tried fsck on /dev/mmcblk1p1, but getting "Logical sector size is zero."
Am I out of luck on fixing this partition? Is reformat the only solution?

TIA
 
Posts: 29 | Thanked: 7 times | Joined on Dec 2007 @ Greater Boston
#7
I'd highly suggest reviewing this thread:

http://www.internettablettalk.com/fo...t=18043&page=4

I had similar issues and it permanently resolved it for me.
 
Posts: 13 | Thanked: 1 time | Joined on Feb 2009
#8
Looks like I don't have this sizing issue:
254 0 1966080 mmcblk0
254 1 1966048 mmcblk0p1
I am using a custom kernel from Fanoosh, and I think bug#2940 is fixed in it.
Is there no fix for "Logical sector size is zero" error, and my only recourse is to re-format and re-flash?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:13.