Unable to locate package mariadb-srver
时间: 2023-09-09 10:13:52 浏览: 171
locate-safari:在您的系统上查找 Safari
引用\[1\]:错误描述: error processing package mariadb-server-10.1 (--configure): installed mariadb-server-10.1 package post-installation script subprocess returned error exit status 2 dpkg: dependency problems prevent configuration of mariadb-server: mariadb-server depends on mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1); however: Package mariadb-server-10.1 is not configured yet. dpkg: error processing package mariadb-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for libc-bin (2.27-3ubuntu1.4) 。
引用\[2\]:错误描述: mariadb.service: Main process exited, co Dec 21 05:28:59 controller systemd\[1\]: mariadb.service: Failed with result 'exi Dec 21 05:28:59 controller systemd\[1\]: Failed to start MariaDB 10.1.47 database lines 1-17/17 (END) 。
引用\[3\]:错误描述:Ubantu启动mysql报错, ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") 。
问题:Unable to locate package mariadb-srver
回答: 根据您提供的错误描述,问题出在无法找到mariadb-server包。这可能是由于软件源配置不正确或者包名称拼写错误导致的。请确保您的软件源配置正确,并检查包名称是否正确拼写为mariadb-server而不是mariadb-srver。如果问题仍然存在,请尝试更新软件源并重新安装mariadb-server包。
#### 引用[.reference_title]
- *1* *2* *3* [云计算平台OpenStack安装常见问题](https://blog.csdn.net/EngineerofAI/article/details/117736646)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文