[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#860970: [debian-mysql] FWD [Re: Bug#860970: release-notes: MariaDB vs MySQL section 2.2.3 needs clarifying on how to perform the upgrade]



You don't have to run apt-get upgrade first. Just running apt install default-mysql-server should do the job.


On 29 April 2017 22:30:40 Paul Gevers <elbrus@debian.org> wrote:

Hi,

As a starter, I have been mixing 'apt-get update' and 'apt-get upgrade'
in my previous e-mails. Of course one always runs 'apt-get update'
before anything, I always meant 'apt(-get) upgrade' where 'update' is
mentioned. The release-notes propose to upgrade in two steps, first with
apt-get upgrade and then apt-get dist-upgrade. @Otto, did you also mean
the two step when you talked about "The upgrade has been
designed to work correctly by simply running 'apt-get update' and
'apt-get dist-upgrade'" or did you really mean upgrading in one step?

On 29-04-17 21:38, Ondřej Surý wrote:
Andreas,

I believe that your observation is in fact correct and the `apt-get
dist-upgrade` path will not upgrade mysql-5.5 to mariadb-10.1 if no
other package depends on default-mysql-server.

I had this conversation with Robbie when default-mysql-server was
introduced, and I argued that it would be much simpler to reuse the
original mysql-server name, but I wasn't able to convince him that
'mysql-server' should install mariadb-server-10.1, and there's a grain
of truth that people might expect to have Oracle's MySQL server
installed when they install 'mysql-server' package, so I stopped
pursuing the matter.

I don't think there's a better way how to approach the issue than in the
release note so deep in the freeze.

Ack.

What we could do (with the blessing of the release team) - is to
introduce the default-mysql-server into the jessie where it would just
simply mimic the existing setup, e.g. default-mysql-server would depend
on mysql-server and default-mysql-client would depend on mysql-client.
People could be then recommended to install default-mysql-server and
default-mysql-client prior to jessie->stretch upgrade, and in turn
having a smooth upgrade experience because mariadb-server-10.1 would
then installed during apt-get dist-upgrade step.

Sounds like a plan. But still, would my proposal for the text in the
release-notes not achieving nearly this without changes required in
jessie? My proposal being: run apt-get upgrade, apt-get install
default-mysql-server, apt-get dist-upgrade. I must admit I haven't
tested this and there may be issues I don't see.

Paul




----------
_______________________________________________
pkg-mysql-maint mailing list
pkg-mysql-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint


Reply to: