This question already has an answer here:

W: Failed to fetch http://ug.archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources  403  Forbidden

marked as duplicate by user.dz, Eric Carvalho, Evandro Silva, David Foerster, belacqua Jan 20 '16 at 16:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Try using the main server. Go to Dash, type and open 'Software and Updates' and on the 'download from' dropdown, choose the main server. Then try updating again. – Parto Jan 19 '16 at 11:21
  • 1
    show the content of you /etc/apt/sources.list file – psantos Jan 19 '16 at 11:55
  • Are you using a proxy or an ISP that filters your internet connection? wget -S http://ug.archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources should return a 404 error code not 403. – bain Jan 19 '16 at 17:58

Edit the file /etc/apt/sources.list

In the URLs, where you have ug change to us, like http://ug.archive.ubuntu.com/ubuntu/ with http://us.archive.ubuntu.com/ubuntu/

Then update with:

sudo apt-get update

  • I have already done this before but still I get the same error – Mazinga Adam Jan 19 '16 at 12:28
  • @MazingaAdam show the content of your /etc/apt/sources.list file – psantos Jan 19 '16 at 12:39

You could try this:

sudo apt-get update --fix-missing

and it might work fine this way.

Not the answer you're looking for? Browse other questions tagged or ask your own question.