Hi *, Before I go to much into detail and share my confusion with you, I just want to ask my question (and if you need, I can provide more detail later)...
I have a mirror of a hole Ubuntu distribution (precise lts and trusty lts), and want to install my base-system directly from this mirror. (In the future a netinstall would be nice... but for now, install from iso is fine...) So I wrote a preseed which points to choose-mirror-bin mirror/http/hostname string example.org choose-mirror-bin mirror/http/mirror select example.org choose-mirror-bin mirror/http/directory string /trusty-stable/ Which works great as long as I import our gpg-key after installation, or setup an additional repository and make use of `apt-setup/local0/key`. But even then I see no way to get `apt-setup/security_path` and `apt-setup/security_host` get to work. Yes, maybe it could be an old version (even) on Ubuntu 14.04. Is there a recommended strategy how to setup the preseed and import the key in to the installer (so that maybe a system upgrade after installation is possible)? Our mirror also include packages of our own; respectively we have a second 'distribution' for that. Which brings me to my second question: How do someone setup components? >From which I found in the source `apt-mirror-setup apt-setup/[restricted|multiverse|...] boolean true` is not generic. So I can not do something like `apt-setup/dependencies`. (The /official/ puppet repo has 'main' and 'dependencies' as components...) An alternative is using `apt-setup/local0/repostitory`, then I can state all components after the url and release-name, but on my tests I ended up with duplicate repository declarations, and then `apt-get update` will fail. If you have any insights on how to tackle this problem, it would be really nice to hear. For now my workaround would be to just setup the mirror _without_ additional components and just leave it as it is, and set our repository via 'local0', but even then the security host and path give me headaches. Thanks for your help. Greetings and best regards, Bernd

