Thursday, March 10, 2016

How to reset Ubuntu Software Update source list

Are you getting the "Failed to fetch ... " error when running the update in Ubuntu.

Enter the following commands in a Terminal to clear the source lists and reset them -
sudo rm /var/lib/apt/lists/* -vf
sudo rm /var/lib/apt/lists/partials/* -vf ##Optional
sudo apt-get update

No comments:

Post a Comment