[Simple-cdd-devel] local mirror package issues

Michael Aldridge maldridge at clicksecurity.com
Tue Aug 6 14:39:12 UTC 2013


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.

Here is what a run looks like with it pointing at the local mirror (my
apologies for the long paste)

Cleaning images folder
rm: cannot remove `images/*': No such file or directory
Building disk
including configuration values for: /home/click/images/profiles/mg.conf
debconf: DbDriver "passwords" warning: could not open
/var/cache/debconf/passwords.dat: Permission denied
debconf: DbDriver "passwords" warning: could not open
/var/cache/debconf/passwords.dat: Permission denied
warning: Unknown type passwd, skipping line 91
Trying to run debootstrap for amd64 architecture
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
gpgv: no valid OpenPGP data found.
gpgv: the signature could not be verified.
Please remember that the signature file (.sig or .asc)
should be the first file given on the command line.
E: Error executing gpgv to check Release signature
2013-08-02 14:44:38 URL:
http://internal-update.clicksecurity.com/debiancd//README [503/503] ->
"/home/click/images/tmp//mirror/README" [1]
2013-08-02 14:44:38 URL:
http://internal-update.clicksecurity.com/debiancd//doc/ [503/503] ->
"/home/click/images/tmp//mirror/doc/index.html" [1]
2013-08-02 14:44:38 URL:
http://internal-update.clicksecurity.com/debiancd//tools/ [503/503] ->
"/home/click/images/tmp//mirror/tools/index.html" [1]
2013-08-02 14:44:38 URL:
http://internal-update.clicksecurity.com/debiancd//dists/wheezy/main/installer-amd64/current/images/cdrom/[503/503]
->
"/home/click/images/tmp//mirror/dists/wheezy/main/installer-amd64/current/images/cdrom/index.html"
[1]
FINISHED --2013-08-02 14:44:38--
Total wall clock time: 0.007s
Downloaded: 4 files, 2.0K in 0s (27.0 MB/s)
Created directory "/home/click/images/tmp//mirror/db"
./local_pkgs/click-miner-gateway_0.9.4_amd64.deb: component guessed as
'main'
Created directory "/home/click/images/tmp//mirror/pool"
Created directory "/home/click/images/tmp//mirror/pool/main"
Created directory "/home/click/images/tmp//mirror/pool/main/c"
Created directory
"/home/click/images/tmp//mirror/pool/main/c/click-miner-gateway"
Exporting indices...
Created directory
"/home/click/images/tmp//mirror/dists/wheezy/main/binary-amd64"
Created directory
"/home/click/images/tmp//mirror/dists/wheezy/main/debian-installer"
Created directory
"/home/click/images/tmp//mirror/dists/wheezy/main/debian-installer/binary-amd64"
Created directory "/home/click/images/tmp//mirror/lists"
Warning: No VerifyRelease line in 'default' or any rule it includes via
'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-base' or any rule it includes
via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-udebs' or any rule it includes
via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-security' or any rule it
includes via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
aptmethod got '
http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease'
aptmethod got '
http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease'
aptmethod got '
http://internal-update.clicksecurity.com/debiancd/dists/wheezy/InRelease'
aptmethod got 'http://security.debian.org/dists/wheezy/updates/InRelease'
WARNING: No signature found in
/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease,
assuming it is unsigned!
Missing checksums in Release file
'/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease'!
There have been errors!
gzip:
/home/click/images/tmp//mirror/lists/wheezy_default_deb_main_amd64.gz: No
such file or directory
Files /home/click/images/tmp//mirror/conf/package-list and
/home/click/images/tmp//mirror/conf/package-list.old differ
getting missing dependencies... attempt 1
Warning: No VerifyRelease line in 'default' or any rule it includes via
'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-base' or any rule it includes
via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-udebs' or any rule it includes
via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
Warning: No VerifyRelease line in 'default-security' or any rule it
includes via 'From:'.
Release.gpg cannot be checked unless you tell which key to check with.
(To avoid this warning and not check signatures add 'VerifyRelease:
blindtrust').
WARNING: No signature found in
/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease,
assuming it is unsigned!
Missing checksums in Release file
'/home/click/images/tmp//mirror/lists/default-udebs_wheezy_InRelease'!
There have been errors!
no new dependencies, finished in 2 attempts.
checking for missing dependencies with edos-debcheck:
/home/click/images/tmp//mirror/dists/wheezy/main/binary-amd64/Packages
Completing conflicts...                                            * 100.0%
Conflicts and dependencies...                                      * 100.0%
Solving                                                            * 100.0%
click-miner-gateway (= 0.9.4): FAILED
  click-miner-gateway (= 0.9.4) depends on missing:
  - python2.7
ERROR: missing required packages from profile default:  less
ERROR: missing required packages from profile default:  simple-cdd-profiles
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
./build_ISO: 16: ./build_ISO: --security-mirror: not found
Making images folder nice
rm: cannot remove `images/*.gz': No such file or directory
mv: cannot stat `images/*.iso': No such file or directory





and here is the script that starts the 'build' process:


#!/bin/sh

echo "Cleaning images folder"
rm -r -v images/*

echo "Building disk"
build-simple-cdd \
--conf profiles/mg.conf \
--dist wheezy \
--force-preseed \
--auto-profiles mg \
--local-packages click-miner-gateway \
--locale en_US \
--keyboard us \
--debian-mirror http://internal-update.clicksecurity.com/debiancd/
#--security-mirror http://internal-update.clicksecurity.com/debiancd/

echo "Making images folder nice"
rm -v images/*.gz
mv -v images/*.iso images/MG.iso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20130806/7df969b0/attachment.html>


More information about the Simple-cdd-devel mailing list