<div dir="ltr"><div><div>I am trying to configure a local debian mirror with reprepro 
on my lan to host the packages needed to build a disk.  I got a listing 
from the reprepro mirror that gets built during cd creation, and added 
the contents of that list to the list of packages that are installed 
into my local repo.  I am trying to pull this off without having to 
download all 30GB of the debian repo.  Any help is greatly appreciated.<br>
<br></div>Here is what a run looks like with it pointing at the local mirror (my apologies for the long paste)<br><br>Cleaning images folder<br>rm: cannot remove `images/*': No such file or directory<br>Building disk<br>

including configuration values for: /home/click/images/profiles/mg.conf<br>debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied<br>debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied<br>

warning: Unknown type passwd, skipping line 91<br>Trying to run debootstrap for amd64 architecture<br>I: Retrieving Release<br>I: Retrieving Release.gpg<br>I: Checking Release signature<br>gpgv: no valid OpenPGP data found.<br>

gpgv: the signature could not be verified.<br>Please remember that the signature file (.sig or .asc)<br>should be the first file given on the command line.<br>E: Error executing gpgv to check Release signature<br>2013-08-02 14:44:38 URL:<a href="http://internal-update.clicksecurity.com/debiancd//README" target="_blank">http://internal-update.clicksecurity.com/debiancd//README</a> [503/503] -> "/home/click/images/tmp//mirror/README" [1]<br>

2013-08-02 14:44:38 URL:<a href="http://internal-update.clicksecurity.com/debiancd//doc/" target="_blank">http://internal-update.clicksecurity.com/debiancd//doc/</a> [503/503] -> "/home/click/images/tmp//mirror/doc/index.html" [1]<br>

2013-08-02 14:44:38 URL:<a href="http://internal-update.clicksecurity.com/debiancd//tools/" target="_blank">http://internal-update.clicksecurity.com/debiancd//tools/</a> [503/503] -> "/home/click/images/tmp//mirror/tools/index.html" [1]<br>

2013-08-02 14:44:38 URL:<a href="http://internal-update.clicksecurity.com/debiancd//dists/wheezy/main/installer-amd64/current/images/cdrom/" target="_blank">http://internal-update.clicksecurity.com/debiancd//dists/wheezy/main/installer-amd64/current/images/cdrom/</a> [503/503] -> "/home/click/images/tmp//mirror/dists/wheezy/main/installer-amd64/current/images/cdrom/index.html" [1]<br>

FINISHED --2013-08-02 14:44:38--<br>Total wall clock time: 0.007s<br>Downloaded: 4 files, 2.0K in 0s (27.0 MB/s)<br>Created directory "/home/click/images/tmp//mirror/db"<br>./local_pkgs/click-miner-gateway_0.9.4_amd64.deb: component guessed as 'main'<br>

Created directory "/home/click/images/tmp//mirror/pool"<br>Created directory "/home/click/images/tmp//mirror/pool/main"<br>Created directory "/home/click/images/tmp//mirror/pool/main/c"<br>Created directory "/home/click/images/tmp//mirror/pool/main/c/click-miner-gateway"<br>

Exporting indices...<br>Created directory "/home/click/images/tmp//mirror/dists/wheezy/main/binary-amd64"<br>Created directory "/home/click/images/tmp//mirror/dists/wheezy/main/debian-installer"<br>Created directory "/home/click/images/tmp//mirror/dists/wheezy/main/debian-installer/binary-amd64"<br>

Created directory "/home/click/images/tmp//mirror/lists"<br>Warning: No VerifyRelease line in 'default' or any rule it includes via 'From:'.<br>Release.gpg cannot be checked unless you tell which key to check with.<br>

(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-base' or any rule it includes via 'From:'.<br>Release.gpg cannot be checked unless you tell which key to check with.<br>

(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-udebs' or any rule it includes via 'From:'.<br>Release.gpg cannot be checked unless you tell which key to check with.<br>

(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-security' or any rule it includes via 'From:'.<br>Release.gpg cannot be checked unless you tell which key to check with.<br>

(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>aptmethod got '<a href="http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease" target="_blank">http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease</a>'<br>

aptmethod got '<a href="http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease" target="_blank">http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease</a>'<br>aptmethod got '<a href="http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease" target="_blank">http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease</a>'<br>

aptmethod got '<a href="http://security.debian.org/dists/wheezy/updates/InRelease" target="_blank">http://security.debian.org/dists/wheezy/updates/InRelease</a>'<br>WARNING: No signature found in /home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease, assuming it is unsigned!<br>

Missing checksums in Release file '/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease'!<br>There have been errors!<br>gzip: /home/click/images/tmp//mirror/lists/wheezy_default_deb_main_amd64.gz: No such file or directory<br>

Files /home/click/images/tmp//mirror/conf/package-list and /home/click/images/tmp//mirror/conf/package-list.old differ<br>getting missing dependencies... attempt 1<br>Warning: No VerifyRelease line in 'default' or any rule it includes via 'From:'.<br>

Release.gpg cannot be checked unless you tell which key to check with.<br>(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-base' or any rule it includes via 'From:'.<br>

Release.gpg cannot be checked unless you tell which key to check with.<br>(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-udebs' or any rule it includes via 'From:'.<br>

Release.gpg cannot be checked unless you tell which key to check with.<br>(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>Warning: No VerifyRelease line in 'default-security' or any rule it includes via 'From:'.<br>

Release.gpg cannot be checked unless you tell which key to check with.<br>(To avoid this warning and not check signatures add 'VerifyRelease: blindtrust').<br>WARNING: No signature found in /home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease, assuming it is unsigned!<br>

Missing checksums in Release file '/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease'!<br>There have been errors!<br>no new dependencies, finished in 2 attempts.<br>checking for missing dependencies with edos-debcheck:  /home/click/images/tmp//mirror/dists/wheezy/main/binary-amd64/Packages<br>

Completing conflicts...                                            * 100.0%<br>Conflicts and dependencies...                                      * 100.0%<br>Solving                                                            * 100.0%<br>

click-miner-gateway (= 0.9.4): FAILED<br>  click-miner-gateway (= 0.9.4) depends on missing:<br>  - python2.7<br>ERROR: missing required packages from profile default:  less<br>ERROR: missing required packages from profile default:  simple-cdd-profiles<br>

WARNING: missing optional packages from profile default:  grub 
popularity-contest localization-config console-tools usbutils acpi acpid
 eject lvm2 mdadm cryptsetup reiserfsprogs jfsutils xfsprogs 
type-handling debootstrap busybox syslinux-common syslinux<br>
./build_ISO: 16: ./build_ISO: --security-mirror: not found<br>Making images folder nice<br>rm: cannot remove `images/*.gz': No such file or directory<br>mv: cannot stat `images/*.iso': No such file or directory<br>

<br></div><br><br><br><br>and here is the script that starts the 'build' process:<br><br><br>#!/bin/sh<br><br>echo "Cleaning images folder"<br>rm -r -v images/*<br><br>echo "Building disk"<br>
build-simple-cdd \<br>
--conf profiles/mg.conf \<br>--dist wheezy \<br>--force-preseed \<br>--auto-profiles mg \<br>--local-packages click-miner-gateway \<br>--locale en_US \<br>--keyboard us \<br>--debian-mirror <a href="http://internal-update.clicksecurity.com/debiancd/" target="_blank">http://internal-update.clicksecurity.com/debiancd/</a><br>

#--security-mirror <a href="http://internal-update.clicksecurity.com/debiancd/" target="_blank">http://internal-update.clicksecurity.com/debiancd/</a><br><br>echo "Making images folder nice"<br>rm -v images/*.gz<br>
mv -v images/*.iso images/MG.iso</div>