Hello,
we use aptly as packet repository for ubuntu and debian. It works fine and we don't have to use external sources. But it fails, if I want to use it as netinstall mirror with preeseed file.
Here some informations:
aptly version: 0.9.7
commands to build mirror, snapshots and publish
aptly mirror update wheezy-non-free
aptly mirror update wheezy-contrib
aptly mirror update wheezy-main
aptly snapshot create wheezy-non-free from mirror wheezy-non-free
aptly snapshot create wheezy-contrib from mirror wheezy-contrib
aptly snapshot create wheezy-main from mirror wheezy-main
aptly snapshot merge wheezy wheezy-main wheezy-contrib wheezy-non-free
aptly publish snapshot -distribution=wheezy wheezy wheezy
I use the preseed install with follow commands:
d-i mirror/country string manual
d-i mirror/http/hostname string aptlyserverFQDN
d-i mirror/http/directory string /wheezy
d-i mirror/http/proxy string
#d-i mirror/udeb/components /main
d-i mirror/suite string wheezy
d-i mirror/udeb/suite string wheezy
d-i apt-setup/security_host string aptlyserverFQDN
the wheezy install console display a Error:
"Download installer components"
"Downloading a file failed:"
"Retry, Change mirror, cancel"
nginx Log at the aptly server:
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/oldstable/Release HTTP/1.1" 404 178 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/stable/Release HTTP/1.1" 404 178 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/testing/Release HTTP/1.1" 404 178 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/unstable/Release HTTP/1.1" 404 178 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/wheezy/Release HTTP/1.1" 200 2298 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/wheezy/main/binary-amd64/Release HTTP/1.1" 200 95 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/wheezy/Release HTTP/1.1" 200 2298 "-" "Wget"
10.0.69.115 - - [19/Sep/2016:13:43:34 +0200] "GET /wheezy/dists/wheezy/Release.gpg HTTP/1.1" 200 473 "-" "Wget"
Does anyone have a hint?
Best regards
Christoph