Conflict on Ubuntu 10.04 when upgrading MySQL->MariaDB

Bug #578656 reported by Kristian Nielsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
High
Kristian Nielsen
OurDelta
New
Undecided
Unassigned

Bug Description

This turned up after Buildbot was upgraded to the official Ubuntu "lucid" 10.04 release.

Looks like the official MySQL packages in 10.04 has some stuff split out into a new package "mysql-client-core-5.1" that we need to handle dependencies on (conflicts/replaces/provides/whatever?)

https://buildbot.askmonty.org/buildbot/builders/kvm-deb-lucid-amd64/builds/161

+ sudo sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install --allow-unauthenticated -y mariadb-server'
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  mysql-client-core-5.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libmariadbclient16 libmysqlclient16 mariadb-client-5.1 mariadb-server-5.1
  mariadb-server-core-5.1 mysql-common
Suggested packages:
  tinyca mailx mariadb-test
The following packages will be REMOVED:
  mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1
The following NEW packages will be installed:
  libmariadbclient16 mariadb-client-5.1 mariadb-server mariadb-server-5.1
  mariadb-server-core-5.1
The following packages will be upgraded:
  libmysqlclient16 mysql-common
2 upgraded, 5 newly installed, 3 to remove and 250 not upgraded.
Need to get 0B/18,0MB of archives.
After this operation, 13,6MB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  mysql-common libmysqlclient16 libmariadbclient16 mariadb-client-5.1
  mariadb-server-core-5.1 mariadb-server-5.1 mariadb-server
Preconfiguring packages ...
Authentication warning overridden.
(Reading database ... 41407 files and directories currently installed.)
Removing mysql-server-5.1 ...
mysql stop/waiting
Removing mysql-client-5.1 ...
Removing mysql-server-core-5.1 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
(Reading database ... 41198 files and directories currently installed.)
Preparing to replace mysql-common 5.1.41-3ubuntu12 (using .../mysql-common_5.1.44a-mariadb78_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient16 5.1.41-3ubuntu12 (using .../libmysqlclient16_5.1.44a-mariadb78_amd64.deb) ...
Unpacking replacement libmysqlclient16 ...
Selecting previously deselected package libmariadbclient16.
Unpacking libmariadbclient16 (from .../libmariadbclient16_5.1.44a-mariadb78_amd64.deb) ...
Selecting previously deselected package mariadb-client-5.1.
Unpacking mariadb-client-5.1 (from .../mariadb-client-5.1_5.1.44a-mariadb78_amd64.deb) ...
dpkg: error processing /home/buildbot/buildbot/debs/binary/mariadb-client-5.1_5.1.44a-mariadb78_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/mysqlcheck.1.gz', which is also in package mysql-client-core-5.1 0:5.1.41-3ubuntu12
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package mariadb-server-core-5.1.
Unpacking mariadb-server-core-5.1 (from .../mariadb-server-core-5.1_5.1.44a-mariadb78_amd64.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /home/buildbot/buildbot/debs/binary/mariadb-client-5.1_5.1.44a-mariadb78_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Command exit 100

Changed in maria:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Kristian Nielsen (knielsen)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.