首先我想说的是,我确信这是一个众所周知的错误,并且我做了很多搜索来修复它。但都没有奏效。当我输入时sudo apt-get install mysql-server
,我收到此错误:
Exception: cannot get content of ubuntu-drivers-common
error running python rtupdate hook ubuntu-drivers-common
dpkg: error processing package python3 (--configure):
subprocess installed post-installation script returned error exit status 4
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package apparmor (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server-5.7:
mysql-server-5.7 depends on apparmor (>= 2.10); however:
Package apparmor is not configured yet.
dpkg: error processing package mysql-server-5.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dh-python:
dh-python depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing package dh-python (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
python3
apparmor
mysql-server-5.7
mysql-server
dh-python
E: Sub-process /usr/bin/dpkg returned an error code (1)
我该如何解决这个问题?非常感谢,