#  Ubuntu 20.04.1 LTS (Focal Fossa) Apt Sources.list additions. 

**URL:** <https://onehack.st/t/ubuntu-20-04-1-lts-focal-fossa-apt-sources-list-additions/162208>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks, operating-system\
**Created:** [November 11, 2020, 9:26pm UTC](https://onehack.st/t/ubuntu-20-04-1-lts-focal-fossa-apt-sources-list-additions/162208 "2020-11-11T21:26:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjjtnj](https://onehack.st/user_avatar/onehack.st/sjjtnj/32/87393_2.png) [@Sjjtnj](https://onehack.st/u/Sjjtnj)\
**Post date:** [November 11, 2020, 9:26pm UTC](https://onehack.st/t/ubuntu-20-04-1-lts-focal-fossa-apt-sources-list-additions/162208/1 "2020-11-11T21:26:26Z")

</div>

This is geared towards newbies to Ubuntu. I’m sure people who’ve been using it for awhile have a pretty good source list themselves, but as someone that is new to Ubuntu I was having dependency problems installing with just the default Ubuntu source list. So while searching for the required files and doing other searches I compiled one of my own. I really haven’t had any dependency issues since. So I thought I’ll share it in case it can help others.

I use Nano

> sudo apt install nano

to edit use command

> sudo nano /etc/apt/sources.list

These are the lines I added after enabling all the official ones. You can just copy and paste them to the end of your list.

```
deb http://security.ubuntu.com/ubuntu focal-security restricted main
# deb-src http://security.ubuntu.com/ubuntu focal-security restricted main
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
deb http://archive.ubuntu.com/ubuntu focal restricted main multiverse universe
# deb-src http://archive.ubuntu.com/ubuntu focal restricted main multiverse universe
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://mirrors.lug.mtu.edu/ubuntu focal main
# deb-src http://mirrors.lug.mtu.edu/ubuntu focal main
deb http://mirrors.edge.kernel.org/ubuntu focal main
# deb-src http://mirrors.edge.kernel.org/ubuntu focal main
deb http://ubuntu.mirrors.tds.net/ubuntu focal main
# deb-src http://ubuntu.mirrors.tds.net/ubuntu focal main

```

Or if you just want to add individual repository’s. You can do it like this.

> sudo apt-add-repository ‘deb [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) focal-security restricted main’

replace “deb [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) focal-security restricted main” with whichever repository you want to add. You can easily just copy and paste the lines from the above list.

After you are finished

> sudo apt update

That will tell you if there’s any issues with the repository’s you just added or any updates available

**As of November 11, 2020 the mirrors added are up to date.**

**Have a different Ubuntu?**

For other Ubuntu releases Groovy, Bionic, Xenial etc… you can just paste the list in a application like gedit. Highlight focal hold down ctrl+h and replace focal with the name of your release. Most if not all mirrors I added cover all the releases.

To find your release use command.

> lsb\_release -a

You’ll get something like this

```
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

```

Codename is the information we’re looking for. That is what you replace focal with if yours says something other than focal.

Any questions? I’ll be happy to help.
