Tuesday, July 26, 2011

How To Create A Local Debian/Ubuntu Mirror With apt-mirror | HowtoForge - Linux Howtos and Tutorials

How To Create A Local Debian/Ubuntu Mirror With apt-mirror HowtoForge - Linux Howtos and Tutorials
need to set proxy behind firewall
http://blog.shvetsov.com/2009/08/setting-up-apt-mirror-behind-http-proxy.html

5 comments:

  1. when mirroring is interrupted, need to remove lck in /var/spool/apt-mirror/var

    ReplyDelete
  2. apt-mirror does share the same proxy settings as in the apt configuration file. Need to add into /etc/environment : http_proxy="proxy.abcd.local:80"

    tail -f /var/spool/apt-mirror/var/* log files to look for errors

    ReplyDelete
  3. if there is an error when downloading index files .. try reduce the no of threads from 20 to 10

    ReplyDelete
  4. Before a re-mirror operation. remove contents from /var/spool/apt-mirror/var /var/spool/apt-mirror/skel /var/spool/apt-mirror/mirror

    ReplyDelete
  5. Interesting case where a Debian 6 on a Hyper-V vm will cause a kernel panic when using apt-mirror. Solved by reducing to thread

    ReplyDelete