![]() ![]() The three methods outlined should help you resolve this nagging error on Ubuntu. This is by far the easiest method of fixing this error. Solution 3: Copy Sources List Contents from a Well Functioning Systemįinally, the other way to resolve this error is to copy the contents of the sources list file from another functional Ubuntu system and paste them into your system’s sources list file. Once done, update the sources list as shown: $ sudo apt update For instance, if you are located in Canada, replace us with ca as shown in the file as shown. If your location is not in the United States, just overwrite the US country code with the appropriate country code. For example, the Official United States mirror provided in /etc/apt/sources.list is: deb focal main restricted The easiest approach is to ensure that the mirror defined within the sources list file includes the country code relative to your country of residence. Solution 2: Select the Nearest Mirror from Official Ubuntu MirrorsĪlternatively, you might consider switching to the nearest mirror – which often happens to be the fastest mirror – relative to your geographical location. $ sudo apt updateĪt this point, you should have both the Main repository and community-supported repositories at your disposal. To enable these repositories, invoke the commands below.
0 Comments
Leave a Reply. |