Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Which protocols are better to use in /etc/apt/sources.list file? HTTP or FTP?

For example:

deb saucy main universe restricted multiverse


deb saucy main universe restricted multiverse
share|improve this question
There is similar question exists on another SE site, hope that helps ..… – JackLock Nov 13 '13 at 14:36
up vote 2 down vote accepted

You should always use HTTP. In this sense I found this nice answer:

You're not going to save much time using one over the other, but if efficiency is what you care about, use HTTP. An FTP client has to send a username and password and receive acknowledgments for those, and then issue several commands to set up the file transfer and receive acks for those, too. All this back and forth magnifies the effect of network latency; with 100-200ms ping times to the server you could waste a second setting up the transfer. With HTTP, the client opens the connection, sends one command and the file transfer starts immediately.

(Thanks to Kyle Jones for this answer)

Also, I will add that I personally always use the best server found by Ubuntu (in System Settings...Software & UpdatesUbuntu Software tab, and choose Othher...):

choose server

You may be also interested by:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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