User Tools

Site Tools


indexes:apt-mirror_setup

Lucid Lynx

mirror.list

############# config ##################
#
# set base_path    /var/spool/apt-mirror
set base_path /media/usbdisk/repo
#
# 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 http://dk.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://dk.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb http://dk.archive.ubuntu.com/ubuntu/ lucid universe
deb http://dk.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb http://dk.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://dk.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
#deb http://dk.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
#deb http://dk.archive.ubuntu.com/ubuntu lucid partner
deb http://dk.archive.ubuntu.com/ubuntu lucid-security main restricted
deb http://dk.archive.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://dk.archive.ubuntu.com/ubuntu/ lucid main
deb http://dk.archive.ubuntu.com/ubuntu lucid main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer
clean http://dk.archive.ubuntu.com/ubuntu

postmirror.sh

#!/bin/sh -e

## anything in this file gets run AFTER the mirror has been run
## put your custom post mirror operations in here ( like rsyncing the installer files and running clean.sh automaticly )

/media/usbdisk/repo/var/clean.sh
indexes/apt-mirror_setup.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1