ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
## 安装包 ###### 1、安装MySQL遇到的问题 ``` $ sudo apt-get -f install [sudo] password for tinywan: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. ``` ###### 解决办法 ``` $ sudo dpkg --remove --force-remove-reinstreq mysql-community-test dpkg: warning: overriding problem because --force enabled: dpkg: warning: package is in a very bad inconsistent state; you should reinstall it before attempting a removal (Reading database ... 56435 files and directories currently installed.) Removing mysql-community-test (8.0.12-1ubuntu18.04) ... ``` [How to fix “Package is in a very bad inconsistent state” error?](https://askubuntu.com/questions/148715/how-to-fix-package-is-in-a-very-bad-inconsistent-state-error) ###### 2、Ubuntu 安装PHP找不着BZip2 ``` checking for BZip2 in default path... not found configure: error: Please reinstall the BZip2 distribution ``` ###### 解决办法