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

Ondřej Surý ondrej at sury.org
Thu May 25 07:29:40 UTC 2017


With introduction of src:mysql-transitional (providing dummy
mysql-server and mysql-client packages), the update to section 2.2.3 is
not needed anymore, as the mysql-server 5.5.9999+default will pull
default-mysql-server forcing the upgrade even in the case when nothing
depends on mysql-server.

Cheers,
Ondřej
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Sat, Apr 29, 2017, at 23:44, Ondřej Surý wrote:
> 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 at 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 at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint
> 
> 
> 
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint



More information about the pkg-mysql-maint mailing list