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. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to wayland in Ubuntu. https://bugs.launchpad.net/bugs/1781440 Title: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/wayland/+bug/1781440/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp