Solve apt update 404 Not Found [IP: 91.189.91.15 80] problem

Apt update when we update the data source and then linux system, if you encounter this problem mostly because linux system version is too low or has not maintained within the range .

Check the way is to visit the site http://archive.ubuntu.com/ubuntu/dists/ to see whether the local system version is still in the maintenance state, if no corresponding version of the code in the list of pages in a folder, it indicates that you are using the system version has been the support period.

In fact these outdated versions of data sources, although no longer maintained but not deleted, but moved to the site http://old-releases.ubuntu.com/ubuntu/dists/ , nothing else you should be able to find you in the list the system version.

Do not use outdated versions of source 404 you will encounter problems if they continue to bear the risk of using outdated and no longer be maintained by the source, you can modify the /etc/apt/source.listfile, which will link all the changes to the URL http: // old-releases. ubuntu.com/ubuntu/ before updating can be.

Of course, the update source We recommend that you upgrade your system as soon as possible:

 

sudo apt-get install update-manager-core; 
sudo do-release-upgrade

Ref:

  1. https://gist.github.com/dergachev/f5da514802fcbbb441a1



Author: not wantonly wantonly stupid
link: https: //www.jianshu.com/p/597f17ddfa60
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

Published 351 original articles · won praise 52 · views 190 000 +

Guess you like

Origin blog.csdn.net/u014644594/article/details/104241518