4

Possible Duplicate:
How can I get apt to use a mirror close to me, or choose a faster mirror?

When I try to update with apt-get update, it seems to not resolve the server es.archive.ubuntu.com. Is it down?

I suppose it's a mirror of archive.ubuntu.com. If it is, how could I set my mirror to archive.ubuntu.com?

Thanks!

1 Answers1

5

Change the mirror in /etc/apt/sources.list file. For using the default/main one , use this command

sudo sed -i 's/es.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list

The command will change the mirror to the default one. And yes, the mirror es.archive.ubuntu.com seems to be down atm.

Alternatively, you can open the /etc/apt/sources.list file with the command gksu gedit /etc/apt/sources.list in a terminal (open it with Ctrl-Alt-T shortcut) and remove the es. part in front pf es.archive.ubuntu.com .

Anwar
  • 76,649