Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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?


share|improve this question

marked as duplicate by Jorge Castro, January, RolandiXor, devav2, Mitch Oct 11 '12 at 18:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

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 .

share|improve this answer
Thankyou! It worked, now it's OK and the main server seems to be faster than the spanish mirror (strange thing)... –  Addison Montgomery Oct 11 '12 at 17:23

Not the answer you're looking for? Browse other questions tagged or ask your own question.