:: Re: [DNG] live-build
Etusivu
Poista viesti
Vastaa
Lähettäjä: Ozi Traveller
Päiväys:  
Vastaanottaja: aitor_-czr
Kopio: Dng
Aihe: Re: [DNG] live-build
Hi Aitor.

I ran the following and got this error.
E: Release signed by unknown key (key id CBF8D6FD518E17E1)

Ozi

lb clean --purge

lb init

lb config -a amd64 \
      --binary-images iso \
      --distribution jessie \
      --win32-loader false \
      --checksums md5 \
      --archive-areas "main" \
      --apt-recommends false \
      --apt aptitude \
      --apt-options --yes \
      --build-with-chroot false \
      --bootappend-live "boot=live config locales=en_US.UTF-8
keyboard-layouts=en" \
      --bootappend-live "boot=live config username=user" \
      --bootappend-live "boot=live config full_username=User" \
      --bootappend-live "boot=live config hostname=devuan"


lb bootstrap && lb chroot

[2015-09-29 06:20:19] lb build noauto
P: live-build 4.0.3
P: Building config tree for a debian/jessie/amd64 system
[2015-09-29 06:20:19] lb bootstrap
P: Setting up cleanup function
[2015-09-29 06:20:19] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2015-09-29 06:20:19] lb bootstrap_cdebootstrap
[2015-09-29 06:20:19] lb bootstrap_debootstrap
P: Begin bootstrapping system...
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: Release signed by unknown key (key id CBF8D6FD518E17E1)
P: Begin unmounting filesystems...
P: Saving caches...
chroot: failed to run command ‘/usr/bin/env’: No such file or directory

On Sun, Sep 20, 2015 at 6:19 PM, aitor_-czr <aitor_czr@???> wrote:

> Hi Ozi,
>
> You must type:
>
> # lb clean --purge
>
> Here you are an example:
>
> # lb init
>
> # lb config -a amd64 \
>       --binary-images iso \
>       --distribution jessie \
>       --win32-loader false \
>       --checksums md5 \
>       --archive-areas "main" \
>       --apt-recommends false \
>       --apt aptitude \
>       --apt-options --yes \
>       --build-with-chroot false \
>       --bootappend-live "boot=live config locales=en_US.UTF-8
> keyboard-layouts=en" \
>       --bootappend-live "boot=live config username=user" \
>       --bootappend-live "boot=live config full_username=User" \
>       --bootappend-live "boot=live config hostname=devuan"

>
> # lb bootstrap && lb chroot
>
> # mount -t none -o bind /proc chroot/proc
> # mount -t none -o bind /sys chroot/sys
> # mount -t none -o bind /dev/pts chroot/dev/pts
>
> If you want to run graphical applications inside the jail (for example,
> bleachbit), you must run outside it the following:
>
> $ xhost +
>
> # chroot chroot
>
> Customize your distro, clean the system, exit and umount the partitions:
>
> # umount chroot/proc
> # umount chroot/sys
> # umount chroot/dev/pts
>
> Before building, be sure chroot/proc is empty (if not, reboot the
> computer). Now build the content of the jail:
>
> # lb binary
>
> To clean the last step:
>
> # lb clean --binary
>
> To clean all:
>
> # lb clean --purge
>
> IMPORTANT NOTE: Like in git, it's important to check the hour. Don't be
> like me !
>
> Aitor.
>
> El 20/09/15 a las 00:09, Ozi Traveller escribió:
>
> Hi
>
> I added --build-with-chroot false as suggested
>
> But the build still fails.
>
> Is there something else I could try?
>
> Ozi
>
> [2015-09-20 08:05:08] lb clean
> P: Executing auto/clean script.
> [2015-09-20 08:05:08] lb clean noauto
> P: Cleaning chroot
> [2015-09-20 08:05:09] lb config
> P: Executing auto/config script.
> [2015-09-20 08:05:09] lb config noauto --mode debian --build-with-chroot
> false --distribution jessie --debian-installer-distribution jessie
> --debian-installer live --architectures amd64 --linux-flavours amd64
> --apt-recommends false --apt-secure true --apt-indices false
> --apt-source-archives false --archive-areas main contrib non-free
> --parent-mirror-bootstrap deb http://au.mirror.devuan.org/merged/ --parent-mirror-binary
> deb http://au.mirror.devuan.org/merged/ --mirror-bootstrap deb
> http://au.mirror.devuan.org/merged/ --mirror-binary deb
> http://au.mirror.devuan.org/merged/ --iso-application DIY Linux
> --iso-publisher DIY --iso-volume DIY Live --backports false --security
> false --updates false --memtest none --win32-loader false --debug --verbose
> --bootappend-live boot=live config components file=/preseed.cfg quiet
> splash autologin nouveau.modeset=0 radeon.modeset=0
> P: Updating config tree for a debian/jessie/amd64 system
> P: Symlinking hooks...
> [2015-09-20 08:05:09] lb build
> P: Executing auto/build script.
> [2015-09-20 08:05:09] lb build noauto
> P: live-build 4.0.3
> P: Building config tree for a debian/jessie/amd64 system
> [2015-09-20 08:05:09] lb bootstrap
> P: Setting up cleanup function
> [2015-09-20 08:05:09] lb bootstrap_cache restore
> P: Restoring bootstrap stage from cache...
> [2015-09-20 08:05:09] lb bootstrap_cdebootstrap
> [2015-09-20 08:05:09] lb bootstrap_debootstrap
> P: Begin bootstrapping system...
> 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
> E: unknown location deb/dists/jessie/Release
> P: Begin unmounting filesystems...
> P: Saving caches...
> chroot: failed to run command ‘/usr/bin/env’: No such file or directory
>
>
>

