Resolve the problems encountered in the linux environment under ubuntu

  1. The following error occurs when using the sudo apt-get update command:

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

  1. Ubuntu has E: Failed to fetch problem solved

sudo vim /etc/resolv.conf

nameserver 223.5.5.5
nameserver 223.6.6.6

/etc/init.d# ./networking restart

  1. Problem phenomenon:

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

  1. make: arm-linux-gnueabihf-gcc: command not found problem solved

sudo apt install gcc-arm-linux-gnueabihf

Recommended Posts

Resolve the problems encountered in the linux environment under ubuntu
Problems encountered in pip tool installation under Ubuntu
Encountered in the process of building a virtual environment in ubuntu
Build the C++ compilation environment under ubuntu
Docker those things in the Ubuntu environment
Mount the disk in a directory under Ubuntu 18.04
The difference between CentOS and Ubuntu in Linux system
Django&MySQL environment deployment under Ubuntu 14.04
Install python environment under Linux
How to map shared disk to window in linux under Ubuntu
Deploy the mail system under Ubuntu 19.10
Detailed explanation of the installation and use of SSH in the Ubuntu environment
Linux basics (root privileges in Ubuntu)
The locate file search command in Ubuntu16.04
Install linux (ubuntu) dual system under windows system
JDK environment variable configuration method under ubuntu
Configure Java development environment in Ubuntu20.04 LTS
About installing node environment in Ubuntu server
Install Ubuntu 18.04 in the virtual machine VMware
Download OpenJDK11 source code in Ubuntu environment
GPU programming (1): CUDA8.0 environment construction under Ubuntu
Build a python development environment under Ubuntu
Disable the TinkPad touch screen in Ubuntu
Configure Nginx + PHP 7.0 + MySQL environment under Ubuntu 16.04
Realize adding/deleting file permissions under Linux (ubuntu)
Edit OpenJDK11 source code in Ubuntu environment
Linux (ubuntu 12.04)
How to install vim editor under Linux (Ubuntu 18.04)
Expand the disk size of Ubuntu under VMware
Explain the list under Python multithreading in detail
The usage of several regular expressions in Linux
Install the old version of seurat under Ubuntu
How to install python in ubuntu server environment
The solution to the failure to install .deb under Ubuntu 16.04
The usage of several regular expressions in Linux
Build Discuz Forum in LNMP Environment under CentOS7
How to open the ubuntu system in win10
Install Python3 environment in a brand new Ubuntu
Publish the node.js project under Ubuntu to heroku
The usage of several regular expressions in Linux
Build Dedecms website in LNMP environment under CentOS7
The consequences of uninstalling python in ubuntu, very
Remotely connect to MySQL database in Ubuntu environment
Introduction to the use of Hanlp in ubuntu
Turn off and turn on the firewall in ubuntu
Installation and use of SSH in Ubuntu environment