package libwayland-dev 1.15.0-2 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/wayland-egl.pc', which is also in package libegl1-mesa-dev:amd64 18.0.5-0ubuntu0~18.04.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wayland (Ubuntu) |
Fix Released
|
Undecided
|
Timo Aaltonen | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[impact]
upgrade from bionic fails if libwayland-dev & libegl1-mesa-dev was installed
[test case]
install libwayland-dev & libegl1-mesa-dev on bionic, upgrade to cosmic
[regression potential]
none, the fix only changes the version numbers in Breaks/Replaces
--
Occured when upgrading from Bionic to Cosmic.
ProblemType: Package
DistroRelease: Ubuntu 18.10
Package: libwayland-dev 1.15.0-2
ProcVersionSign
Uname: Linux 4.15.0-24-generic x86_64
ApportVersion: 2.20.10-0ubuntu5
Architecture: amd64
CompositorRunning: None
Date: Thu Jul 12 18:41:26 2018
DistUpgraded: Fresh install
DistroCodename: cosmic
DistroVariant: ubuntu
ErrorMessage: trying to overwrite '/usr/lib/
GraphicsCard:
Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo HD Graphics 620 [17aa:224e]
InstallationDate: Installed on 2018-02-07 (155 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180207)
MachineType: LENOVO 20JDCTO1WW
ProcKernelCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15, python-minimal, 2.7.15-3
RelatedPackageV
dpkg 1.19.0.5ubuntu3
apt 1.7.0~alpha2
SourcePackage: wayland
Title: package libwayland-dev 1.15.0-2 failed to install/upgrade: trying to overwrite '/usr/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/26/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N1NET33W (1.20 )
dmi.board.
dmi.board.name: 20JDCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Yoga 2nd
dmi.product.name: 20JDCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.92-1
version.
version.
version.
version.
version.
version.
version.
description: | updated |
I upgraded from Bionic to Cosmic by editing /etc/apt/ sources. list replacing all occurences of bionic by cosmic and then running
sudo apt update
sudo apt dist-upgrade
After some time the error occured and I cleaned up with
sudo apt install -f
and completed the upgrade with another
sudo apt dist-upgrade
which this time completed without errors.
In the end I did
sudo apt autoremove
to finish up.
So the error occured only once and after cleaning up I could complete the upgrade.