You are not logged in.
I cannot delete read / write my ~/.viminfo file.
[gary@Holly ~]$ rm .viminfo
rm: cannot remove `.viminfo': Stale NFS file handle
The thing is it's not an nfs volume, this directory does however sync using unison with a nfs volume, I am guessing this is how it got on my system.
The file permissions appear as follows
[gary@Holly ~]$ ls -lah | grep viminfo
ls: cannot access .viminfo: Stale NFS file handle
-????????? ? ? ? ? ? .viminfo
Any ideas on how I can delete it?
EDIT: Have tried fsck on boot, no luck
Its kinda annoying because vim errors all the time because it cannot write to .viminfo
Thanks in advance
Last edited by gazj (2008-10-28 18:55:56)
Offline
Same problem here.
My computer crashed, I reset and pacman started to complain about some packages.
I ran find / -printf '%i' 1>/dev/null to look for issues
It's isolated to:
/var/lib/pacman/local/
$ find -printf '%i' 1>/dev/null
find: `./lua-5.1.4-2': Stale NFS file handle
find: `./pygobject-2.15.4-1': Stale NFS file handle
find: `./pygtk-2.13.0-1': Stale NFS file handle
pacman now thinks these packages aren't on the system, and I can't install/uninstall them anymore.
I have also tried fsck on boot without luck. (nothing in lost+found)
EDIT and I don't have any NFS partitions
EDIT: Whoops! /var/lib/pacman is on a loopback device
I ran fsck /var/lib/pacman.db which found the errors/missing inodes
I think it was caused by the mirror not being up to date and reporting the wrong packages to pacman -Sy. Now I just need to reinstall them and then uninstall them again to remove all the files.
Last edited by Procyon (2008-11-01 18:24:27)
Offline