
29.12.2016 00:22, Carlos E. R. пишет:
Hi,
I get (YaST wants to install these automatically):
Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib/postgresql: cpio: rename failed - Is a directory error: postgresql94-9.4.9-8.1.x86_64: install failed
RPM cannot handle change from directory to symbolic links. Usually package needs to manually workaround it in install scripts
symlink("/etc/alternatives/postgresql", "/usr/lib/postgresql;58642cb4") = 0 lstat("/usr/lib/postgresql", {st_mode=S_IFDIR|0755, st_size=19, ...}) = 0 rename("/usr/lib/postgresql;58642cb4", "/usr/lib/postgresql") = -1 EISDIR (Is a directory)
It is possible that package switched to using alternatives in which case it is packaging bug. Or it is possible that you or something manually created this directory. What "rpm -qf /usr/lib/postgres" says?