local_debian_ubuntu_mirror How To

Discussion in 'HOWTO-Related Questions' started by rhino777, Apr 26, 2007.

  1. rhino777

    rhino777 New Member

    I followed the instructions pretty much to the tee for this one (except using archive.ubuntu.com instead of the german servers he was using) and when I start the mirror it pulls the files down to /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/pool/main. After I edit the sources.list to use my local repository (deb http://192.168.xx.xx/ubuntu/ edgy main restricted universe), apt-get update tacks on /dists/edgy/ when it tries to update. Seeing as apt-mirror stores the files in /pool/, it obviously can't find the files.

    Any ideas on this?

    Thanks!
     
  2. rhino777

    rhino777 New Member

    Anyone? Bueller? Bueller?
     
  3. falko

    falko Super Moderator ISPConfig Developer

    Did you get any error messages?
    What was in your original sources.list, and what's in there now?
     
  4. rhino777

    rhino777 New Member

    Just the error messages that it can't find the files of course:

    "Failed to fetch http://192.168.7.69/ubuntu/dists/edgy/main/binary-i386/Packages.gz 403 Forbidden
    Failed to fetch http://192.168.7.69/ubuntu/dists/edgy/restricted/binary-i386/Packages.gz 403 Forbidden
    Failed to fetch http://192.168.7.69/ubuntu/dists/edgy/universe/binary-i386/Packages.gz 403 Forbidden
    "

    I had a pretty default sources.list to begin with. I added "deb http://192.168.7.69/ubuntu/ edgy main restricted universe" to try to get it to update from itself. Is there a way to get apt-mirror to download the updates to a different directory path or just it just mirror what's on the original server?
     
  5. falko

    falko Super Moderator ISPConfig Developer

Share This Page