Mirror Ubuntu repositories

To mirror a ubuntu repository you need to know which version, which architecture and which component you want to mirror. You'll find an example configuration below. This example will mirror the main repository for precise from de.archive.ubuntu.com.

<Repository ubuntu-precise-amd64-main>
  url       = http://de.archive.ubuntu.com/ubuntu/
  local     = ubuntu-precise-amd64-main/ubuntu
  type      = Apt
  arch      = amd64
  dist      = precise
  component = main
</Repository>

It is important that the first part of the local option is the same as the repository name. (here: ubuntu-precise-amd64-main).