[debian-mysql] Bug#852267: Bug#852267: upgrading mariadb-server-10.0 to mariadb-server-10.1 removed it instead of upgrading
Jean-Marc
jean-marc at 6jf.be
Mon Jan 23 17:09:22 UTC 2017
Mon, 23 Jan 2017 13:53:26 +0200
Otto Kekäläinen <otto at debian.org> écrivait :
> Can you provide me steps on how to reproduce this? What packages
> exactly did you have installed before the upgrade (mariadb-*,
> default-mysql-server, something that depends on mariadb-* or mysql-*)?
This is the log of the dist-upgrade I did on 21/01:
Start-Date: 2017-01-21 13:09:35
Commandline: apt dist-upgrade
Requested-By: jim (1000)
Install: mariadb-client-10.1:amd64 (10.1.20-3, automatic), mariadb-client-core-10.1:amd64 (10.1.20-3, automatic)
Upgrade: hunspell-en-us:amd64 (20070829-6, 20070829-7), icedove:amd64 (1:45.4.0-1, 1:45.6.0-2), libgles2-mesa:amd64 (13.0.2-3, 13.0.3-1), libgles1-mesa:amd64 (13.0.2-3, 13.0.3-1), libv8-3.14.5:amd64 (3.14.5.8-8.1, 3.14.5.8-11), libglapi-mesa:amd64 (13.0.2-3, 13.0.3-1), libbz2-1.0:amd64 (1.0.6-8, 1.0.6-8+b1), liferea:amd64 (1.12~rc2-1, 1.12~rc2-2), nano:amd64 (2.7.3-1, 2.7.4-1), libxatracker2:amd64 (13.0.2-3, 13.0.3-1), libegl1-mesa:amd64 (13.0.2-3, 13.0.3-1), libflickcurl0:amd64 (1.25-3, 1.26-1), libgbm1:amd64 (13.0.2-3, 13.0.3-1), default-mysql-client:amd64 (1.0.1, 1.0.2), icedove-l10n-fr:amd64 (1:45.4.0-1, 1:45.6.0-2), liferea-data:amd64 (1.12~rc2-1, 1.12~rc2-2), libwayland-egl1-mesa:amd64 (13.0.2-3, 13.0.3-1), mysql-common:amd64 (5.8+1.0.1, 5.8+1.0.2), libgl1-mesa-dri:amd64 (13.0.2-3, 13.0.3-1), bzip2:amd64 (1.0.6-8, 1.0.6-8+b1), testdisk:amd64 (7.0-1+b1, 7.0-3), libgl1-mesa-glx:amd64 (13.0.2-3, 13.0.3-1), mesa-vdpau-drivers:amd64 (13.0.2-3, 13.0.3-1), calendar-google-provider:amd64 (1:45.4.0-1, 1:45.6.0-2), iceowl-extension:amd64 (1:45.4.0-1, 1:45.6.0-2)
Remove: mariadb-server-10.0:amd64 (10.0.28-2), default-mysql-server:amd64 (1.0.1), mariadb-client-10.0:amd64 (10.0.28-2), mariadb-client-core-10.0:amd64 (10.0.28-2)
End-Date: 2017-01-21 13:10:41
As you can see, it upgraded default-mysql-client:amd64 (1.0.1, 1.0.2) and removed default-mysql-server:amd64 (1.0.1).
I do not know if it helps but I added my system policy at the end of this mail.
As far as I remember, I installed a mysql client but never a server.
I think the server came when I installed dolibarr.
But it was 2 years ago, when Jessie was the testing.
And I checked dolibarr but default-mysql-server is only "Recommends", not "Depends".
Just like the apache2 package.
It looks strange to me an app based on a LAMP stack just recommends its components.
I do not know what you think.
I think the removal comes from the lake of dependency between dolibarr and default-mysql-server or similar.
I checked all the mysql server's packages' reverse dependencies and I have nothing installed depending on them.
>
>
> When I tested dist-upgrade today, it does not even install
> mariadb-server automatically (due to the removes of old packages) and
> I needed to apt install it manually. When done so, everything removed
> and upgraded as expected.
I'll try to simulate it by installing dolibarr on a Debian Jessie and upgrading it to testing.
I'll keep you posted.
Regards,
Jean-Marc <jean-marc at 6jf.be>
=+=+=+=+=+=+=
$ env LANG=C apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
1 http://ftp.be.debian.org/debian experimental/main amd64 Packages
release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=amd64
origin ftp.be.debian.org
100 http://ftp.be.debian.org/debian unstable/non-free amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=amd64
origin ftp.be.debian.org
100 http://ftp.be.debian.org/debian unstable/contrib amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=amd64
origin ftp.be.debian.org
100 http://ftp.be.debian.org/debian unstable/main amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
origin ftp.be.debian.org
500 http://ftp.be.debian.org/debian testing/non-free amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=non-free,b=amd64
origin ftp.be.debian.org
500 http://ftp.be.debian.org/debian testing/contrib amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=contrib,b=amd64
origin ftp.be.debian.org
500 http://ftp.be.debian.org/debian testing/main amd64 Packages
release o=Debian,a=testing,n=stretch,l=Debian,c=main,b=amd64
origin ftp.be.debian.org
Pinned packages:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20170123/80e786ff/attachment.sig>
More information about the pkg-mysql-maint
mailing list