First, log in as root with the terminal
sudo -i
Then switch to the/etc/apt/directory and execute:
cd /etc/apt/
Put the inside sources.list Copy it for security.
cp sources.list sources.list1
The next step is to open it with vim sources.list , delete the original contents, and then add the following contents:
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
Finally, execute: apt get update.
Read More:
- Ubuntu 18.04/ubuntu 16.04 (Ubuntu kylin 18 / 16), the last grub installation failed
- ubuntu executes apt-get update and reports Failed to fetch/replace Ali source
- Ubuntu 18.04 desktop installation tasksel aptitude failed (100) problem repair
- Solutions to the problem of unable to locate package
- Mex compiler error handling in MATLAB and GCC installation in Ubuntu
- How to Solve apt get update problem: usr/lib/apt/methods/HTTPS could not be found_PUBKEY 7EA0A9C3F273FCD8
- Solve the problem of unable to locate package python3.6 when upgrading from python3.5 to python3.6 in ubantu16.04
- Linux novice: unable to locate package error solution
- E: unable to locate package MySQL server error solution
- Completely solve install_ FAILED_ UPDATE_ Incompatible installation error, the installation package is not consistent with the previous installation package signature on the device
- Error in downloading update creation environment of CONDA: collecting package metadata (current_ repodata.json): failed
- Update project manually_ Solution of too large jar package in springboot
- Essay (19) Ubuntu 16 + python2.7 update PIP report error no module named typing
- Latex’s problem about package missing
- Installing R’s “mvtnorm” package in Windows system: solving the problem of the R package “mvtnorm” is not installed
- Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.* signatures do not match the previously
- DB2 encountered the problem of sqlcode = 911 lock table when updating record update
- Kylin startup error HBase common lib not found
- Failed to download package files error after re installing Ubuntu
- Idea update failure problem: couldn’t save uncommitted changes solution