Your message dated Sat, 10 Jun 2023 00:37:26 +0000
with message-id <e1q7mbe-006ita...@fasolo.debian.org>
and subject line Bug#1035949: fixed in mariadb 1:10.11.4-1
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
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: Sun, 04 Jun 2023 11:22:27 -0700
Source: mariadb
Binary: libmariadb-dev libmariadb-dev-compat libmariadb3 libmariadbd19 
libmariadbd-dev mariadb-common mariadb-client-core mariadb-client 
mariadb-server-core mariadb-server mariadb-server-10.5 mariadb-backup 
mariadb-plugin-connect mariadb-plugin-s3 mariadb-plugin-rocksdb 
mariadb-plugin-oqgraph mariadb-plugin-mroonga mariadb-plugin-spider 
mariadb-plugin-gssapi-server mariadb-plugin-gssapi-client 
mariadb-plugin-cracklib-password-check mariadb-plugin-hashicorp-key-management 
mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 
mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo 
mariadb-plugin-provider-snappy mariadb-test mariadb-test-data
Architecture: source
Version: 1:10.11.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers <pkg-mysql-ma...@lists.alioth.debian.org>
Changed-By: Otto Kekäläinen <o...@debian.org>
Description:
 libmariadb-dev - MariaDB database development files
 libmariadb-dev-compat - MariaDB Connector/C, compatibility symlinks
 libmariadb3 - MariaDB database client library
 libmariadbd-dev - MariaDB embedded database, development files
 libmariadbd19 - MariaDB embedded database, shared library
 mariadb-backup - Backup tool for MariaDB server
 mariadb-client - MariaDB database client binaries
 mariadb-client-core - MariaDB database core client binaries
 mariadb-common - MariaDB common configuration files
 mariadb-plugin-connect - Connect storage engine for MariaDB
 mariadb-plugin-cracklib-password-check - CrackLib Password Validation Plugin 
for MariaDB
 mariadb-plugin-gssapi-client - GSSAPI authentication plugin for MariaDB client
 mariadb-plugin-gssapi-server - GSSAPI authentication plugin for MariaDB server
 mariadb-plugin-hashicorp-key-management - Hashicorp Key Management plugin for 
MariaDB
 mariadb-plugin-mroonga - Mroonga storage engine for MariaDB
 mariadb-plugin-oqgraph - OQGraph storage engine for MariaDB
 mariadb-plugin-provider-bzip2 - BZip2 compression support in the server and 
storage engines
 mariadb-plugin-provider-lz4 - LZ4 compression support in the server and 
storage engines
 mariadb-plugin-provider-lzma - LZMA compression support in the server and 
storage engines
 mariadb-plugin-provider-lzo - LZO compression support in the server and 
storage engines
 mariadb-plugin-provider-snappy - Snappy compression support in the server and 
storage engines
 mariadb-plugin-rocksdb - RocksDB storage engine for MariaDB
 mariadb-plugin-s3 - Amazon S3 archival storage engine for MariaDB
 mariadb-plugin-spider - Spider storage engine for MariaDB
 mariadb-server - MariaDB database server binaries
 mariadb-server-10.5 - MariaDB database server binaries
 mariadb-server-core - MariaDB database core server files
 mariadb-test - MariaDB database regression test suite
 mariadb-test-data - MariaDB database regression test suite - data files
Closes: 1035949
Changes:
 mariadb (1:10.11.4-1) unstable; 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/
 .
   [ Andreas Beckmann ]
   * Introduce transitional mariadb-server-10.5 (Closes: #1035949)
Checksums-Sha1:
 25e5d83153f48e1bc6feff5b115f6a34e5ddc155 5055 mariadb_10.11.4-1.dsc
 44465a10a773614c12bfcdac6d15c9bd1be6766c 93268027 mariadb_10.11.4.orig.tar.gz
 a9b1572904d9ecd76392152b325a2a72299c0b7d 272608 mariadb_10.11.4-1.debian.tar.xz
 8210fbbab2c8abe9cb143f1cebd8a9720ce4ab2a 9556 
mariadb_10.11.4-1_source.buildinfo
Checksums-Sha256:
 35f200677039774c41d92bdab536403db828eed83a14bb1c42721df2c43d3bc6 5055 
mariadb_10.11.4-1.dsc
 f3e38a6bbea5e98176adb8f1b00b08832e01a4b4687f80f3271d1c6e0443f13c 93268027 
mariadb_10.11.4.orig.tar.gz
 43d65c126dac4a237e745ada820c8d39b4794a32995f56f69848112f599a160b 272608 
mariadb_10.11.4-1.debian.tar.xz
 f96e909277eeadfb26e1022a00ac5b310a6b9d593d4b4c827f10f52b3ecbfa44 9556 
mariadb_10.11.4-1_source.buildinfo
Files:
 7cd2aea3a9396470725c9f44fdac14a0 5055 database optional mariadb_10.11.4-1.dsc
 8ed6b4750bd4a1b7b76b09edd6757384 93268027 database optional 
mariadb_10.11.4.orig.tar.gz
 98de8c02e58a2f915f0d50864170ff44 272608 database optional 
mariadb_10.11.4-1.debian.tar.xz
 a7841a1f631ce08b731276ad0e2eb8e2 9556 database optional 
mariadb_10.11.4-1_source.buildinfo

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

iQIzBAEBCgAdFiEEmbRSsR88dMO0U+RvvthEn87o2ogFAmSDwHwACgkQvthEn87o
2ojVeRAAu66LtgIeu/mCwMSDb8KNvrpzMuyQggwZl8/w4SM9/iC2mGXVpBkXLFOr
kAtMIlQpF4QBYYqRWZM0NI39LAkf1JaUCpEgb4t5e/xDqaK7QqYlhik8Ee06WqOL
i1glEC1BjgxfCsqazANCXvljoEpk/i6OsfbuU8Hf9WSWVzPs33TMn+FBBPJGF4YY
4MzI3Pr9ssU9Qu/tGTowIlivyqj5cE7qbOgp2AuT+TdCi9QTVdnWkGs07QBC9gWy
QJktsrRNwLp8/3DsXBA5pLYSfRA65JrKpR7SW+V++a+orJ6+BN/yUY+QswPWDHz4
ndYnH2ewkr0GCDU0P1apvWg0//47BbNG+NjjBbbl8yX+Pyyuu1IcqTVCRDy2hGp5
eqIpcJ6myo7tFuZ+nkS2NrWvnlGjm9vOSLIdsDMUwl0YXbivUpV5zHfl2pQkFSJ0
fZK9MY/LOSnL2AIN+F6Tfsd5BAnanYfbF9ySMmi5RgeU9XilM1i+9ALkclCCEVZf
Jgdu/9hdaYo+12nehzoSUQIHg9YHIFECl7zeXhGbQbFOJ9J72XA07inUOowP9hNq
kE6l94nrAAINwKdR61MUyrZ7z7LcsYZN0UVksGzxShffd1dQqXJ+Pkp7hgh2+Zpm
WIqxTF4yFwG6UX3D/MTagiuFJWNyx63VczdKAaKffkN3h7BZXKg=
=bDL8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to