Expanded sources.list for Ubuntu server 18.04
By default, if the new installer is utilized when deploying Ubuntu server 18.04, the /etc/apt/sources.list will contain only two entries. This doesn’t cover much, so to expand it to be a bit more useful we replace it with:
1
2
3
4
5
6
7
8
9
10
deb https://jp.archive.ubuntu.com/ubuntu/ bionic main restricted
deb https://jp.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb https://jp.archive.ubuntu.com/ubuntu/ bionic universe
deb https://jp.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb https://jp.archive.ubuntu.com/ubuntu/ bionic multiverse
deb https://jp.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb https://jp.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb https://security.ubuntu.com/ubuntu bionic-security main restricted
deb https://security.ubuntu.com/ubuntu bionic-security universe
deb https://security.ubuntu.com/ubuntu bionic-security multiverse
Note that this is for Japan (“jp”). Change this to “us” or similar to match your region if not in Japan.
This post is licensed under
CC BY 4.0
by the author.