![安装mysql时出现问题](https://linux22.com/image/1049485/%E5%AE%89%E8%A3%85mysql%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
sandeep@sandeep-HP-Pavilion-g6-Notebook-PC:~$ apt-get install mysql-server php5-mysql
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
答案1
我通常会打开 Synaptic 包管理器或类似程序。这样可以锁定仅针对 Synaptic 的安装。
看看系统上还运行着什么……