Because ubuntu no longer maintains some old software sources, errors may occur no matter how you set the update source.
I have read many articles, some say what to clear, and some say that it is wrong to switch to Netease or the source of several education networks. Because these sources only provide updates to the latest versions.
You have to do this and set the software source as follows:
1 open sources. List:
sudo gedit /etc/apt/sources.list
2. Change it:
deb http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiversedeb-src http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiversedeb http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricteddeb-src http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricteddeb http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricteddeb http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricteddeb-src http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricteddeb http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricteddeb-src http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricteddeb-src http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted
# It may be confusing for other versions. Each Ubuntu version has a version name, and version 10.10 Is called Maverick, you can use a text editor to replace all Maverick with the name of the version you want to use.
How can I know my version name?
You can refer to the version name of your Baidu version number, or refer to the outdated Tutorials that teach you how to set outdated sources. Ubuntu in the source link is followed by the version name.
3.
sudo apt-get update