Skip to content

Instantly share code, notes, and snippets.

@rohitrawat
Created June 12, 2017 18:17
Show Gist options
  • Save rohitrawat/60a04e6ebe4a9ec1203eac3a11d4afc1 to your computer and use it in GitHub Desktop.
Save rohitrawat/60a04e6ebe4a9ec1203eac3a11d4afc1 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
@Obada8
Copy link

Obada8 commented Oct 4, 2019

You saved me too!, thanks alot!

@Ocelot124286
Copy link

You are a genius!

@jiaweiwuwu
Copy link

still not work

@jiaweiwuwu
Copy link

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:5 http://packages.dataspeedinc.com/ros/ubuntu xenial InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://packages.ros.org/ros/ubuntu xenial InRelease
Hit:8 http://packages.osrfoundation.org/gazebo/ubuntu xenial InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:10 https://packages.ubiquityrobotics.com/ubuntu/ubiquity xenial InRelease
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 325 kB in 1s (207 kB/s)
Reading package lists... Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Unable to find expected entry 'deb-src/source/Sources' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.

@reecejmarkowsky
Copy link

THANK YOU!!!!

@kamarajanis
Copy link

Thank you,it works fine

@Jhegs
Copy link

Jhegs commented Feb 20, 2020

Thank you, very helpful

@petesimon
Copy link

Most of the good 'deb' lines were missing from my sources.list file. Thanks for your work!

@emakundi
Copy link

You area a savior...

@kingsj0405
Copy link

Thank you!!!

@hafizjee
Copy link

save my day Thank u

@MaxOniHub
Copy link

Thank you, bro!

@wasim-hossain
Copy link

Thanks a lot..

@chay22
Copy link

chay22 commented Jun 8, 2020

Thanks man!

@hinell
Copy link

hinell commented Jun 25, 2020

Just got mine libicu55 for wxedit. Thanks mate!

@abrarzha
Copy link

Thank you very much dude!

@jithumon
Copy link

Thank you <3

@oLeVanNinh
Copy link

Good job ❤️

@SaturnHvH
Copy link

Thank you!

@nabilfreeman
Copy link

Thanks, you are a legend, needed this to work around some censored stuff in Alicloud mirrors

@dillfitz
Copy link

Thank you! This fixed some long standing issues for me.

@SuperShinyEyes
Copy link

Thank you!

@Gopikrishna73
Copy link

you saved my day after 4 hours

@shafdo
Copy link

shafdo commented Sep 16, 2021

Thank you, man. You saved me big time.

@gitcoleman
Copy link

gitcoleman commented Feb 15, 2022

Legend, i should have commented 2 years ago, when i found and used it. Still using it since. 👯

@pseudo-usama
Copy link

You saved my life..............

@fxwahyugomugomu
Copy link

aah my god... thankssssssssss

@haaami01
Copy link

haaami01 commented Mar 4, 2023

Thank you,!

@Theodory
Copy link

Thanks man this was a life saviour

@DonCanDo
Copy link

DonCanDo commented Nov 8, 2023

I tried it but my NAS Server is giving this it i cant install anything

W: The repository 'http://ppa.launchpad.net/relan/exfat/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/relan/exfat/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 185.125.190.52 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.81 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-arm64/Packages 404 Not Found
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-arm64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

do you have any idea? It seems like the EEPROM where the OS is written is locked but i can deinstall and change everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment