Re: yum erase and symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Ellis <sellis@xxxxxxxxxxxxxxxx> writes:

> 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?

 Is there anything in the %preun/%postun ... what version of rpm?
 If there's not scriptlets it sounds like a weird bug in rpm, to
me. What version of rpm are you running?

 One likely workaround would be to do:

rm /foo
mkdir /foo
mount --bind /pool/foo /foo

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux