[MDEV-8667] Upgrade from 10.0 to 10.1 on Vivid does not work with normal source list Created: 2015-08-23  Updated: 2015-12-22  Resolved: 2015-12-22

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian, Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.10

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

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled
is blocked by MDEV-6284 Merge downstream Debian/Ubuntu packag... Closed
Sprint: 10.1.10

 Description   

It's MDEV-5977 all over again, only the next generation of it – new Ubuntu, new MariaDB.

If MariaDB 10.0 is installed, even from MariaDB's own packages, and either vivid-security universe or vivid-updates universe are in the sources.list (which has both normally), installation of 10.1 mariadb-server fails in the same way as it did in MDEV-5977:

  • mariadb-server fails to install pointing at mariadb-server-10.1;
  • mariadb-server-10.1 fails to install pointing at mariadb-server-core-10.1;
  • mariadb-server-core-10.1, if requested explicitly, installs all right and pulls other packages.

That's the reason of Buildbot's upgrade2 failures on Vivid:
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-vivid-amd64/builds/201/steps/test_2/logs/stdio

So, there are two workarounds for the problem:

  • disable vivid-security universe and vivid-updates universe to upgrade MariaDB;
  • specify mariadb-server-core-10.1 on apt-get install command line.

None of these is good enough when 10.1 goes GA.



 Comments   
Comment by Elena Stepanova [ 2015-08-23 ]

It's possible there is also the 3rd workaround, having 10.0 repo in the source list along with 10.1 (I believe on whatever reason it worked in my experiments), but it will need to be confirmed if we don't have a real solution for the problem. I still hope that we will.

Comment by Otto Kekäläinen [ 2015-09-04 ]

For the record, I solved these issues a few days ago in my repo https://github.com/ottok/mariadb/tree/ok-debpkg-10.1 but I cannot open a pull request as the buildbot column is not all green yet. due to test failures that most likely are inherited from failing master 10.1 branch, though I am not sure.

Comment by Sergei Golubchik [ 2015-12-18 ]

Hmm, couldn't repeat this manually in a vivid upgrade2 VM.

Comment by Otto Kekäläinen [ 2015-12-18 ]

I believe this was fixed in https://github.com/MariaDB/server/pull/97 and backported to 10.0 too in https://github.com/MariaDB/server/pull/124

Generated at Thu Feb 08 07:28:52 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.