Run gksugedit/etc/apt/sources in Ubuntu to set the update source. delete the old content in the list, paste the content of the new source list, and execute sudoapt-getupdate. When I changed it, the result of not executing sudoapt-getupdate is always updated based on the original source, and it is useless to restart it. Later, we saw the apt-getupdate command when looking at the help of apt. After executing the command, we can. Method
How to configure an update source in Ubuntu
Run:
Gksu gedit/etc/apt/sources. list
Delete the old content and paste the content in the new source list,
Run the following command:
Sudo apt-get update
It takes effect.
I didn't execute sudo apt-get update when I changed it.
The result is always updated based on the original source, and it is useless to restart. Later I saw the help of apt.
Run the apt-get update command.
Method 2:
Start Menu-> system-> New Software Package Manager
Edit the software repository as instructed
Refresh the page after the update is complete.