Changing Ubuntu Server Apt Source Repository


References

Abstract

Ubuntu Server, unlike the Ubuntu Desktop, has no GUI environment with fresh installation.

Backup

$ pwd
/etc/apt
$ ls -l
...
sources.list
...
$ sudo cp sources.list sources.list.bak
$ ls -l
...
source.list
source.list.bak
...
$ 

Check

Let’s take a look at the file.

$ pwd
/etc/apt
$ cat source.list
...
deb-src http://slower.ubuntu.com/ubuntu/ trusty multiverse
...
$

Update

Change all slower.ubuntu.com to faster.ubuntu.com.

$ pwd
/etc/apt
$ sudo vi source.list
$ cat source.list
...
deb-src http://faster.ubuntu.com/ubuntu/ trusty multiverse
...
$ 

Note

Those domain addresses used in above example aren’t real. In my case I changed kr.archive.ubuntu.com to ftp.daum.net.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s