Ubuntu: Mirroring ubuntu repository with apt-mirror



Question:

I am attempting to create a mirror of the wily repositories locally so that I can net install a bunch of machines on my network. Here is the configuration file I have so far:

############# config ##################  #  # set base_path    /var/spool/apt-mirror  #  # set mirror_path  $base_path/mirror  # set skel_path    $base_path/skel  # set var_path     $base_path/var  # set cleanscript $var_path/clean.sh  # set defaultarch  <running host architecture>  # set postmirror_script $var_path/postmirror.sh  # set run_postmirror 0  set nthreads     20  set _tilde 0  #  ############# end config ##############      deb-amd64 http://archive.ubuntu.com/ubuntu wily main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer  deb-amd64 http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse  deb-amd64 http://archive.ubuntu.com/ubuntu wily-security main restricted universe multiverse  deb-amd64 http://archive.ubuntu.com/ubuntu wily-updates main restricted universe multiverse  #deb http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse  #deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse    # deb-src http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse  # deb-src http://archive.ubuntu.com/ubuntu wily-security main restricted universe multiverse  # deb-src http://archive.ubuntu.com/ubuntu wily-updates main restricted universe multiverse  #deb-src http://archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse  #deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse    clean http://archive.ubuntu.com/ubuntu  

Comparing the archive.ubuntu.com/ubuntu, I seem to be missing dist-upgrader-all/, and uefi/. I understand I need these in order to perform a do-release-upgrade? How do I sync these directories? (I don't need i386 and source).


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »