1.使用sudo apt-get update命令时出现如下错误:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
Unable to lock directory /var/lib/apt/lists
解决办法:
使用命令:
sudo rm /var/lib/apt/lists/lock
2.Ubuntu出现E: Failed to fetch问题解决
sudo vim /etc/resolv.conf
nameserver 223.5.5.5 nameserver 223.6.6.6
/etc/init.d# ./networking restart
3.问题现象:
使用上下左右键时,结果为 ^[[A^[[B^[[D^[[C,如图:
原因在于ubuntu系统自带的 vi 不完整导致。
解决方法:安装完整的
sudo apt-get remove vim-common sudo apt-get install vim sudo apt-get install vim-gtk
4.make:arm-linux-gnueabihf-gcc:command not found 问题解决
sudo apt install gcc-arm-linux-gnueabihf