Cannot update to PHP 8.3.21 with Custombuild

Shoplifter

Verified User
Joined
Sep 15, 2024
Messages
8
Running Debian 11.11 I get the following error:

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 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
Errors were encountered while processing:
mariadb-common
libmariadb3:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing packages 'g++ make autoconf pkg-config libssl-dev libsystemd-dev libkrb5-dev libcurl4-openssl-dev libpng-dev libfreetype6-dev libwebp-dev libjpeg-dev libxslt-dev libsodium-dev libicu-dev libsqlite3-dev libonig-dev libffi-dev libltdl-dev libzip-dev' using apt-get attempt 3/3 failed

Anyone? I can't see the forest for the trees.
 
For the sake of the record, it seems Debian was able to install some Mariadb packages on its own that were causing problems with Custombuild

apt purge mariadb-server
apt purge mariadb-common

Fixed it.
 
I encountered a similar issue too when using Debian once and installing mtop or something like that. Then mariadb-common was installed as dependencie and problems started to happen.

In RHEL releases this is not possible as DA sets the package manager to not allow installation of any mariadb* packages (and some others). For some reason such option was never used in Debian and deratives, with as a result sometimes these odd issues.
 
Back
Top