E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
Unable to lock directory /var/lib/apt/lists
Solution:
Use the command:
sudo rm /var/lib/apt/lists/lock
sudo vim /etc/resolv.conf
nameserver 223.5.5.5
nameserver 223.6.6.6
/etc/init.d# ./networking restart
When using the up, down, left and right keys, the result is ^[[A^[[B^[[D^[[C, as shown in the figure:
The reason is that the vi that comes with the ubuntu system is incomplete.
Solution: install complete
sudo apt-get remove vim-common
sudo apt-get install vim
sudo apt-get install vim-gtk
sudo apt install gcc-arm-linux-gnueabihf
Recommended Posts