Skip to content

Instantly share code, notes, and snippets.

@justbuchanan
Created September 16, 2015 20:21
Show Gist options
  • Save justbuchanan/d045498c95fa1cd2dc70 to your computer and use it in GitHub Desktop.
Save justbuchanan/d045498c95fa1cd2dc70 to your computer and use it in GitHub Desktop.
/etc/apt/sources.list from an Ubuntu 14.04 installation
#deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty 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/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-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/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security 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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
@velbon
Copy link

velbon commented Oct 3, 2017

You are a saviour

@souhaiebtar
Copy link

thanks, i used it on trisequel

@BalajiVelaga
Copy link

thank you

@surre
Copy link

surre commented Nov 30, 2017

Thanks a lot!

@1nikolas
Copy link

1nikolas commented Dec 9, 2017

thanks!!!

@Salman888
Copy link

I got this. can you help me

Get:1 http://ppa.launchpad.net trusty InRelease [20.8 kB]
Ign http://extras.ubuntu.com trusty InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://us.archive.ubuntu.com trusty InRelease
Get:3 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:4 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:5 http://extras.ubuntu.com trusty Release [11.9 kB]
Ign http://extras.ubuntu.com trusty Release
Get:6 http://security.ubuntu.com trusty-security/main Sources [147 kB]
Ign http://ppa.launchpad.net trusty InRelease
Get:7 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:8 http://extras.ubuntu.com trusty/main amd64 Packages [14 B]
Get:9 https://oss-binaries.phusionpassenger.com trusty InRelease
Ign https://oss-binaries.phusionpassenger.com trusty InRelease
Get:10 http://security.ubuntu.com trusty-security/restricted Sources [4931 B]
Ign http://ppa.launchpad.net trusty InRelease
Get:11 http://us.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:12 http://security.ubuntu.com trusty-security/universe Sources [67.2 kB]
Get:13 http://ppa.launchpad.net trusty/main amd64 Packages [7796 B]
Get:14 http://us.archive.ubuntu.com trusty Release.gpg [933 B]
Get:15 http://security.ubuntu.com trusty-security/multiverse Sources [3195 B]
Get:16 http://security.ubuntu.com trusty-security/main amd64 Packages [696 kB]
Get:17 https://oss-binaries.phusionpassenger.com trusty Release
Get:18 http://us.archive.ubuntu.com trusty-updates/main Sources [409 kB]
Get:19 http://ppa.launchpad.net trusty Release.gpg [316 B]
Get:20 https://oss-binaries.phusionpassenger.com trusty/main amd64 Packages
Ign http://ppa.launchpad.net trusty Release.gpg
Get:21 http://ppa.launchpad.net trusty Release [15.1 kB]
Ign http://ppa.launchpad.net trusty Release
Get:22 http://us.archive.ubuntu.com trusty-updates/restricted Sources [6322 B]
Get:23 http://us.archive.ubuntu.com trusty-updates/universe Sources [196 kB]
Get:24 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14.1 kB]
Get:25 http://ppa.launchpad.net trusty/main amd64 Packages [756 B]
Get:26 http://security.ubuntu.com trusty-security/universe amd64 Packages [198 kB]
Err http://ppa.launchpad.net trusty/main amd64 Packages

Get:27 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4795 B]
Get:28 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7740 B]
Err http://ppa.launchpad.net trusty/main amd64 Packages

Get:29 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [1043 kB]
Err http://ppa.launchpad.net trusty/main amd64 Packages

Err http://ppa.launchpad.net trusty/main amd64 Packages

Err http://ppa.launchpad.net trusty/main amd64 Packages
403 Forbidden
Get:30 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:31 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [436 kB]
Get:32 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.9 kB]
Get:33 http://us.archive.ubuntu.com trusty-backports/main Sources [9709 B]
Get:34 http://us.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:35 http://us.archive.ubuntu.com trusty-backports/universe Sources [35.3 kB]
Get:36 http://us.archive.ubuntu.com trusty-backports/multiverse Sources [1896 B]
Get:37 http://us.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:38 http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:39 http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:40 http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1567 B]
Get:41 http://us.archive.ubuntu.com trusty Release [58.5 kB]
Get:42 http://us.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:43 http://us.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:44 http://us.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:45 http://us.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:46 http://us.archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
Get:47 http://us.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:48 http://us.archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
Get:49 http://us.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Fetched 18.8 MB in 43s (433 kB/s)
W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch http://ppa.launchpad.net/rwky/redis/ubuntu/dists/trusty/main/binary-amd64/Packages 403 Forbidden

E: Some index files failed to download. They have been ignored, or old ones used instead.

@xiangpengzhao
Copy link

Thanks!

@ali3seven
Copy link

@justbuchanan You are a herro. Thanks very much for such complete repo.
I used it for installing python3-pip and it completely works. I didn't bleave because I figured it out much before without any luck.
However installation of dependent package is really frustrating work, But It wasn't able to installed at each way. I also added some deb repo
in list but it doesn't enough. because maybe dependency required other repo source.
Google guide me here and using that it seems the problem solved. I think this list can answer for almost everything else.
Thanks for surviving again!

@VijethaY
Copy link

VijethaY commented Jun 2, 2018

@Salman888
Did you get any solution? Im currently facing similar issue

@NimaQu
Copy link

NimaQu commented Jan 12, 2019

TTTTThanks

@dhilowitz
Copy link

For those with the missing public key issue:

W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch http://ppa.launchpad.net/rwky/redis/ubuntu/dists/trusty/main/binary-amd64/Packages 403 Forbidden

E: Some index files failed to download. They have been ignored, or old ones used instead.

The solution to this is to download the missing key:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 16126D3A3E5C1192

@MrPurpl3
Copy link

@justbuchanan You are a superhero :) Thanks a lot friend.

@peng-hui
Copy link

peng-hui commented May 8, 2020

Thanks!! 😄

@eLBimjoe
Copy link

you are an angel, a saviour in my own dire situation, thanks a bunch

@madalozzo
Copy link

thanks!!!

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