live-build (lb_chroot_linux-image) does not support jessie (Contents-i386.gz ... ERROR 404: Not Found)

Richard Bouck richard.bouck at gecoinc.com
Tue Oct 14 23:59:40 UTC 2014


I received the following error while attempting a live-build of Debian
testing distribution "jessie".  I received similar errors with Debian 7.1
and Ubuntu 14.04.  The example below is from the Ubuntu environment using
live-build version 3.0~a57-1ubuntu11.  Please let me know if live-build
should support the jessie distribution or what else I should do?  See
details below.

Thanks,
Rick

============================
Failure:

[2014-10-14 15:20:56] lb_chroot_linux-image --verbose
--2014-10-14 15:20:56--
http://http.us.debian.org/debian//dists/jessie/Contents-i386.gz
Resolving http.us.debian.org (http.us.debian.org)... 64.50.233.100,
64.50.236.52, 128.61.240.89, ...
Connecting to http.us.debian.org (http.us.debian.org)|64.50.233.100|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2014-10-14 15:20:56 ERROR 404: Not Found.


gzip: stdin: unexpected end of file

============================
Temporary work-around:
File: /usr/lib/live/build/lb_chroot_linux-image

Summary: Add ${LB_ARCHIVE_AREAS}/ to path in "wget" command for
"--distribution jessie"

replace:
# Get all firmware packages names mkdir -p cache/contents.chroot wget
${WGET_OPTIONS}
${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz
-O - | gunzip -c >
cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}


with:
# Get all firmware packages names
mkdir -p cache/contents.chroot
if [ ${LB_PARENT_DISTRIBUTION} = "jessie" ]
then
wget ${WGET_OPTIONS}
${LB_PARENT_MIRROR_CHROOT}./dists/${LB_PARENT_DISTRIBUTION}/${LB_ARCHIVE_AREAS}/Contents-${LB_ARCHITECTURES}.gz
-O - | gunzip -c >
cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
else
wget ${WGET_OPTIONS}
${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz
-O - | gunzip -c >
cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
fi

=========================================
lb config setting (auto/config)

#!/bin/sh

set -e

lb config noauto \
--architectures i386 \
--linux-flavours 686-pae \
--apt-recommends false \
--cache true \
--cache-indices true \
--cache-packages true \
--cache-stages bootstrap \
--binary-images iso-hybrid \
--distribution jessie \
--memtest none \
--mode debian \
--bootloader grub \
--system live \
--backports false \
--bootappend-live "boot=live config silent quickreboot noeject noautologin
username=user" \
--verbose \
--mirror-bootstrap http://http.us.debian.org/debian/ \
--mirror-chroot-security http://security.debian.org/ \
"${@}"

============================
live-build info:

geco at geco-VirtualBox:~/src/live-build-3.0~a57/scripts/build$ which
live-build
/usr/bin/live-build
geco at geco-VirtualBox:~/src/live-build-3.0~a57/scripts/build$ type live-build
live-build is /usr/bin/live-build
geco at geco-VirtualBox:~/src/live-build-3.0~a57/scripts/build$ dpkg -s
live-build
Package: live-build
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 808
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: all
Version: 3.0~a57-1ubuntu11
Depends: debootstrap | cdebootstrap | cdebootstrap-static
Recommends: cpio
Suggests: dosfstools, genisoimage, git, memtest86+ | memtest86, mtools,
parted, squashfs-tools | mtd-tools, sudo | fakeroot, syslinux | grub,
uuid-runtime, win32-loader, gnu-fdisk
Breaks: livecd-rootfs (<< 2.75)
Description: Debian Live - System build scripts
 live-build contains the scripts that build a Debian Live system image from
a
 configuration directory.
Homepage: http://live.debian.net/devel/live-build/
Original-Maintainer: Debian Live Project <debian-live at lists.debian.org>

================================================
full --verbose build.log is attached.

Let me know if you need or have additional information.

Thanks,
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20141014/819f055d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 35729 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20141014/819f055d/attachment.obj>


More information about the Ubuntu-devel-discuss mailing list