Re: [opensuse-packaging] RPM how to change a directory to a link

On Thu, Feb 3, 2011 at 12:58 PM, Johannes Meixner <jsmeix@suse.de> wrote:
Hello,
when there is in foo-1.rpm a directory /somewhere/foo/ but in foo-2.rpm it is a link /somewhere/foo -> /elsewhere/bar then "rpm --upgrade foo" fails with -------------------------------------------------------------- error: unpacking of archive failed on file /somewhere/foo: cpio: rename failed - Is a directory --------------------------------------------------------------
What is the officially blessed method to support such a change in the software in the RPM package of such a software?
Well, strange enough the metod for doing this via lua and pretrans was never documentated but it is know today ( more or less) . Perhaps these link can help you
https://bugzilla.redhat.com/show_bug.cgi?id=447156 https://bugs.launchpad.net/rpm/+bug/633636/comments/3 hth -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (1)
-
yersinia