[debian-mysql] Bug#990156: mariadb-server-10.3: Service configuration fails package upgrade

Chris Jackson chriscf at gmail.com
Mon Jun 21 18:53:35 BST 2021


Package: mariadb-server-10.3
Version: 1:10.3.27-0+deb10u1
Severity: important

When upgrading mariadb, the installation fails if the service is not
running or disabled:

> Preparing to unpack .../mariadb-server-10.3_1%3a10.3.29-0+deb10u1_armhf.deb ...
> Failed to stop mariadb.service: Unit mariadb.service not loaded.
> dpkg: warning: old mariadb-server-10.3 package pre-removal script subprocess returned error exit status 5
> dpkg: trying script from the new package instead ...
> Failed to stop mariadb.service: Unit mariadb.service not loaded.
> dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.3_1%3a10.3.29-0+deb10u1_armhf.deb (--unpack):
> new mariadb-server-10.3 package pre-removal script subprocess returned error exit status 5

Being unable to stop or start the service should not block an upgrade.

-- System Information:
Debian Release: 10.10
  APT prefers stable
  APT policy: (990, 'stable'), (600, 'testing'), (500, 'testing-security'), (500, 'stable-updates')
Architecture: armhf (armv7l)

Kernel: Linux 5.10.0-7-armmp (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server-10.3 depends on:
ii  adduser                   3.118
ii  debconf [debconf-2.0]     1.5.71
ii  galera-3                  25.3.25-2
ii  gawk                      1:4.2.1+dfsg-1
ii  iproute2                  4.20.0-2+deb10u1
ii  libc6                     2.31-12
ii  libdbi-perl               1.642-1+deb10u2
ii  libgnutls30               3.7.1-3
ii  libpam0g                  1.3.1-5
ii  libstdc++6                10.2.1-6
ii  lsb-base                  10.2019051400
ii  lsof                      4.91+dfsg-1
ii  mariadb-client-10.3       1:10.3.29-0+deb10u1
ii  mariadb-common            1:10.3.29-0+deb10u1
ii  mariadb-server-core-10.3  1:10.3.29-0+deb10u1
ii  passwd                    1:4.5-1.1
ii  perl                      5.28.1-6+deb10u1
ii  psmisc                    23.2-1
ii  rsync                     3.1.3-6
ii  socat                     1.7.3.2-2
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages mariadb-server-10.3 recommends:
ii  libhtml-template-perl  2.97-1

Versions of packages mariadb-server-10.3 suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20180807cvs-1
pn  mariadb-test       <none>
ii  netcat-openbsd     1.195-2
pn  tinyca             <none>

-- debconf information excluded



More information about the pkg-mysql-maint mailing list