数字海洋 - 18.04 Ubuntu 服务器设置错误
Digital Ocean - 18.04 Ubuntu Server Setup ERROR
我参与了 运行
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl
它让我说是或否
当服务器将我踢出时,我让终端保持打开状态。
但是当我重新登录时,它不允许我运行使用相同的代码来完成所有安装,并出现以下错误消息:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
要了解活动进程(1.process 名称 2. 进程 ID),我必须 运行:
ps aux | grep -i apt
比删除进程
sudo kill -9 THAT_SPECIFIC_PROCESS_ID_COMES_HERE
比重新运行安装代码
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl
我参与了 运行
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl
它让我说是或否
当服务器将我踢出时,我让终端保持打开状态。
但是当我重新登录时,它不允许我运行使用相同的代码来完成所有安装,并出现以下错误消息:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
要了解活动进程(1.process 名称 2. 进程 ID),我必须 运行:
ps aux | grep -i apt
比删除进程
sudo kill -9 THAT_SPECIFIC_PROCESS_ID_COMES_HERE
比重新运行安装代码
sudo apt install python3-pip python3-dev libpq-dev postgresql postgresql-contrib nginx curl