I'd guess, it's a file in /etc/ .
1) su , 2) cd /etc/
3) mv yum.conf.swp backup-yum.conf.swp
.. Then it isn't deleted, but "saved".
( You may need it some other time ? )
And by the way, vi isn't really for deleting files.
'vi' could e.g. edit away all lines in the file.
If you then, after the "saving to backup"
want an empty file yum.conf.swp :
Just do : touch /etc/yum.conf.swp
Last edited by knudfl; 07-02-2010 at 09:06 AM.