I have set up a personal debian mirror in my network.
The mirror is hosted on a debian machine runing debian wheezy (192.168.0.11 - NAT).
The mirror is available through http (rsync and ftp is not enabled).
The script creating/updating the mirror is:
Code: Select all
#!/bin/bash
#
# Debian mirror script
# PARAM: none atm.
# VERSION: 0.2
# LAST-EDIT: 20. Mar 2016
#
#
# variables:
#
# binaries
DEBMIRROR=`which debmirror`
# general
LOCALMIRRORPATH="/mnt/Media/DebMirror"
# debmirror related
DEBMIRROROPTIONS="-p -v --passive"
HOST="ftp.at.debian.org"
PATHTOMIRRORROOT="/debian"
PROTOCOL="ftp"
VERSIONS="jessie"
SECTIONS="main,contrib,non-free,main/debian-installer"
ARCHITECTURES="amd64"
#
# create or refresh mirror
#
$DEBMIRROR $DEBMIRROROPTIONS \
--host=$HOST \
--root=$PATHTOMIRRORROOT \
--method=$PROTOCOL \
--dist=$VERSIONS \
--section=$SECTIONS \
--arch=$ARCHITECTURES \
--nosource \
$LOCALMIRRORPATH
Now to my issue:
When i try to install a new machine with debian jessie using my mirror as source for the installation, the installer tells me that the repository could not be accessed so it's updates will not be made available.
Nevertheless the installation runs through just OK after that, and i can use the repository (my mirror) to install further packages using "apt-get install"
It seems to me, that something is missing so that the debian-installer deems my mirror a worthy repository?!
Maybe someoen can point me into the right direction?!
Thanks in advance,
Berda