You are not logged in.

#1 2018-05-25 14:06:51

InFerYes
Member
Registered: 2012-11-13
Posts: 37

[SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

edit: The error below has been solved. An update to the lib32-mesa packages was released, and there is no longer a conflict between lib32-wayland and lib32-mesa. If you held back on updates because of this, it's now OK to do them.


Hi, I just came across the error mentioned here and went on with the installation to come across this next error:

error: failed to commit transaction (conflicting files)
/usr/lib32/libwayland-egl.so exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1.0.0 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/pkgconfig/wayland-egl.pc exists in both 'lib32-wayland' and 'lib32-mesa'
Errors occurred, no packages were upgraded.

I've done a little searching, but I didn't find anyone with the same error. I found another post on a different forum but they concluded by saying they were doing to wait a bit.

Full excerpt:

$ sudo pacman -Syu
[sudo] password for : 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (275) 0ad-a23-1  0ad-data-a23-1  accountsservice-0.6.49-1  acpi_call-1.1.0-131  alsa-plugins-1.1.6-2  attica-5.46.0-1  audacious-plugins-3.9-3  avr-gcc-8.1.0-1  babl-0.1.50-1  baloo-5.46.0-1  binutils-2.30-4  blas-3.8.0-2  bluez-5.49-4  bluez-libs-5.49-4  bluez-qt-5.46.0-1  bluez-utils-5.49-4
               breeze-icons-5.46.0-1  brotli-1.0.4-1  c-ares-1.14.0-1  ca-certificates-mozilla-3.37.1-1  cblas-3.8.0-2  chromaprint-1.4.3-2  cmake-3.11.2-1  cryptsetup-2.0.3-1  cups-filters-1.20.3-2  curl-7.60.0-1  dbus-1.12.8-1  dhcpcd-7.0.4-1  e2fsprogs-1.44.2-1  eog-3.28.2-1  epiphany-3.28.2.1-1
               evolution-data-server-3.28.2-1  ffmpeg-1:4.0-2  file-5.33-3  filezilla-3.33.0-1  firefox-60.0.1-1  flatpak-0.11.7-1  flatpak-builder-0.10.10-1  fluidsynth-1.1.11-1  frameworkintegration-5.46.0-1  freerdp-1:2.0.0_rc2-2  freetype2-2.9.1-1  fuse-common-3.2.3-1  gcc-8.1.0-1  gcc-libs-8.1.0-1
               gcr-3.28.0-3  gegl-0.4.2-1  gimp-2.10.2-1  gjs-1:1.52.3-1  glib-networking-2.56.1-1  glibc-2.27-3  gnome-contacts-3.28.2-1  gnome-desktop-1:3.28.2-1  gnome-disk-utility-3.28.2-1  gnome-keyring-1:3.28.2-1  gnome-online-accounts-3.28.0-1  gnome-shell-3.28.2-1  gnome-system-monitor-3.28.2-1
               gnome-terminal-3.28.2-1  gnome-user-docs-3.28.2-1  gnupg-2.2.7-1  gsm-1.0.18-1  gst-plugins-bad-1.14.1-1  gst-plugins-base-1.14.1-1  gst-plugins-base-libs-1.14.1-1  gst-plugins-good-1.14.1-1  gstreamer-1.14.1-1  gvfs-1.36.2-1  gvfs-afc-1.36.2-1  gvfs-goa-1.36.2-1  gvfs-google-1.36.2-1
               gvfs-gphoto2-1.36.2-1  gvfs-mtp-1.36.2-1  gvfs-nfs-1.36.2-1  gvfs-smb-1.36.2-1  hdf5-1.10.1-3  ilmbase-2.2.1-2  imagemagick-7.0.7.35-1  inkscape-0.92.3-3  intel-tbb-2018_20180312-1  intel-ucode-20180425-1  jemalloc-1:5.1.0-1  js52-52.7.3-2  kactivities-5.46.0-1  kactivities-stats-5.46.0-1
               karchive-5.46.0-1  kauth-5.46.0-1  kbookmarks-5.46.0-1  kcmutils-5.46.0-1  kcodecs-5.46.0-1  kcompletion-5.46.0-1  kconfig-5.46.0-1  kconfigwidgets-5.46.0-1  kcoreaddons-5.46.0-1  kcrash-5.46.0-1  kdbusaddons-5.46.0-1  kdeclarative-5.46.0-1  kded-5.46.0-1  kdelibs4support-5.46.0-1  kdenlive-18.04.1-1
               kdesu-5.46.0-1  kemoticons-5.46.0-1  kfilemetadata-5.46.0-1  kglobalaccel-5.46.0-1  kguiaddons-5.46.0-1  kholidays-1:5.46.0-1  khtml-5.46.0-1  ki18n-5.46.0-1  kiconthemes-5.46.0-1  kidletime-5.46.0-1  kinit-5.46.0-1  kio-5.46.0-1  kirigami2-5.46.0-1  kitemmodels-5.46.0-1  kitemviews-5.46.0-1
               kjobwidgets-5.46.0-1  kjs-5.46.0-1  kjsembed-5.46.0-1  knewstuff-5.46.0-1  knotifications-5.46.0-1  knotifyconfig-5.46.0-1  kpackage-5.46.0-1  kparts-5.46.0-1  kpeople-5.46.0-1  kpty-5.46.0-1  krb5-1.16.1-1  krunner-5.46.0-2  kservice-5.46.0-1  ktexteditor-5.46.0-1  ktextwidgets-5.46.0-1
               kunitconversion-5.46.0-1  kwallet-5.46.0-1  kwayland-5.46.0-1  kwidgetsaddons-5.46.0-1  kwindowsystem-5.46.0-1  kxmlgui-5.46.0-1  kxmlrpcclient-5.46.0-1  lapack-3.8.0-2  lib32-colord-1.4.3-1  lib32-curl-7.60.0-1  lib32-e2fsprogs-1.44.2-1  lib32-freetype2-2.9.1-1  lib32-gcc-libs-8.1.0-1
               lib32-glibc-2.27-3  lib32-gtk3-3.22.30-1  lib32-krb5-1.16.1-1  lib32-libepoxy-1.5.2-1  lib32-libidn2-2.0.5-1  lib32-libnm-glib-1.10.8-1  lib32-libpsl-0.20.2-1  lib32-libsoup-2.62.1-1  lib32-mesa-18.0.4-1  lib32-nss-3.37-1  lib32-polkit-0.114-1  lib32-wayland-1.15.0-1  libaio-0.3.111-1
               libblockdev-2.17-3  libdazzle-3.28.2-1  libdmx-1.1.4-1  libdrm-2.4.92-1  libebml-1.3.6-1  libepoxy-1.5.2-1  libfilezilla-0.12.2-1  libgpg-error-1.31-1  libgphoto2-2.5.18-1  libidn-1.34-2  libidn2-2.0.5-1  libinput-1.10.7-1  libmagick-7.0.7.35-1  libmagick6-6.9.9.47-1  libmariadbclient-10.1.33-1
               libmatroska-1.4.9-1  libmwaw-0.3.14-1  libmypaint-1.3.0-5  libnm-1.10.8-1  libnm-glib-1.10.8-1  libphonenumber-8.9.4-1  libpsl-0.20.2-1  libqalculate-2.5.0-1  libreoffice-fresh-6.0.4-1  librsvg-2:2.42.4-1  libsoup-2.62.2-1  libsrtp-1:2.2.0-1  libtirpc-1.0.3-2  libtool-2.4.6+40+g6ca5e224-6
               libuv-1.20.3-1  libwbclient-4.8.1-1  libwebp-1.0.0-1  libwps-0.4.9-1  libx264-2:152.20171224-2  libzip-1.5.1-1  linux-4.16.11-1  linux-firmware-20180518.2a9b2cf-1  lm_sensors-3.4.0-3  man-pages-4.16-1  mariadb-clients-10.1.33-1  mesa-18.0.4-1  miniupnpc-2.1-2  mlt-6.8.0-2  modemmanager-qt-5.46.0-1
               mono-5.12.0.226-1  mutter-3.28.2-1  mypaint-brushes-1.3.0-2  nano-2.9.7-1  ndctl-60.3-1  networkmanager-1.10.8-1  networkmanager-qt-5.46.0-1  nodejs-10.2.0-1  npm-6.1.0-1  nss-3.37.1-1  openal-1.18.2-2  opencv-3.4.1-3  osinfo-db-20180514-1  pacman-5.0.2-3  pacman-mirrorlist-20180524-1
               pcsclite-1.8.23-3  perl-error-0.17026-1  perl-net-http-6.18-1  phonon-qt5-4.10.1-1  php-7.2.5-2  pinentry-1.1.0-3  pipewire-0.1.9-3  plasma-framework-5.46.0-1  poppler-0.64.0-1  poppler-data-0.4.9-1  poppler-glib-0.64.0-1  poppler-qt5-0.64.0-1  prison-5.46.0-1  python-3.6.5-3  python-packaging-17.1-1
               python-pbr-4.0.3-1  python-setuptools-1:39.2.0-1  python-sphinx-1.7.4-1  python-sphinx_rtd_theme-0.3.1-1  python-xdg-0.26-1  python2-2.7.15-1  python2-xdg-0.26-1  qqc2-desktop-style-5.46.2-1  qt5-base-5.10.1-8  remmina-1:1.2.30-1  smbclient-4.8.1-1  solid-5.46.0-1  sonnet-5.46.0-1  sudo-1.8.23-2
               syntax-highlighting-5.46.0-1  threadweaver-5.46.0-1  thunderbird-52.8.0-1  tor-0.3.3.6-1  transmission-cli-2.94-1  transmission-gtk-2.94-1  tzdata-2018e-1  uglify-js-3.3.27-1  unrar-1:5.6.4-1  vala-0.40.6-1  vim-8.1.0022-1  vim-runtime-8.1.0022-1  vino-3.22.0+11+g3977943-1  virtualbox-5.2.12-1
               virtualbox-host-modules-arch-5.2.12-4  vlc-3.0.2-1  vte-common-0.52.2-1  vte3-0.52.2-1  vulkan-icd-loader-1.1.73.0-1  wayland-1.15.0-1  wayland-protocols-1.14-1  webkit2gtk-2.20.2-1  wget-1.19.5-1  xdg-utils-1.1.3-1  xf86-video-intel-1:2.99.917+831+ge7bfc906-1  xine-lib-1.2.9-7  xorg-server-1.20.0-2
               xorg-server-common-1.20.0-2  xorg-server-xwayland-1.20.0-2  xz-5.2.4-1  youtube-dl-2018.05.18-1

Total Installed Size:  6127,56 MiB
Net Upgrade Size:       430,85 MiB

:: Proceed with installation? [Y/n] y
(275/275) checking keys in keyring                                                                                                                                                             [#######################################################################################################################] 100%
(275/275) checking package integrity                                                                                                                                                           [#######################################################################################################################] 100%
(275/275) loading package files                                                                                                                                                                [#######################################################################################################################] 100%
(275/275) checking for file conflicts                                                                                                                                                          [#######################################################################################################################] 100%
error: failed to commit transaction (conflicting files)
/usr/lib32/libwayland-egl.so exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1.0.0 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/pkgconfig/wayland-egl.pc exists in both 'lib32-wayland' and 'lib32-mesa'
Errors occurred, no packages were upgraded.

Last edited by InFerYes (2018-05-28 11:25:57)

Offline

#2 2018-05-25 14:19:02

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

https://bugs.archlinux.org/task/58726

libwayland-egl.so was moved to wayland package from mesa, and apparently lib32-mesa haven't been fixed to reflect this change.

Offline

#3 2018-05-25 14:40:34

acgtyrant
Member
From: Hangzhou, China
Registered: 2013-04-09
Posts: 62
Website

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

OMG, I met this bug too.


I use Arch Linux.

Offline

#4 2018-05-25 14:50:48

phw
Member
Registered: 2013-05-27
Posts: 318

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

An updated lib32-mesa is already in testing: https://www.archlinux.org/packages/mult … ib32-mesa/

Offline

#5 2018-05-25 16:06:10

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 386

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

Removing & re-installing steam, steam-native-runtime works for now.


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#6 2018-05-25 16:08:17

X1aomu
Member
Registered: 2018-04-08
Posts: 17

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

I got the same problem when I tried pacman -Syu just now.

Offline

#7 2018-05-25 16:31:41

wilful
Member
Registered: 2015-10-22
Posts: 1

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

pacman -Rsd skype
Help for me.

Offline

#8 2018-05-25 16:55:31

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

c00ter wrote:

Removing & re-installing steam, steam-native-runtime works for now.

How on earth would that work? You'd end up with the same conflicting files issue when re-installing lib32-mesa and lib32-wayland as dependencies for steam, and stream re-installation will fail since it's dependencies aren't met.

Sure you can uninstall whatever package depends on lib32-mesa on your system, if you really don't need it.

If that's not the case, just hold on updates until lib32-mesa is fixed on repos.

Offline

#9 2018-05-25 18:01:57

ice
Member
From: Argentina
Registered: 2015-12-10
Posts: 28
Website

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

that happens to me too here...

error: file owned by 'lib32-mesa' and 'lib32-wayland': 'usr/lib32/libwayland-egl.so'
error: file owned by 'lib32-mesa' and 'lib32-wayland': 'usr/lib32/libwayland-egl.so.1'
error: file owned by 'lib32-mesa' and 'lib32-wayland': 'usr/lib32/libwayland-egl.so.1.0.0'
error: file owned by 'lib32-mesa' and 'lib32-wayland': 'usr/lib32/pkgconfig/wayland-egl.pc'

:'(

Last edited by ice (2018-05-25 18:12:58)


My Blog Archer
Telegram Group Arch Linux in Spanish.
Telegram Group LinuxerOS GNU/Linux in Spanish.

Offline

#10 2018-05-25 18:28:27

Smit
Member
From: Nashik
Registered: 2018-01-02
Posts: 48

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

This works for me

sudo pacman -S lib32-wayland

Offline

#11 2018-05-25 18:59:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

DO NOT USE --force FOR THIS!!!

Offline

#12 2018-05-25 19:02:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

Really the best course of action here is to wait a bit, definitely don't use force this is specifically a case were it would be detrimental

Offline

#13 2018-05-25 19:27:09

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

What about something like

pkgname='lib32-mesa'
pkgver=18.0.4
pkgrel=2
arch=('x86_64')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=('lib32-mesa-18.0.4.1-x86_64.pkg.tar.xz')
noextract=('lib32-mesa-18.0.4.1-x86_64.pkg.tar.xz')
sha512sums=('e1da4188a1d74ef79e7abe1dc6129e74a1b9774dc24e33f22d28f6ed6bf5a3fb9e4ba83333165901405c4172e23d19839410edfd635dcdec6e4a68188b238fe7')
pkgdesc="An open-source implementation of the OpenGL specification (32-bit)"
depends=('lib32-libdrm' 'lib32-libxxf86vm' 'lib32-libxdamage' 'lib32-libxshmfence' 'lib32-lm_sensors'
         'lib32-libelf' 'lib32-llvm-libs' 'lib32-wayland' 'lib32-libglvnd' 'mesa')
optdepends=('opengl-man-pages: for the OpenGL API man pages'
            'lib32-mesa-vdpau: for accelerated video playback')
provides=('lib32-ati-dri' 'lib32-intel-dri' 'lib32-nouveau-dri' 'lib32-mesa-dri' 'lib32-mesa-libgl' 'lib32-opengl-driver')
conflicts=('lib32-ati-dri' 'lib32-intel-dri' 'lib32-nouveau-dri' 'lib32-mesa-dri' 'lib32-mesa-libgl')
replaces=('lib32-ati-dri' 'lib32-intel-dri' 'lib32-nouveau-dri' 'lib32-mesa-dri' 'lib32-mesa-libgl')
  
package() {
  cd ${pkgdir}
  bsdtar -xvf ${srcdir}/lib32-mesa-18.0.4.1-x86_64.pkg.tar.xz
  rm .BUILDINFO .PKGINFO .MTREE usr/lib32/libwayland-egl.so* usr/lib32/pkgconfig/wayland-egl.pc
}

Offline

#14 2018-05-25 20:10:20

b10011
Member
Registered: 2018-05-25
Posts: 1

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

error: failed to commit transaction (conflicting files)
/usr/lib32/libwayland-egl.so exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/libwayland-egl.so.1.0.0 exists in both 'lib32-wayland' and 'lib32-mesa'
/usr/lib32/pkgconfig/wayland-egl.pc exists in both 'lib32-wayland' and 'lib32-mesa'
Errors occurred, no packages were upgraded.

This is what worked for me:

$ mkdir ~/tmp
$ sudo mv /usr/lib32/libwayland-egl.so ~/tmp/
$ sudo mv /usr/lib32/libwayland-egl.so.1 ~/tmp/
$ sudo mv /usr/lib32/libwayland-egl.so.1.0.0 ~/tmp/
$ sudo mv /usr/lib32/pkgconfig/wayland-egl.pc ~/tmp/
$ sudo pacman -S lib32-wayland
$ sudo pacman -Syu

Offline

#15 2018-05-25 20:23:39

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

@b10011 you are aware that you have created a mismatch between the filesystem and the pacman database over those files you manually moved.

Offline

#16 2018-05-25 20:33:39

user57234
Member
Registered: 2017-02-06
Posts: 14

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

Hi there,
I wanted today to run updates sudo pacman -Syu and I had also the following error:

$ sudo pacman -Syu
...
error: failed to commit transaction (conflicting files)
lib32-wayland: /usr/lib32/libwayland-egl.so exists in filesystem
lib32-wayland: /usr/lib32/libwayland-egl.so.1 exists in filesystem
lib32-wayland: /usr/lib32/libwayland-egl.so.1.0.0 exists in filesystem
lib32-wayland: /usr/lib32/pkgconfig/wayland-egl.pc exists in filesystem
Errors occurred, no packages were upgraded.
$
$ sudo pacman -Qo /usr/lib32/libwayland-egl.so
/usr/lib32/libwayland-egl.so is owned by lib32-mesa 18.0.4-1
$ sudo pacman -Qo /usr/lib32/libwayland-egl.so.1
/usr/lib32/libwayland-egl.so.1 is owned by lib32-mesa 18.0.4-1
$ sudo pacman -Qo /usr/lib32/libwayland-egl.so.1.0.0
/usr/lib32/libwayland-egl.so.1.0.0 is owned by lib32-mesa 18.0.4-1
$ sudo pacman -Qo /usr/lib32/pkgconfig/wayland-egl.pc
/usr/lib32/pkgconfig/wayland-egl.pc is owned by lib32-mesa 18.0.4-1
$

The files are owned by lib32-mesa 18.0.4-1 now what?

Offline

#17 2018-05-25 20:38:29

Brinox
Member
Registered: 2015-03-16
Posts: 4

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

Just upgrade via `pacman -Su --ignore lib32-wayland` and wait for `lib32-mesa` to be fixed.

Offline

#18 2018-05-25 20:38:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] error:...(conflicting files) 'lib32-wayland' and 'lib32-mesa'

@b10011: basically you've done the same thing as --force would. i.e. the wrong thing. Landing yourself in the same situation as ice.

The best course of action is to wait, as V1del has said. loq's workaround may work in the interim, if you really "must" update now.

I'm going to close this thread now, since it's just becoming a magnet for bad advice and misguided workarounds.

Again, if you have the problem listed in the OP, wait. A fix will be in the repos soon.

EDIT: Reopening at OP's request

Last edited by WorMzy (2018-05-28 11:21:11)


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.

Online

Board footer

Powered by FluxBB