You are not logged in.
sudo pacman -S php-apache
resolving dependencies...
looking for conflicting packages...
Packages (2) libnsl-1.2.0-1 php-apache-7.2.7-1
Total Installed Size: 12.84 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [###############################################################] 100%
(2/2) checking package integrity [###############################################################] 100%
(2/2) loading package files [###############################################################] 100%
(2/2) 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.$ pacman -Qo /usr/include/rpcsvc/nis.h
/usr/include/rpcsvc/nis.h is owned by glibc 2.26-10The Wiki doesn't say anything about what to do when a conflicting file is owned by a program, other than "file a bug report" - which firstly doesn't really solve the issue, and secondly I don't exactly see where the bug is anyway in "Package owns a file"!
Any suggestions?
Offline
Any suggestions?
Yes, don't do partial upgrades.
Offline
To expand on this: partial updates are not supported
The glibc package is at 2.27-3, perform a full system upgrade before you do anything else. Be sure to read the news.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline