Richard G
Verified User
Oke so got a DA notice that system packages update were available, doing update again likt apt-get update and apt dist-upgrade.
Then this happened:
What is apt doing with mariadb-common?? I thought mariadb should be handled by Custombuild.
This is the same VPS I earlier had some very strange issues with MariaDB which suddenly dissapeared after the 3 rd reinstall of mariadb.
Now I'm starting to get suspicious that mariadb is not excluded from the package manager as good as this is done with yum. Now causing this error again.
Debian should not even try to setup mariadb-common in the first place.
So how can I fix this?
@fln?
Then this happened:
Code:
[root@srv100: ~]# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
linux-image-5.10.0-24-amd64
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 318 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 55587 files and directories currently installed.)
Removing linux-image-5.10.0-24-amd64 (5.10.179-5) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.10.0-24-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-26-amd64
Found initrd image: /boot/initrd.img-5.10.0-26-amd64
Found linux image: /boot/vmlinuz-5.10.0-25-amd64
Found initrd image: /boot/initrd.img-5.10.0-25-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
done
Setting up mariadb-common (1:10.5.21-0+deb11u1) ...
update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist
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)]
What is apt doing with mariadb-common?? I thought mariadb should be handled by Custombuild.
This is the same VPS I earlier had some very strange issues with MariaDB which suddenly dissapeared after the 3 rd reinstall of mariadb.
Now I'm starting to get suspicious that mariadb is not excluded from the package manager as good as this is done with yum. Now causing this error again.
Debian should not even try to setup mariadb-common in the first place.
So how can I fix this?
@fln?