Ubuntu – How to fix a “Failed to download package files” error

update-managerupdates

After I installed Ubuntu , I cannot update any software with the error message "failed to download package files". After having googled, I have tried:

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. changed to another sources

But I still got the same error message. And there is no problem with internet connection as i can connect to internet using Firefox in Ubuntu.

Any ideas?

Best Answer

  • Press Alt+F2 and type software-properties-gtk.

    Change the download location to Main Server or another server close to the country you live in and try to sudo apt-get update again.

    enter image description here

  • Related Question