[MDEV-18337] Upgrade to 10.4 fails on some Ubuntu's due to dialog.so conflict Created: 2019-01-22  Updated: 2019-01-24  Resolved: 2019-01-24

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian
Affects Version/s: 10.4
Fix Version/s: 10.4.2

Type: Bug Priority: Critical
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

http://buildbot.askmonty.org/buildbot/builders/kvm-deb-bionic-amd64/builds/1364/steps/upgrade2/logs/stdio

Unpacking libmariadb3:amd64 (1:10.4.2+maria~bionic) ...
dpkg: error processing archive /tmp/apt-dpkg-install-P4wV3z/1-libmariadb3_10.4.2+maria~bionic_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package libmariadbclient18 1:10.1.34+maria-1~bionic
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../2-libmariadbclient18_10.4.2+maria~bionic_amd64.deb ...
...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-P4wV3z/1-libmariadb3_10.4.2+maria~bionic_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



 Comments   
Comment by Georg Richter [ 2019-01-23 ]

Not sure why this is assigned to me?!

According to the log libmariadbclient18 1:10.1.34+maria-1~bionic is installed, which is the package for Connector/C.
When trying to upgrade to 10.4 - the 10.4 package tries to overwrite the files from previously installed libmariadbclient18 package and fails.

Did you try to uninstall libmariadbclient18 first?

Generated at Thu Feb 08 08:43:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.