Good day, I'm on a Toshiba Satellite i7 running Linux dual booting with Win10.
Code:
root@scallion:~# id; uname -a; lsb_release -a
uid=0(root) gid=0(root) groups=0(root)
Linux scallion 4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: kali-rolling
Codename: kali-rolling
Repositories I'm using are:
Code:
root@scallion:~# cat /etc/apt/sources.list#deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
#deb-src http://http.kali.org/kali kali-rolling main contrib non-free
#
#deb http://old.kali.org/kali sana main non-free contrib
# For source package access, uncomment the following line
#deb-src http://old.kali.org/kali sana main non-free contrib
deb http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
deb-src http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
My issue is with trying to perform a standard "apt-get upgrade" which generates a bunch of error msgs after trying to install/setup "mariadb-server-10.1". The errors are related to "dpkg"
The errors look like this:
Code:
root@scallion:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mariadb-server-10.1 (10.1.23-8) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of default-mysql-server:
default-mysql-server depends on mariadb-server-10.1; however:
Package mariadb-server-10.1 is not configured yet.
dpkg: error processing package default-mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on default-mysql-server; however:
Package default-mysql-server is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kali-linux:
kali-linux depends on default-mysql-server; however:
Package default-mysql-server is not configured yet.
dpkg: error processing package kali-linux (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.1 (>= 10.1.23-8); however:
Package mariadb-server-10.1 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mariadb-server-10.1
default-mysql-server
mysql-server
kali-linux
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
As can be seen, I've tried to fix any broken installs. I've also tried to fix anything that seems wrong with mariadb-server:
Code:
root@scallion:~# apt search mariadb-server-10.1
Sorting... Done
Full Text Search... Done
mariadb-server-10.1/now 10.1.23-8 amd64 [installed,local]
MariaDB database server binaries
root@scallion:~# dpkg --configure -a
Setting up mariadb-server-10.1 (10.1.23-8) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of default-mysql-server:
default-mysql-server depends on mariadb-server-10.1; however:
Package mariadb-server-10.1 is not configured yet.
dpkg: error processing package default-mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on default-mysql-server; however:
Package default-mysql-server is not configured yet.
.
.
.
Errors were encountered while processing:
mariadb-server-10.1
default-mysql-server
mysql-server
kali-linux
mariadb-server
Same set of errors.
Tried a different method:
Code:
root@scallion:~# apt-get install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mariadb-server is already the newest version (10.1.23-8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 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-server-10.1 (10.1.23-8) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of default-mysql-server:
default-mysql-server depends on mariadb-server-10.1; however:
Package mariadb-server-10.1 is not configured yet.
I also tried to clean up any lingering packages:
Code:
root@scallion:/etc# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@scallion:/etc# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up mariadb-server-10.1 (10.1.23-8) ...
dpkg: error processing package mariadb-server-10.1 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of default-mysql-server:
default-mysql-server depends on mariadb-server-10.1; however:
Package mariadb-server-10.1 is not configured yet.