package mariadb-common 1:10.6.7-2ubuntu1 failed to install/upgrade: installed mariadb-common package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mariadb-10.6 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The following packages were automatically installed and are no longer required:
libconfig-
libmysqlclient21 libterm-
mariadb-common mysql-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mariadb-
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up mariadb-common (1:10.6.7-2ubuntu1) ...
update-
dpkg: error processing package mariadb-common (--configure):
installed mariadb-common package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of mariadb-
mariadb-
ver:
Package mariadb-common is not configured yet.
dpkg: error processing package mariadb-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libmariadb3:amd64:
libmariadb3:amd64 depends on mariadb-common; however:
Package mariadb-common is not configured yet.
dpkg: error processing package libmariadb3:amd64 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup erro
r from a previous failure.
icates its a followup error from a previous failure.
e processing:
mariadb-common
mariadb-
libmariadb3:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mariadb-common 1:10.6.7-2ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 27 14:02:51 2022
Dependencies: mysql-common 5.8+1.0.8
ErrorMessage: installed mariadb-common package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2022-04-22 (4 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitec
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2
apt 2.4.5
SourcePackage: mariadb-10.6
Title: package mariadb-common 1:10.6.7-2ubuntu1 failed to install/upgrade: installed mariadb-common package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
Hi Russel,
thanks for your report and your help making Ubuntu better.
Without more information, I can not try to reproduce this.
At least I need to understand the context:
- which version of ubuntu are you upgrading?
- which version of mariadb are you upgrading?
Regards.