Your message dated Sun, 20 Aug 2023 13:47:09 +0000
with message-id <e1qxilp-002mse...@fasolo.debian.org>
and subject line Bug#1035949: fixed in mariadb 1:10.11.4-1~deb12u1
has caused the Debian Bug report #1035949,
regarding mariadb: upgrade issue: mariadb-server-10.5 fails to stop after all 
other -10.5 packages were removed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1035949: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035949
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mariadb
Version: 1:10.11.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + zoph

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'bullseye'.
It installed fine in 'bullseye', then the upgrade to 'bookworm' fails.

This failure is observable while testing the zoph package.
Since timing is unfortunate and upgrading zoph causes db accesses while
the db is temporarily down, I tried to first upgrade
default-mysql-server (as I usually do in this case) by running
  apt-get install default-mysql-server
immediately after switching sources.list to bookworm (and running
apt-get update to refresh the lists.)

>From the attached log (scroll to the bottom...):

  Upgrading early: default-mysql-server
...
  Starting 2 pkgProblemResolver with broken count: 0
  Done
  The following packages were automatically installed and are no longer 
required:
    libaio1 libsnappy1v5
  Use 'sudo apt autoremove' to remove them.
  The following additional packages will be installed:
    gcc-12-base libc-bin libc6 libdaxctl1 libkmod2 libndctl6 libpmem1 libssl3
    libstdc++6 liburing2 libzstd1 mariadb-client mariadb-client-core
    mariadb-common mariadb-server mariadb-server-core
  Suggested packages:
    glibc-doc libc-l10n locales libnss-nis libnss-nisplus mailx mariadb-test
    netcat-openbsd
  Recommended packages:
    manpages libdbd-mariadb-perl | libdbd-mysql-perl libterm-readkey-perl
    libhtml-template-perl mariadb-plugin-provider-bzip2
    mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma
    mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy pv
  The following packages will be REMOVED:
    mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server-10.5
    mariadb-server-core-10.5
  The following NEW packages will be installed:
    gcc-12-base libdaxctl1 libkmod2 libndctl6 libpmem1 libssl3 liburing2
    mariadb-client mariadb-client-core mariadb-server mariadb-server-core
  The following packages will be upgraded:
    default-mysql-server libc-bin libc6 libstdc++6 libzstd1 mariadb-common
  6 upgraded, 11 newly installed, 4 to remove and 189 not upgraded.
  Need to get 21.1 MB of archives.
...
  Preparing to unpack .../libc6_2.36-9_amd64.deb ...
  Unpacking libc6:amd64 (2.36-9) over (2.31-13+deb11u6) ...
  Setting up libc6:amd64 (2.36-9) ...
  Preparing to unpack .../libc-bin_2.36-9_amd64.deb ...
  Unpacking libc-bin (2.36-9) over (2.31-13+deb11u6) ...
  Setting up libc-bin (2.36-9) ...
  Preparing to unpack .../mariadb-common_1%3a10.11.2-1_all.deb ...
  Unpacking mariadb-common (1:10.11.2-1) over (1:10.5.19-0+deb11u2) ...
  Preparing to unpack .../default-mysql-server_1.1.0_all.deb ...
  Unpacking default-mysql-server (1.1.0) over (1.0.7) ...
  dpkg: mariadb-client-10.5: dependency problems, but removing anyway as you 
requested:
   mariadb-server-10.5 depends on mariadb-client-10.5 (>= 1:10.5.19-0+deb11u2).
   dbconfig-mysql depends on default-mysql-client | virtual-mysql-client; 
however:
    Package default-mysql-client is not installed.
    Package virtual-mysql-client is not installed.
    Package mariadb-client-10.5 which provides virtual-mysql-client is to be 
removed.

  Removing mariadb-client-10.5 (1:10.5.19-0+deb11u2) ...
  Removing mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ...
  dpkg: mariadb-server-10.5: dependency problems, but removing anyway as you 
requested:
   zoph depends on default-mysql-server | virtual-mysql-server; however:
    Package default-mysql-server is not configured yet.
    Package virtual-mysql-server is not installed.
    Package mariadb-server-10.5 which provides virtual-mysql-server is to be 
