You are not logged in.

#1 2018-06-26 19:26:21

cb2
Member
Registered: 2017-07-03
Posts: 4

"Failed to commit transaction (conflicting files)" - owned by glibc

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-10

The 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

#2 2018-06-26 19:34:36

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: "Failed to commit transaction (conflicting files)" - owned by glibc

cb2 wrote:

Any suggestions?

Yes, don't do partial upgrades.

Offline

#3 2018-06-26 19:58:25

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: "Failed to commit transaction (conflicting files)" - owned by glibc

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

Board footer

Powered by FluxBB