[Yum] yum erase and symlinks

Stephen Ellis sellis at acquiremedia.com
Tue Jan 29 18:08:59 UTC 2013


Hi

I have three packages that install various files inside the same directory structure like this:

/foo
/foo/release
/foo/release/conf
/foo/release/etc
/foo/release/bin

The target server however contains an existing symlink like this:

/foo -> /pool/foo

The installs all seem to work fine.  If I try and run a yum erase on a single package, the /foo symlink on the server is removed as part of the erase leaving the /pool/foo/* intact with the other package files (as expected).  How can I keep the symlink from being removed?




More information about the Yum mailing list