Solved Unable to edit anything!

I've just done a silly thing and copied a 14.0 root filesystem over a 13.2 installation, and although I was able to boot up OK, I'm unable to edit anything, not with ee, not even with vi. I get an error -

/lib/libncursesw.so.9: invalid file format

I ran chflags on the target directory before copying over the filesystem, so can't see why this error occured.

What should I do?
 
Are the editors from ports? Are they in /usr/local/bin?
For some reason this file did not get copied properly.

/lib/libncursesw.so.9

It may have been linked, I don't know... Copying the file solved the problem.

I was afraid I had cause a major screw up by copy over the whole filesystem, but nothing major has occured (so far...).
 
Does /rescue/vi work?
I think ee should be there, too, but unfortunately not.
If you're not enough familiar with vi(1), read linked manpage carefully and remenber minimal commands before doing anything.
vi(1) is for super skilled experts unlike me.
 
Back
Top