В Tue, 15 Oct 2013 18:53:21 -0400 Greg Freemyer <greg.freemyer@gmail.com> пишет:
All,
I maintain httrack and httrack-3.47.24 installs fine on 12.3
With openSUSE 13.1 it fails:
The error is: Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/share/httrack/html: cpio: rename failed - Is a directory
It is actually not a directory, it's a symbolic link
RPM is not able to switch between link and directory on update. This is known problem. This must be worked around in pre/post scripts by removing/renaming offending directory before actual content installation and restoring content after.
ls -l total 32 lrwxrwxrwx 1 root root 28 Aug 29 14:12 html -> ../doc/packages/httrack/html drwxr-xr-x 2 root root 4096 Aug 29 14:12 lang -rw-r--r-- 1 root root 22442 Aug 26 08:51 lang.def -rw-r--r-- 1 root root 159 Aug 26 08:51 lang.indexes
Is a symbolic link from /usr/share/html to /usr/share/doc/packages/httrack/html no longer valid?
Greg -- Greg Freemyer
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org