Hi Ozi, Please always reply to the list (and no need to CC me since I'm subscribed).
2 things: - Are you sure that you want _MIRROR_BINARY to point to apt-cacher-ng? That means that you need to install apt-cacher-ng on each image you create (since you're using localhost) and each instance will create it's own cache, thereby kind of defeating the purpose ... - 'http.debian.org/debian/' is not a valid mirror, 'http.debian.net/debian/' is though It would also help if you specify which version of live-build you're running and which commands you ran (I doubt you created the auto/config file by hand). Cheers, Diederik On Tuesday 15 July 2014 06:53:29 Ozi Traveller wrote: > Hi Diederick > > Sorry to bother you. > > I have /etc/live/build.conf setup as above > and this is my /auto/config file: > > #!/bin/sh > > set -e > > _DISTRIBUTION="wheezy" > _ARCHITECTURES="amd64" > _LINUX_FLAVOURS="amd64" > _ARCHIVE_AREAS="main contrib non-free" > _SOURCE="false" > _MIRROR_BINARY="http://localhost:3142/http.debian.org/debian/" > lb config noauto \ > --mode debian \ > --distribution "${_DISTRIBUTION}" \ > --debian-installer-distribution "${_DISTRIBUTION}" \ > --debian-installer live \ > --architectures "${_ARCHITECTURES}" \ > --linux-flavours "${_LINUX_FLAVOURS}" \ > --apt-recommends false \ > --apt-options "--yes --no-install-recommends" \ > --apt-secure true \ > --apt-indices false \ > --apt-source-archives false \ > --archive-areas "${_ARCHIVE_AREAS}" \ > --parent-mirror-bootstrap "${_MIRROR_BINARY}" \ > --parent-mirror-binary "${_MIRROR_BINARY}" \ > --mirror-bootstrap "${_MIRROR_BINARY}" \ > --mirror-binary "${_MIRROR_BINARY}" \ > --iso-application "Star Linux" \ > --iso-publisher "Star" \ > --iso-volume "Star Live" \ > --backports true \ > --security false \ > --updates false \ > --memtest none \ > --win32-loader false \ > --debug \ > --verbose \ > --bootappend-live "boot=live config quiet splash autologin > nouveau.modeset=0 radeon.modeset=0" \ > "${@}" > > > This is my build log: > > [2014-07-15 06:48:11] lb build noauto > [2014-07-15 06:48:11] lb bootstrap > P: Setting up cleanup function > [2014-07-15 06:48:12] lb bootstrap_cache restore > P: Restoring bootstrap stage from cache... > [2014-07-15 06:48:12] lb bootstrap_cdebootstrap > [2014-07-15 06:48:12] lb bootstrap_debootstrap > P: Begin bootstrapping system... > [2014-07-15 06:48:12] lb testroot > P: If the following stage fails, the most likely cause of the problem is > with your mirror configuration or a caching proxy. > P: Running debootstrap (download-only)... > I: Retrieving Release > I: Retrieving Release.gpg > I: Checking Release signature > E: Error executing gpgv to check Release signature > P: Begin unmounting filesystems... > P: Saving caches... > chroot: failed to run command `/usr/bin/env': No such file or directory > > Is there something else I should have done? I must have missed something, > but don't what that might be. Any Ideas? > > Cheers > Ozi > > > > > On Wed, Jul 9, 2014 at 6:39 AM, Diederik de Haas <didi.deb...@cknow.org> > > wrote: > > On Wednesday 09 July 2014 06:08:02 Ozi Traveller wrote: > > > Has anyone setup an apt repo on the same pc as live-build? If so, how? > > > > It's not an apt repo, but I'm using apt-cacher-ng which caches downloaded > > packages, so they don't need to be downloaded again. > > If you install it on the same pc, then config live-build as follows: > > > > $ cat /etc/live/build.conf > > LB_MIRROR_BOOTSTRAP="http://localhost:3142/ftp.debian.org/debian/" > > LB_MIRROR_CHROOT_SECURITY="http://localhost:3142/security.debian.org/" > > LB_MIRROR_CHROOT_BACKPORTS="http://localhost:3142/ftp.debian.org/debian/" > > > > HTH -- GPG: 0x138E41915C7EFED6
signature.asc
Description: This is a digitally signed message part.