removed.

  Removing mariadb-server-10.5 (1:10.5.19-0+deb11u2) ...
  invoke-rc.d: could not determine current runlevel
  Stopping MariaDB database server: mariadbd [ESC][31mfailed![ESC][39;49m
  invoke-rc.d: initscript mariadb, action "stop" failed.
  dpkg: error processing package mariadb-server-10.5 (--remove):
   installed mariadb-server-10.5 package pre-removal script subprocess returned 
error exit status 1
  dpkg: too many errors, stopping
  Errors were encountered while processing:
   mariadb-server-10.5
  Processing was halted because there were too many errors.
  E: Sub-process /usr/bin/dpkg returned an error code (1)


Here apt choses a suboptimal removal order: mariadb-server-10.5 gets
removed (and therefore stopped, but that fails) only after
mariadb-client-10.5 and mariadb-client-core-10.5 are already gone.

I have tried the early upgrade scenario only with one other package that
needs it (icinga2-ido-mysql), and there it worked flawless.
Some bits from the log:

...
  Preparing to unpack .../mariadb-common_1%3a10.11.2-1_all.deb ...
  Unpacking mariadb-common (1:10.11.2-1) over (1:10.5.19-0+deb11u2) ...
  Preparing to unpack .../default-mysql-server_1.1.0_all.deb ...
  Unpacking default-mysql-server (1.1.0) over (1.0.7) ...
  Removing mariadb-server-10.5 (1:10.5.19-0+deb11u2) ...
  invoke-rc.d: could not determine current runlevel
  Stopping MariaDB database server: mariadbd.
  Removing mariadb-client-10.5 (1:10.5.19-0+deb11u2) ...
  Removing mariadb-client-core-10.5 (1:10.5.19-0+deb11u2) ...
  Removing mariadb-server-core-10.5 (1:10.5.19-0+deb11u2) ...
...


Do you have a test in you CI that does something equivalent to

* apt-get install default-mysql-server
* sed s/bullseye/bookworm/ sources.list
* apt-get install default-mysql-server # early upgrade
* apt-get dist-upgrade


cheers,

Andreas

Attachment: zoph_1.0.1-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: mariadb
Source-Version: 1:10.11.4-1~deb12u1
Done: Otto Kekäläinen <o...@debian.org>

We believe that the bug you reported is fixed in the latest version of
mariadb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1035...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otto Kekäläinen <o...@debian.org> (supplier of updated mariadb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 02 Aug 2023 20:08:31 -0700
Source: mariadb
Architecture: source
Version: 1:10.11.4-1~deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>
Changed-By: Otto Kekäläinen <o...@debian.org>
Closes: 1035949
Changes:
 mariadb (1:10.11.4-1~deb12u1) bookworm; urgency=medium
 .
   [ Otto Kekäläinen ]
   * New upstream version 10.11.4. Includes fixes for several severe 
regressions,
     see details at https://mariadb.com/kb/en/mariadb-10-11-4-release-notes/
   * Duplicate selected Lintian overrides in old Lintian syntax for NEW queue
     (this might strictly not be needed for bookworm but does not hurt either)
   * Extend the transitional package metadata referenced below
   * Bump revision to 'u2' to satisfy Debian FTP queue requirements
 .
   [ Andreas Beckmann ]
   * Introduce transitional mariadb-server-10.5 (Closes: #1035949)
Checksums-Sha1:
 0684f5e40b42a06e6070024279cb92304391c28b 5086 mariadb_10.11.4-1~deb12u1.dsc
 44465a10a773614c12bfcdac6d15c9bd1be6766c 93268027 mariadb_10.11.4.orig.tar.gz
 aa3b4a235905b85eec932f5f30682b362475bc78 273088 
mariadb_10.11.4-1~deb12u1.debian.tar.xz
 09cd1b4da426244ee80e13335129f04bb3b64e80 7670 
mariadb_10.11.4-1~deb12u1_source.buildinfo
Checksums-Sha256:
 ccf2788e10da2085603f95445228ef6dc9587c3ca69ee5eddf7a7f5dca1b9740 5086 
mariadb_10.11.4-1~deb12u1.dsc
 f3e38a6bbea5e98176adb8f1b00b08832e01a4b4687f80f3271d1c6e0443f13c 93268027 
mariadb_10.11.4.orig.tar.gz
 1e47328a20ce786dbfa7f8f8206e9b6ed2752c7bcbc2d8036fe17545709656b0 273088 
mariadb_10.11.4-1~deb12u1.debian.tar.xz
 5817b5a8cf98744fd8a32f2fd66cb2f10e2067c170ee0fb7ede25a68ca8a7bf0 7670 
mariadb_10.11.4-1~deb12u1_source.buildinfo
Files:
 d4757f1fae752c5e72410f18263b920e 5086 database optional 
mariadb_10.11.4-1~deb12u1.dsc
 8ed6b4750bd4a1b7b76b09edd6757384 93268027 database optional 
mariadb_10.11.4.orig.tar.gz
 61f351895af7c14600d88d937482ce2a 273088 database optional 
mariadb_10.11.4-1~deb12u1.debian.tar.xz
 d45d222e6192c351141a9e442712e0e6 7670 database optional 
mariadb_10.11.4-1~deb12u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmTgZ2oACgkQvthEn87o
2ohxDw/+OvhVVM1Yx0GwMNSocqa3FLPwr6p37VVrmIhLqpfpzNrmV3grVZgYGxfH
fte5yKGS1gdQsPSITnsZajR/bgV+6XmexeKGKPQsxitKij1Bp9cLrK9q81RmWpLM
5otk6UKM1y6XU2tYvJCfdm9QT6zW+HhDvtBnGYwECg6OL1TQHAKWHTJRlo0c3cof
cCgmcRwM7hhbrmC0+r2qPus/GcmCtWeaYYibrauUZ90shvO9urHapEoWsr0u7gr+
zg1C366JGMOPIMdv5nUKTdbD9qSzmapS4skzY6hc/XcZ1z+p+anb4OmRamXbjLZL
v4WpcZ69H5+chLug714hXd1oG1C/Xw7PY6TdRdZP5lyUG+AK2sfJ+/BPof0pkFsU
98Tju/SHFwnjxNORxkuQ/b40dO9XPSKk6kfXEcZfQyJW4lMryeRM4DkRWtcWOdvj
JEW9LxmDOGg2Sm6uj92nlyEoSuWrj0FoVgxQ0N94IQGQsTPx18rXF30q/SKnZMlP
U1obkLMupLw+h5/wcpCf08smuZXDqR7VqrcdsqGJUL4Yo0PxLamlVNyT6GHz9IlZ
EiHCmW2/J4s1STON5iUZ4+Ln2eGxbxAuBNeWx71s1A/u91f/ZWqo9fgrKh4vDasc
HWoejbu+VLYFblDwgnOG7RG+YKvI8I68B48qH4sfkb65Wug3e4s=
=wGCv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to