Updating a few systems this morning and they are all afflicted by the following file conflicts for lbnsl-1.2.0-1....
$this->bbcode_second_pass_code('', '
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (24) gamin-0.1.10-8 gcc-7.3.1+20180406-1 gcc-fortran-7.3.1+20180406-1 haskell-http-4000.3.11-12 jemalloc-1:5.0.1-4.1 ldb-1.3.2-1 libepoxy-1.5.1-1
libnsl-1.2.0-1 libwbclient-4.8.0-2 linux-raspberrypi-4.14.37-1 nextcloud-13.0.2-1 pam-1.3.0-2 pandoc-2.1.3-21 perl-uri-1.74-1 php-cgi-7.2.5-1
pinentry-1.1.0-2 python-3.6.5-2 python2-2.7.14-3 python2-flask-1.0-1 raspberrypi-bootloader-20180426-1 raspberrypi-bootloader-x-20180426-1
smbclient-4.8.0-2 thin-provisioning-tools-0.7.6-1 xkeyboard-config-2.23.1-3
Total Download Size: 0.11 MiB
Total Installed Size: 564.48 MiB
Net Upgrade Size: 1.34 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
python2-flask-1.0-1-any 117.6 KiB 784K/s 00:00 [############################################################] 100%
(24/24) checking keys in keyring [############################################################] 100%
(24/24) checking package integrity [############################################################] 100%
(24/24) loading package files [############################################################] 100%
(24/24) checking for file conflicts [############################################################] 100%
error: failed to commit transaction (conflicting files)
libnsl: /usr/include/rpcsvc/nis.h exists in filesystem
libnsl: /usr/include/rpcsvc/nis.x exists in filesystem
libnsl: /usr/include/rpcsvc/nis_callback.h exists in filesystem
libnsl: /usr/include/rpcsvc/nis_callback.x exists in filesystem
libnsl: /usr/include/rpcsvc/nis_object.x exists in filesystem
libnsl: /usr/include/rpcsvc/nis_tags.h exists in filesystem
libnsl: /usr/include/rpcsvc/nislib.h exists in filesystem
libnsl: /usr/include/rpcsvc/yp.h exists in filesystem
libnsl: /usr/include/rpcsvc/yp.x exists in filesystem
libnsl: /usr/include/rpcsvc/yp_prot.h exists in filesystem
libnsl: /usr/include/rpcsvc/ypclnt.h exists in filesystem
libnsl: /usr/include/rpcsvc/yppasswd.h exists in filesystem
libnsl: /usr/include/rpcsvc/yppasswd.x exists in filesystem
libnsl: /usr/include/rpcsvc/ypupd.h exists in filesystem
libnsl: /usr/lib/libnsl.so exists in filesystem
Errors occurred, no packages were upgraded.
')
Reading through this guide on resolving file conflicts most of the files are not owned by anything and the /usr/lib/libnsl* files are owned by glibc...
$this->bbcode_second_pass_code('', '
# pacman -Qo /usr/include/rpcsvc/*
error: No package owns /usr/include/rpcsvc/nis_callback.h
error: No package owns /usr/include/rpcsvc/nis_callback.x
error: No package owns /usr/include/rpcsvc/nis.h
error: No package owns /usr/include/rpcsvc/nislib.h
error: No package owns /usr/include/rpcsvc/nis_object.x
error: No package owns /usr/include/rpcsvc/nis_tags.h
error: No package owns /usr/include/rpcsvc/nis.x
error: No package owns /usr/include/rpcsvc/ypclnt.h
error: No package owns /usr/include/rpcsvc/yp.h
error: No package owns /usr/include/rpcsvc/yppasswd.h
error: No package owns /usr/include/rpcsvc/yppasswd.x
error: No package owns /usr/include/rpcsvc/yp_prot.h
error: No package owns /usr/include/rpcsvc/ypupd.h
error: No package owns /usr/include/rpcsvc/yp.x
# pacman -Qo /usr/lib/libnsl*
/usr/lib/libnsl-2.27.so is owned by glibc 2.27-2
error: No package owns /usr/lib/libnsl.so
/usr/lib/libnsl.so.1 is owned by glibc 2.27-2
')
There is no package file for libnsl against which may be the source of errors according to the above linked piece...
$this->bbcode_second_pass_code('', '
# ls -l /var/lib/pacman/local/libnsl-*
ls: cannot access '/var/lib/pacman/local/libnsl-*': No such file or directory
')
Is this an error for such a file not to exist?
I'm tempted to try as advised and remove the files under /usr/include/rpcsvc/ as there is no packages called rpcsvc as far as I can tell.
Unsure how to resolve this correctly, on one system I've tried updating all but libnsl and then tried updating libnsl afterwards but the problem persists of libnsl finding files that already exist.
Any pointers on how to go about resolving this would be appreciated.
Thanks in advance.