On Sun, Sep 20, 2015 at 6:19 PM, aitor_-czr <aitor_czr@???> wrote:

> Hi Ozi,
>
> You must type:
>
> # lb clean --purge
>
> Here you are an example:
>
> # lb init
>
> # lb config -a amd64 \
>       --binary-images iso \
>       --distribution jessie \
>       --win32-loader false \
>       --checksums md5 \
>       --archive-areas "main" \
>       --apt-recommends false \
>       --apt aptitude \
>       --apt-options --yes \
>       --build-with-chroot false \
>       --bootappend-live "boot=live config locales=en_US.UTF-8
> keyboard-layouts=en" \
>       --bootappend-live "boot=live config username=user" \
>       --bootappend-live "boot=live config full_username=User" \
>       --bootappend-live "boot=live config hostname=devuan"

>
> # lb bootstrap && lb chroot
>
> # mount -t none -o bind /proc chroot/proc
> # mount -t none -o bind /sys chroot/sys
> # mount -t none -o bind /dev/pts chroot/dev/pts
>
> If you want to run graphical applications inside the jail (for example,
> bleachbit), you must run outside it the following:
>
> $ xhost +
>
> # chroot chroot
>
> Customize your distro, clean the system, exit and umount the partitions:
>
> # umount chroot/proc
> # umount chroot/sys
> # umount chroot/dev/pts
>
> Before building, be sure chroot/proc is empty (if not, reboot the
> computer). Now build the content of the jail:
>
> # lb binary
>
> To clean the last step:
>
> # lb clean --binary
>
> To clean all:
>
> # lb clean --purge
>
> IMPORTANT NOTE: Like in git, it's important to check the hour. Don't be
> like me !
>
> Aitor.
>
> El 20/09/15 a las 00:09, Ozi Traveller escribió:
>
> Hi
>
> I added --build-with-chroot false as suggested
>
> But the build still fails.
>
> Is there something else I could try?
>
> Ozi
>
> [2015-09-20 08:05:08] lb clean
> P: Executing auto/clean script.
> [2015-09-20 08:05:08] lb clean noauto
> P: Cleaning chroot
> [2015-09-20 08:05:09] lb config
> P: Executing auto/config script.
> [2015-09-20 08:05:09] lb config noauto --mode debian --build-with-chroot
> false --distribution jessie --debian-installer-distribution jessie
> --debian-installer live --architectures amd64 --linux-flavours amd64
> --apt-recommends false --apt-secure true --apt-indices false
> --apt-source-archives false --archive-areas main contrib non-free
> --parent-mirror-bootstrap deb http://au.mirror.devuan.org/merged/
> --parent-mirror-binary deb http://au.mirror.devuan.org/merged/
> --mirror-bootstrap deb http://au.mirror.devuan.org/merged/
> --mirror-binary deb http://au.mirror.devuan.org/merged/ --iso-application
> DIY Linux --iso-publisher DIY --iso-volume DIY Live --backports false
> --security false --updates false --memtest none --win32-loader false
> --debug --verbose --bootappend-live boot=live config components
> file=/preseed.cfg quiet splash autologin nouveau.modeset=0 radeon.modeset=0
> P: Updating config tree for a debian/jessie/amd64 system
> P: Symlinking hooks...
> [2015-09-20 08:05:09] lb build
> P: Executing auto/build script.
> [2015-09-20 08:05:09] lb build noauto
> P: live-build 4.0.3
> P: Building config tree for a debian/jessie/amd64 system
> [2015-09-20 08:05:09] lb bootstrap
> P: Setting up cleanup function
> [2015-09-20 08:05:09] lb bootstrap_cache restore
> P: Restoring bootstrap stage from cache...
> [2015-09-20 08:05:09] lb bootstrap_cdebootstrap
> [2015-09-20 08:05:09] lb bootstrap_debootstrap
> P: Begin bootstrapping system...
> 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
> E: unknown location deb/dists/jessie/Release
> P: Begin unmounting filesystems...
> P: Saving caches...
> chroot: failed to run command ‘/usr/bin/env’: No such file or directory
>
>
>