Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/etc/apt/sources.list for Ubuntu 18.04.1 LTS Bionic Beaver
# See for how to upgrade to
# newer versions of the distribution.
deb bionic main restricted
# deb-src bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb bionic-updates main restricted
# deb-src bionic-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 bionic universe
# deb-src bionic universe
deb bionic-updates universe
# deb-src bionic-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 bionic multiverse
# deb-src bionic multiverse
deb bionic-updates multiverse
# deb-src bionic-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 bionic-backports main restricted universe multiverse
# deb-src bionic-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 bionic partner
# deb-src bionic partner
deb bionic-security main restricted
# deb-src bionic-security main restricted
deb bionic-security universe
# deb-src bionic-security universe
deb bionic-security multiverse
# deb-src bionic-security multiverse
Copy link

spinozarabel commented Nov 17, 2020

Thanks, I was having a problem due to DigitalOcean mirrors in my sources.list. I replaced them after backup with this and it worked for upgrade from 18.04 to 20.

Copy link

danielkpodo commented Nov 20, 2020

You save me from a gruesome headache. Your gist did the trick. many thanks

Copy link

cthiagotavares commented Dec 18, 2020

very thanks!

Copy link

dvolozhinok commented Dec 23, 2020

Thank you!

Copy link

diego200052 commented Jan 13, 2021

Thank you!!

Copy link

lazyDreamerBoy commented Jan 25, 2021

Thanks man <3

Copy link

sooberm commented Jan 30, 2021

thank you man it is very useful

Copy link

VladTomici14 commented Feb 17, 2021

Thank you so much for sharing !

Copy link

wildcard1719 commented Feb 28, 2021

tanx this is very useful

Copy link

dcdebug commented Mar 4, 2021

Very Good,Thanks .

Copy link

bodenpat commented Mar 10, 2021

For some reason my ubuntu install was missing the ntp package. Been banging my head against the wall all morning until I found this!
Life Saver TYVM!

Copy link

The-lYNCAN commented Mar 17, 2021

Saved my ass man
Thanks a lot

Copy link

ekaraaslan commented Apr 1, 2021

Thank you so much ツ
it's good work...

Copy link

zdhamasha commented May 6, 2021

Thank you dear

Copy link

mikniloes commented May 31, 2021

Thank you x 100

Copy link

sangeun-jo commented Jun 20, 2021

Thank you!! I had a problem in my sources.list file but solved my problem.

Copy link

Zeroday10 commented Jul 5, 2021

very nice, tnx :)))

Copy link

elvintaghizade14 commented Jul 7, 2021

Thanks. It solved my os issue.

Copy link

hannapylypenko commented Aug 9, 2021

Thanks!!! It solved my problem))

Copy link

acutedeveloper commented Aug 16, 2021

Still doing its thing today :) Thanks!

Copy link

icantrank commented Aug 20, 2021

Cheers dude. Doing server upgrades and I couldn't find this on

Copy link

asmanuha commented Sep 1, 2021

thanks broo, 2021 still need this info

Copy link

ezelder commented Dec 15, 2021

This old post still saving lives as we approach 2022. I think my Ubuntu is updating about 60 packages.

Hopefully it wont blowup. :-)


Copy link

bitbd83 commented Dec 17, 2021

Copy link

RahulKamboj21 commented May 20, 2022

Thanks bro! You saved my life!

Copy link

tjdgus6255 commented Jun 2, 2022

Thanks. It solved my error.

Copy link

gthuo commented Jun 14, 2022

And here I am, right in the middle of 2022, to say: this just saved me so many days of vain troubleshooting!

Copy link

diboune commented Jun 20, 2022

God bless you!!

Copy link

ceaualbi commented Jul 8, 2022

I'd been stuck with a broken sources.list and could not find what was wrong. I coded and recoded it, but again I was stuck.

Finally, after some months I stumbled with your's and it worked pefectly. So, this code it's been a life saver.

I'm grateful and I thank you.

Copy link

yona-men commented Nov 3, 2022


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