I am running Kubuntu 22.04 and I recently received an error in relation to updating libgl1-mesa-drv via the Discover software center.
The error message is the following:
Package failed to install:
Error while installing package: trying to overwrite '/usr/lib/x86_64-linux-gnu/dri/i915_dri.so', which is also in package libgl1-amber-dri
The system I am running is the following:
Operating System: Kubuntu 22.04
KDE Plasma version: 5.24.6
KDE Frameworks version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-48-generic (64-bit)
Graphics platform: X11
Processor: 8 × Intel Core i5-8250U CPU @ 1.60GHz
Memory: 15.5 GB of RAM
Graphics processor: Mesa Intel UHD Graphics 620
sudo dpkg --dry-run -P libgl1-amber-dri
please, this is only a simulation. 2 Packages are containing the same file/usr/lib/x86_64-linux-gnu/dri/i915_dri.so'
packagepackage libgl1-amber-dri
andlibgl1-mesa-dri
Thats why you have the problem, – nobody Oct 16 '22 at 10:50