ubuntu apt-get update failed
1. An error occurred: E:Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
The reason for this problem may be that another program is running, Causes the resource to be locked and unavailable. The reason why the resource is locked may be that the last installation was not completed normally, which caused this situation.
Solution: delete all the files in /var/lib/apt/lists and
enter the following command
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
and then install the package you want to install , which can be solved
E: Some index files failed to download. They have been ignored, or old ones used instead.
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325785994&siteId=291194637
Ranking