Recently, one of my test PCs running elementary OS Freya is showing a orange exclamatory icon on the top panel (wing panel). Seems like this popped out after a major update was applied and after computer was restarted. The error message read as “The update information is outdated. This may be caused by network problems or by repository that is no longer available. Please update manually by selecting ‘Show updates’ from the indicator menu, and watching for any failing repositories.” Certainly, the internet connection is good at my end, so the culprit is definitely due to outdated repository sources. The fix is simple and I was able to fix the problem in few minutes. Let’s get started.
Fix Outdated Repository Sources Error in elementary OS
STEP 1: Go to ‘Applications’ and launch ‘Terminal’.
STEP 2: Type the following command and hit enter.
sudo apt-get update
You will have to enter root password for the update to progress. Also click ‘Reload’ when it prompts for cache update.
STEP 3: Now the most important part is going through the update process list in the terminal. A normal end without problems will not have 404 Error, but in this case you should certainly have at least one error. Note that the repository source error may be different in your computer. On my test PC, the update command ended with two 404 errors.
STEP 4: Copy the paste the following command to open the Software sources:
STEP 5: Click ‘Other Software’ tab. Scroll through the list of repository sources and uncheck the source which was throwing out Error 404 in STEP 3. In my scenario, it is the http://ppa.launchpad.net/versable/elementary-update/ubuntu trusty main. Click ‘Close’.
STEP 6: It will ask you to reload cache. Click ‘Reload’.
STEP 7: You are almost done at this stage. But I recommend resetting the repository sources to default values so that you won’t get the same error message again in near future. This command remove and rebuilds the repository sources.
sudo rm /etc/apt/sources.list
STEP 8: Enter the following command again:
Click ‘Ubuntu Software’ tab. Check the box ‘Canonical-supported free and open-source software (main)’. Also click the drop-down ‘Download from:’ list and select ‘Main server’. Click ‘Close’.
Reload the cache as needed.
That’s it. By know that orange update warning icon on the top bar should have vanished. Did it work for you? Do let us know in the comments below.