Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-30-2003, 12:42 AM   #1
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Rep: Reputation: 15
Question Error deleting file? I/O error...

Trying to keep a long story short, I am in the /usr/lib/ directory, logged in as root, with X shutdown. I want to remove/copy a file that seems to be causing me trouble. However the file isn't listed when I 'ls'

It's the file '' when I type rm it returns:

rm: accessing '/usr/lib/': Input/Output error

I assumed the file wasn't there, so I tried to copy a new version of the file to that directory and recieved the same error.

Anyone know what's up?
Old 09-30-2003, 06:20 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
what does

stat /usr/lib/


file /usr/lib/

Old 09-30-2003, 01:38 PM   #3
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Pretty weird here.... When I rebotted nix, the file was listed and I was able to delete it again.

However, odd thing:

There were two of the exact same file listed on the screen, when I deleted one, both disappeared, but how would that happen? I did multiple "ls" commands and it was always listed double.

Now I'm on to big trouble...

I'm trying to copy those files to the /usr/lib/ directory and I'm getting the I/O error.

Is it possible that the reason I can't copy a file there is that there is another file that is linking to that file? I have a file that, according to the nvidia installer, is a soft link file to the one I'm trying to copy.

If that's not clear:

'ln -sf /usr/lib/' is what I need to run once I copy the to /usr/lib/

'' exists already (uninstall didn't remove it) but does not, I can't seem to copy it there either.

If it's probably the link file that is preventing me from copying this file over, I should be able to delete the file, correct?

Last edited by Toker; 09-30-2003 at 02:23 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Two million error lines in .xsession-error file from FireFox acanton Linux - Software 4 08-28-2005 09:53 AM
error while deleting coal-fire-ice Solaris / OpenSolaris 2 07-28-2005 04:46 AM
deleting users -error Debra_Dixon Linux - Newbie 6 08-10-2004 10:27 AM
Error "Generic Error" While Deleting CAL Linux - Newbie 2 04-07-2004 05:48 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration