29.12.2016 06:32, Carlos E. R. пишет:
On 2016-12-29 04:17, Andrei Borzenkov wrote:
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)
cer@Telcontar:~> l /etc/alternatives/postgresql ls: cannot access '/etc/alternatives/postgresql': No such file or directory cer@Telcontar:~>
cer@Telcontar:~> l /usr/lib/ | grep post drwxr-xr-x 2 root root 4096 Dec 26 15:12 postfix/ drwxr-xr-x 3 root root 19 Sep 21 2010 postgresql/
If you do not need it and you are sure nothing needs it then simply delete this directory.