Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] RPM how to change a directory to a link
  • From: yersinia <yersinia.spiros@xxxxxxxxx>
  • Date: Thu, 3 Feb 2011 15:15:18 +0100
  • Message-id: <>
On Thu, Feb 3, 2011 at 12:58 PM, Johannes Meixner <jsmeix@xxxxxxx> wrote:


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
but it is know today ( more or less) . Perhaps these link can help you

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >