我无意中搞砸了整个 Ubuntu 安装的权限。在尝试修复无法访问文件夹的问题时,我将所有目录都设置为 root 所有。我意识到我可能必须进行完全全新安装,但我无法从 Mariadb SQL 数据库中恢复数据。
当尝试重新安装服务 mariadb-server 时,我收到错误:
/usr/sbin/mysqld: symbol lookup error: /usr/sbin/mysqld: undefined symbol: pcre_stack_guard
/usr/sbin/mysqld: symbol lookup error: /usr/sbin/mysqld: undefined symbol: pcre_stack_guard
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing package mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (>= 10.0.26-2); however: Package mariadb-server-10.0 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
我几乎可以肯定这与我的权限问题有关。我该如何修复这个问题和/或恢复我的 InnoDB 数据库的最佳方法是什么?
任何帮助深表感谢
如果有帮助的话,这里是控制台输出:http://pastebin.com/yS5NeMXr