[ydl-gen] yum install probs again

Brian Wood beww1 at mac.com
Sat Sep 10 13:02:59 MDT 2005


Assuming you are the only useron the system:

You probably had an edit session crash, leaving the swap file, or edit 
buffer, hanging. You need to delete this file, it is in the home 
directory for the user "butters", note that since it begins with a "." 
it will not show up in a normal "ls", you need the "-a" option to see it.

The swap file appears to be owned by root. This probably indicates you 
were editing it as the root user, considered by most folks to be a bad 
idea, but if the original file is owned by root that's what I would do 
also.  As such, the user "butters" will not be able to remove it, you 
need to run "rm .yum.conf.swp" as root in the home directory of the user 
butters (/home/butters)

"Whereis" will not locate it since it is not in the command path. 
"Locate" would find it but only if the cron job has run that updates the 
locate database, in any case the message you are getting is telling you 
where it is (the /home/butters directory).

Deleting this file should eliminate the message you are seeing on 
starting your editor.

Kevin McMahon wrote:

> anytime that i try and edit the yum.conf file i get this message
>
> E325: ATTENTION
> Found a swap file by the name ".yum.conf.swp"
>          owned by: root   dated: Tue Sep  6 09:11:56 2005
>         file name: /home/butters/yum.conf
>          modified: YES
>         user name: root   host name: 
> 66-188-197-164.dhcp.roch.mn.charter.com
>        process ID: 8168
> While opening file "yum.conf"
>
> (1) Another program may be editing the same file.
>    If this is the case, be careful not to end up with two
>    different instances of the same file when making changes.
>    Quit, or continue with caution.
>
> (2) An edit session for this file crashed.
>    If this is the case, use ":recover" or "vim -r yum.conf"
>    to recover the changes (see ":help recovery").
>    If you did this already, delete the swap file ".yum.conf.swp"
>    to avoid this message.
>
> "yum.conf" [New File]
> Hit ENTER or type command to 
> continue                                       
> I have no idea where the swp file is even after a 'whereis command, 
> what is happening here?
> ydl 4.0 and a pismo g3 500,
> I need to get rid of that file or files it seems but have no clue, I 
> did everything that the message said but to know avail
>


More information about the yellowdog-general mailing list