> ## Content Index
> Fetch the complete content index at: https://helpmonks.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Use of mirror repositories for Ubuntu
- URL: https://helpmonks.com/blog/use-of-mirror-repositories-for-ubuntu/
- Published: 2012-07-11T00:00:00.000Z
- Updated: 2026-04-04T01:57:47.000Z
- Description: Just today, the US archives for the Ubuntu repositories were down again and thus servers were not updated. Thus I set out to see if there are better methods
- Author: Nitai
- Tags: email marketing

Just today, the US archives for the Ubuntu repositories were down again and thus servers were not updated. Thus I set out to see if there are better methods to overcome when those archives are down. As I thought, the use of mirrors is an alternative. Here is what you can put into your ‘/etc/apt/sources.list’ file and it will find the nearest mirror according to your location:

\[code\]deb mirror://mirrors.ubuntu.com/mirrors.txt lucid main restricted universe multiverse  
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid-updates main restricted universe multiverse  
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid-backports main restricted universe multiverse  
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid-security main restricted universe multiverse  
deb-src mirror://mirrors.ubuntu.com/mirrors.txt lucid main restricted universe multiverse  
deb-src mirror://mirrors.ubuntu.com/mirrors.txt lucid-updates main restricted universe multiverse  
deb-src mirror://mirrors.ubuntu.com/mirrors.txt lucid-backports main restricted universe multiverse  
deb-src mirror://mirrors.ubuntu.com/mirrors.txt lucid-security main restricted universe multiverse  
\[/code\]

This method works since Ubuntu 10.04 up to the latest one.