VN-TR / install

0 stars 1 forks source link

install git failed #5

Open YujieLu opened 5 years ago

YujieLu commented 5 years ago

error occurs while running ./setup.sh

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?
./setup.sh: line 23: git: command not found
./setup.sh: line 24: cd: install: No such file or directory
chmod: cannot access 'install_env': No such file or directory
./setup.sh: line 28: ./install_env: No such file or directory
chmod: cannot access 'install_exec': No such file or directory
./setup.sh: line 30: ./install_exec: No such file or directory

use following command can fix it,

sudo rm /var/lib/dpkg/lock-frontend 
sudo rm /var/lib/dpkg/lock
YujieLu commented 5 years ago

only one terminal is opened.

izhengfan commented 5 years ago

apt 被锁的问题,试一下把 auto check for update 设为 never 看看。

参看: https://ywnz.com/linuxjc/4557.html