View Single Post
rebhana's Avatar
Posts: 579 | Thanked: 471 times | Joined on Jan 2010 @ Austria
#1967
Originally Posted by mscion View Post
Hi, I'm having a problem reinstalling programs on v3e that I had made symbolic links for (following Rebhana's wiki) inorder to make more room for other downloads. For example if I now try to ls -l the file, say texmf, I get the error "Stale NFS file handle" This error appears when I run apt-get so that the program does not install. Is there a way to get rid of these "stale" files? There probably is a work around where I go up a directrory and shuffle things around until the stale files are not a problem but I was wondering if there was a direct way to permanently remove them. Perhaps fsck is needed here?

A follow up question: To avoid this problem should I have unlinked all these programs before installing a new image?

Thanks for your help!
Interesting! I ran into exactly the same problem yesterday, however before having moved out things and soft-linking them. In my case I suspect that I have prematurely stopped a run with apt-get. It happened actually twice. Once, the device appeared completely unresponsive, so I rebooted, at another occasion it rebooted by itself in the middle of installing a large set of Debian packages. After that I had corrupted files in /var/lib/dpkg/updates which I could not remove. I had to delete the whole image and start all over. I never had such problems before - perhaps it's due to PR1.3 or my internal memory card is getting worn out. However, fsck.vfat didn't find anything wrong, perhaps fsck.ext2 within the image could have resolved it.

At any rate, it's crucial that apt-get is allowed to finish its job. When the device seems to become unresponsive, be patient and don't just shut it down (if that's how it happened to you). Beats me, however, why the file system error should look like NFS problems to the kernel.
__________________
Need more apps for the N900? Check out Qole's Easy Debian and read the wiki!
My Easy Debian installation log
 

The Following User Says Thank You to rebhana For This Useful Post: