1. An error will be reported during apt install. The error content is: couldn’t resolve host mirrors aliyun.com
Cause of problem: the domain name resolution server needs to be configured because the domain name cannot be resolved.
Solution:
— vi /etc/resolv.conf
Add at the end of the text
nameserver 8.8.8.8
nameserver 114.114.114.114
2.ubuntu Apt-get error
ubuntu use apt-get error:
E: Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
Solution:
1.delete the lock file
sudo rm /var/lib/apt/lists/lock
2.delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
3.ubuntu apt-get Unable to locate package
Reason:
Unable to locate packet Just can’t find the package
Solution:
— apt-get update
Read More:
- When installing software in Ubuntu, it prompts: E: You don’t have enough free space in /var/cache/apt/archives/.
- Ubuntu update source error: E: Problem executing scripts APT::Update::Post-Invoke-Success…
- Ubuntu sub process/usr/bin/dpkg returned an error code (1) solution
- linux Ubuntu Error: No command ‘setenv‘ found
- [Solved] Raspberry Pi Error: You don’t have enough free space in /var/cache/apt/archives/
- How to Use Apt get Command Under Mac OSX
- [Solved] Any Softwares Install Error in Ubuntu: /usr/bin/dpkg returned an error code
- [Solved] spdlog reports an error After updating Ubuntu 22.04
- Using apt get to delete software completely
- [Solved] Ubuntu Eclipse C/C++ Error: launch failed.binary not found
- The upgrade of Ubuntu results in an error in the compilation of Android Jack [Two Method to Solve]
- [Solved] Ubuntu conda ProxyError: Conda cannot proceed due to an error in your proxy configuration
- Ubuntu: rabbitmq reports an error; Solution error: unable to connect to node rabbit@localhost : nodedown
- Mac opens Terminal and reports an error -bash:: command not found
- [Solved] E Sub-process usrbindpkg returned an error code (1)
- EasyConnect linux (ubuntu 20.04) Run Error [How to Solve]
- Ubuntu Error: dpkg: error processing package mysql-community-server (–configure):
- ubuntu install package Error: subprocess installed post-installation script returned error exit status 10
- How to Solve Xmind Install Error in Ubuntu System
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”