我是 Linux 新手,刚刚安装了一个软件包名称openimscore-fhoss
,在安装过程中,他们要求我输入 SQL 数据库的密码,但我输入密码时出错,导致安装中断。我收到错误:
SQL Data
Starting MySQL...
* Starting MySQL database server mysqld [ OK ]
-->Some data will be inserted in MySQL database.hss database configuration
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
dpkg: error processing package openimscore-fhoss (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openimscore-fhoss
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试使用重新配置安装sudo dpkg-reconfigure openimscore-fhoss
但显示错误:
/usr/sbin/dpkg-reconfigure: openimscore-fhoss is broken or not fully installed
我还尝试删除/卸载该包,然后重新安装,但仍然出现与 SQL 相关的错误。我该如何解决这个问题?
答案1
尝试做一个sudo apt-get install -f