failed to fetch error occurs when apt-get update

  1. Check your Ubuntu release version.
    lsb_release -r
  2. Go to to generate a new sources.list
  3. Select your country & release
  4. Check the first 12 boxes
  5. Generate
  6. Backup the old file to sources.list before you try the new one.

Thank you RienNeVaPlus