Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2018 22:46:53 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-ports@freebsd.org
Subject:   devel/qt5-core (qt5-core-5.9.4_2) (uninstall error)
Message-ID:  <20180626224653.85f41c239c6e5d84c03f92ee@3dresearch.com>

next in thread | raw e-mail | index | archive | help
Hello List,

When trying to update qt5-core-5.9.4_2, it failed:

# portversion -vR qt5-core-5.9.4_2
[Reading data from pkg(8) ... - 1001 packages found - done]
gettext-runtime-0.19.8.1_1  =  up-to-date with port 
glib-2.50.3_3,1             =  up-to-date with port 
icu-61.1,1                  =  up-to-date with port 
pcre2-10.21_1               =  up-to-date with port 
qt5-core-5.9.4_2            <  needs updating (port has 5.10.1_2) 
qtchooser-39                =  up-to-date with port 

# portupgrade -vR qt5-core-5.9.4_2
[everything fine, until...]
====> Compressing man pages (compress-man)
===>   Installing ldconfig configuration file
--->  Build of devel/qt5-core ended at: Tue, 26 Jun 2018 17:05:02 -0400 (consumed 00:00:55)
--->  Updating dependency info
--->  Uninstallation of qt5-core-5.9.4_2 started at: Tue, 26 Jun 2018 17:05:02 -0400
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
pkg: file '/usr/local/lib/qt5/libQt5Core.so.5.9' is missing
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 1001 packages found - done]
--->  Deinstalling 'qt5-core-5.9.4_2'
--->  Preserving /usr/local/lib/qt5/libQt5Core.so.5 as /usr/local/lib/compat/pkg/libQt5Core.so.5
cp: symlink: libQt5Core.so.5.9.4: File exists
Copy failed!
[Reading data from pkg(8) ... - 1001 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! qt5-core-5.9.4_2	(copy failed)
--->  Uninstallation of qt5-core-5.9.4_2 ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:00)
--->  Upgrade of devel/qt5-core ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:56)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! devel/qt5-core (qt5-core-5.9.4_2)	(uninstall error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Tue, 26 Jun 2018 17:05:03 -0400 (consumed 00:00:57)

# ls -al /usr/local/lib/qt5/libQt5Core*
-rw-r--r--  1 root  wheel     1040 May  5 21:58 /usr/local/lib/qt5/libQt5Core.prl
lrwxr-xr-x  1 root  wheel       19 May  5 21:58 /usr/local/lib/qt5/libQt5Core.so -> libQt5Core.so.5.9.4
lrwxr-xr-x  1 root  wheel       19 May  5 21:58 /usr/local/lib/qt5/libQt5Core.so.5 -> libQt5Core.so.5.9.4
-rwxr-xr-x  1 root  wheel  5028000 May  5 21:58 /usr/local/lib/qt5/libQt5Core.so.5.9.4

How can I fix this?

-- 
Janos Dohanics



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180626224653.85f41c239c6e5d84c03f92ee>