maintainer-feedback requested: [Bug 227599] emulators/linux_base-c6: Portupgrade fails due to "cp: symlink: libc-2.12.so: File exists" error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 18 01:58:54 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-emulation mailing
list <emulation at FreeBSD.org> for maintainer-feedback:
Bug 227599: emulators/linux_base-c6: Portupgrade fails due to "cp: symlink:
libc-2.12.so: File exists" error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227599



--- Description ---
Attempting to portupgrade linux_base-c6-6.9_6 to linux_base-c6-6.9_7 on FreeBSD
10-stable (r331931 amd64) fails with:

--->  Backing up the old version
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 336 packages found - done]
--->  Deinstalling 'linux_base-c6-6.9_6'
--->  Preserving /compat/linux/usr/lib/i686/nosegneg/libc.so.6 as
/usr/local/lib/compat/pkg/libc.so.6
cp: symlink: libc-2.12.so: File exists
Copy failed!
[Reading data from pkg(8) ... - 336 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! linux_base-c6-6.9_6	(copy failed)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! emulators/linux_base-c6 (linux_base-c6-6.9_6) (uninstall error)

I don't believe I have made any local changes in this area, and the file in
question appears in the ports plist, so I think this is a port error.

Complete transcript of the session attached.


More information about the freebsd-emulation mailing list