Which protocols are better to use in /etc/apt/sources.list file? HTTP or FTP?
For example:
deb saucy main universe restricted multiverseor:
deb ftp:// saucy main universe restricted multiverse 1 1 Answer
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 & Updates → Ubuntu Software tab, and choose Othher...):
You may be also interested by: