[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613895: live-build: 'chroot/var/lib/apt/lists/*_Release*': No such file or directory



Package: live-build
Version: 2.0.12-2
Severity: normal

*** Please type your report below this line ***
When I created a Sid live with live-build 2.0.12-2 on Squeeze, it showed me:
cp: cannot stat `chroot/var/lib/apt/lists/*_Release*': No such file or directory

The commands to reproduce the problem:
========
lb config --archive-areas main
lb config --mirror-binary http://ftp.tw.debian.org/debian
lb config --mirror-bootstrap http://ftp.tw.debian.org/debian
lb config --mirror-chroot http://ftp.tw.debian.org/debian
lb config --bootstrap-flavour minimal --apt apt --apt-recommends false --binary-indices false --bootstrap cdebootstrap --tasksel none
lb config --volatile false
lb config --initramfs live-initramfs
lb config --username user --bootappend username=user
lb config --cache-indices true
lb config --binary-images iso-hybrid
lb config --distribution sid
lb config --linux-flavours 686
lb config --memtest none
lb build
========

The whole output and patch file are attached.

Steven.

-- Package-specific info:

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  cdebootstrap                  0.5.7      Bootstrap a Debian system
ii cdebootstrap-static 0.5.7 Bootstrap a Debian system - static
ii  debootstrap                   1.0.26     Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii cpio 2.11-4 GNU cpio -- a program to manage ar ii gnu-fdisk 1.2.4-3 Linux fdisk replacement based on l

Versions of packages live-build suggests:
ii dosfstools 3.0.9-1 utilities for making and checking
ii  fakeroot             1.14.4-1            Gives a fake root environment
ii genisoimage 9:1.1.11-1 Creates ISO-9660 CD-ROM filesystem ii grub 0.97-64 GRand Unified Bootloader (dummy pa
pn  memtest86+ | memtest <none>              (no description available)
ii mtools 4.0.12-1 Tools for manipulating MSDOS files ii parted 2.3-5 The GNU Parted disk partition resi ii squashfs-tools 1:4.0-8 Tool to create and append to squas ii sudo 1.7.4p4-2.squeeze.1 Provide limited super user privile
ii  syslinux             2:4.02+dfsg-7       collection of boot loaders
pn  uuid-runtime         <none>              (no description available)
pn  win32-loader         <none>              (no description available)

-- no debconf information


--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
P: Considering defaults defined in /etc/live/build.conf
P: Creating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree
P: Setting up cleanup function
P: Begin caching bootstrap stage...
P: Begin bootstrapping system...
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration, a caching proxy or the sid distribution.
P: Running cdebootstrap (download-only)...
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>"
P: Parsing Release
P: Retrieving Packages.gz
P: Validating Packages.gz
P: Parsing Packages
P: Retrieving libc-bin
P: Validating libc-bin
P: Retrieving gcc-4.4-base
P: Validating gcc-4.4-base
P: Retrieving libgcc1
P: Validating libgcc1
P: Retrieving libc6
P: Validating libc6
P: Retrieving libstdc++6
P: Validating libstdc++6
P: Retrieving zlib1g
P: Validating zlib1g
P: Retrieving libbz2-1.0
P: Validating libbz2-1.0
P: Retrieving libselinux1
P: Validating libselinux1
P: Retrieving libattr1
P: Validating libattr1
P: Retrieving libacl1
P: Validating libacl1
P: Retrieving coreutils
P: Validating coreutils
P: Retrieving liblzma2
P: Validating liblzma2
P: Retrieving xz-utils
P: Validating xz-utils
P: Retrieving dpkg
P: Validating dpkg
P: Retrieving readline-common
P: Validating readline-common
P: Retrieving libncurses5
P: Validating libncurses5
P: Retrieving libreadline6
P: Validating libreadline6
P: Retrieving libusb-0.1-4
P: Validating libusb-0.1-4
P: Retrieving gpgv
P: Validating gpgv
P: Retrieving gnupg
P: Validating gnupg
P: Retrieving debian-archive-keyring
P: Validating debian-archive-keyring
P: Retrieving apt
P: Validating apt
P: Retrieving mawk
P: Validating mawk
P: Retrieving base-files
P: Validating base-files
P: Retrieving base-passwd
P: Validating base-passwd
P: Retrieving sensible-utils
P: Validating sensible-utils
P: Retrieving debianutils
P: Validating debianutils
P: Retrieving dash
P: Validating dash
P: Retrieving bash
P: Validating bash
P: Retrieving bsdutils
P: Validating bsdutils
P: Retrieving diffutils
P: Validating diffutils
P: Retrieving e2fslibs
P: Validating e2fslibs
P: Retrieving perl-base
P: Validating perl-base
P: Retrieving liblocale-gettext-perl
P: Validating liblocale-gettext-perl
P: Retrieving libtext-iconv-perl
P: Validating libtext-iconv-perl
P: Retrieving libtext-charwidth-perl
P: Validating libtext-charwidth-perl
P: Retrieving libtext-wrapi18n-perl
P: Validating libtext-wrapi18n-perl
P: Retrieving debconf-i18n
P: Validating debconf-i18n
P: Retrieving debconf
P: Validating debconf
P: Retrieving libpam0g
P: Validating libpam0g
P: Retrieving libdb4.8
P: Validating libdb4.8
P: Retrieving libpam-modules
P: Validating libpam-modules
P: Retrieving passwd
P: Validating passwd
P: Retrieving libuuid1
P: Validating libuuid1
P: Retrieving libblkid1
P: Validating libblkid1
P: Retrieving libcomerr2
P: Validating libcomerr2
P: Retrieving libss2
P: Validating libss2
P: Retrieving sed
P: Validating sed
P: Retrieving ncurses-bin
P: Validating ncurses-bin
P: Retrieving lsb-base
P: Validating lsb-base
P: Retrieving tzdata
P: Validating tzdata
P: Retrieving libsepol1
P: Validating libsepol1
P: Retrieving mount
P: Validating mount
P: Retrieving sysvinit-utils
P: Validating sysvinit-utils
P: Retrieving insserv
P: Validating insserv
P: Retrieving sysv-rc
P: Validating sysv-rc
P: Retrieving initscripts
P: Validating initscripts
P: Retrieving libslang2
P: Validating libslang2
P: Retrieving util-linux
P: Validating util-linux
P: Retrieving e2fsprogs
P: Validating e2fsprogs
P: Retrieving findutils
P: Validating findutils
P: Retrieving grep
P: Validating grep
P: Retrieving gzip
P: Validating gzip
P: Retrieving hostname
P: Validating hostname
P: Retrieving libpam-runtime
P: Validating libpam-runtime
P: Retrieving login
P: Validating login
P: Retrieving ncurses-base
P: Validating ncurses-base
P: Retrieving sysvinit
P: Validating sysvinit
P: Retrieving tar
P: Validating tar
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration, a caching proxy or the sid distribution.
P: Running cdebootstrap...
P: Retrieving Release
P: Retrieving Release.gpg
P: Validating Release
I: Good signature from "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>"
P: Parsing Release
P: Validating Packages.gz
P: Parsing Packages
P: Validating libc-bin
P: Validating gcc-4.4-base
P: Validating libgcc1
P: Validating libc6
P: Validating libstdc++6
P: Validating zlib1g
P: Validating libbz2-1.0
P: Validating libselinux1
P: Validating libattr1
P: Validating libacl1
P: Validating coreutils
P: Validating liblzma2
P: Validating xz-utils
P: Validating dpkg
P: Validating readline-common
P: Validating libncurses5
P: Validating libreadline6
P: Validating libusb-0.1-4
P: Validating gpgv
P: Validating gnupg
P: Validating debian-archive-keyring
P: Validating apt
P: Validating mawk
P: Validating base-files
P: Validating base-passwd
P: Validating sensible-utils
P: Validating debianutils
P: Validating dash
P: Validating bash
P: Validating bsdutils
P: Validating diffutils
P: Validating e2fslibs
P: Validating perl-base
P: Validating liblocale-gettext-perl
P: Validating libtext-iconv-perl
P: Validating libtext-charwidth-perl
P: Validating libtext-wrapi18n-perl
P: Validating debconf-i18n
P: Validating debconf
P: Validating libpam0g
P: Validating libdb4.8
P: Validating libpam-modules
P: Validating passwd
P: Validating libuuid1
P: Validating libblkid1
P: Validating libcomerr2
P: Validating libss2
P: Validating sed
P: Validating ncurses-bin
P: Validating lsb-base
P: Validating tzdata
P: Validating libsepol1
P: Validating mount
P: Validating sysvinit-utils
P: Validating insserv
P: Validating sysv-rc
P: Validating initscripts
P: Validating libslang2
P: Validating util-linux
P: Validating e2fsprogs
P: Validating findutils
P: Validating grep
P: Validating gzip
P: Validating hostname
P: Validating libpam-runtime
P: Validating login
P: Validating ncurses-base
P: Validating sysvinit
P: Validating tar
P: Extracting libc-bin
P: Extracting gcc-4.4-base
P: Extracting libc6
P: Extracting libgcc1
P: Extracting libstdc++6
P: Extracting zlib1g
P: Extracting libselinux1
P: Extracting libattr1
P: Extracting libacl1
P: Extracting coreutils
P: Extracting liblzma2
P: Extracting xz-utils
P: Extracting libbz2-1.0
P: Extracting dpkg
P: Extracting libncurses5
P: Extracting mawk
P: Extracting base-files
P: Extracting base-passwd
P: Extracting sensible-utils
P: Extracting debianutils
P: Extracting dash
P: Extracting bash
P: Extracting bsdutils
P: Extracting diffutils
P: Extracting e2fslibs
P: Extracting perl-base
P: Extracting liblocale-gettext-perl
P: Extracting libtext-iconv-perl
P: Extracting libtext-charwidth-perl
P: Extracting libtext-wrapi18n-perl
P: Extracting debconf
P: Extracting debconf-i18n
P: Extracting libpam0g
P: Extracting libdb4.8
P: Extracting libpam-modules
P: Extracting passwd
P: Extracting libuuid1
P: Extracting libblkid1
P: Extracting libcomerr2
P: Extracting libss2
P: Extracting sed
P: Extracting ncurses-bin
P: Extracting lsb-base
P: Extracting tzdata
P: Extracting libsepol1
P: Extracting mount
P: Extracting sysvinit-utils
P: Extracting insserv
P: Extracting sysv-rc
P: Extracting initscripts
P: Extracting libslang2
P: Extracting util-linux
P: Extracting e2fsprogs
P: Extracting findutils
P: Extracting grep
P: Extracting gzip
P: Extracting hostname
P: Extracting libpam-runtime
P: Extracting login
P: Extracting ncurses-base
P: Extracting sysvinit
P: Extracting tar
P: Unpacking package dpkg
P: Configuring package dpkg
P: Configuring helper cdebootstrap-helper-rc.d
P: Configuring helper cdebootstrap-helper-makedev
P: Unpacking package libc-bin
P: Unpacking package gcc-4.4-base
P: Unpacking package libc6
P: Unpacking package libgcc1
P: Unpacking package libstdc++6
P: Unpacking package zlib1g
P: Unpacking package libselinux1
P: Unpacking package libattr1
P: Unpacking package libacl1
P: Unpacking package coreutils
P: Unpacking package liblzma2
P: Unpacking package xz-utils
P: Unpacking package libncurses5
P: Unpacking package mawk
P: Unpacking package base-files
P: Unpacking package base-passwd
P: Unpacking package sensible-utils
P: Unpacking package debianutils
P: Unpacking package libbz2-1.0
P: Unpacking package dash
P: Unpacking package bash
P: Unpacking package bsdutils
P: Unpacking package diffutils
P: Unpacking package e2fslibs
P: Unpacking package perl-base
P: Unpacking package liblocale-gettext-perl
P: Unpacking package libtext-iconv-perl
P: Unpacking package libtext-charwidth-perl
P: Unpacking package libtext-wrapi18n-perl
P: Unpacking package debconf
P: Unpacking package debconf-i18n
P: Unpacking package libpam0g
P: Unpacking package libdb4.8
P: Unpacking package libpam-modules
P: Unpacking package passwd
P: Unpacking package libuuid1
P: Unpacking package libblkid1
P: Unpacking package libcomerr2
P: Unpacking package libss2
P: Unpacking package sed
P: Unpacking package ncurses-bin
P: Unpacking package lsb-base
P: Unpacking package tzdata
P: Unpacking package libsepol1
P: Unpacking package mount
P: Unpacking package sysvinit-utils
P: Unpacking package insserv
P: Unpacking package sysv-rc
P: Unpacking package initscripts
P: Unpacking package libslang2
P: Unpacking package util-linux
P: Unpacking package e2fsprogs
P: Unpacking package findutils
P: Unpacking package grep
P: Unpacking package gzip
P: Unpacking package hostname
P: Unpacking package libpam-runtime
P: Unpacking package login
P: Unpacking package ncurses-base
P: Unpacking package sysvinit
P: Unpacking package tar
P: Configuring package ncurses-base
P: Configuring package sensible-utils
P: Configuring package libc-bin
P: Configuring package gcc-4.4-base
P: Configuring package libc6
P: Configuring package debianutils
P: Configuring package bsdutils
P: Configuring package perl-base
P: Configuring package libsepol1
P: Configuring package diffutils
P: Configuring package tar
P: Configuring package zlib1g
P: Configuring package libgcc1
P: Configuring package libtext-iconv-perl
P: Configuring package libncurses5
P: Configuring package libattr1
P: Configuring package e2fslibs
P: Configuring package base-passwd
P: Configuring package libcomerr2
P: Configuring package mawk
P: Configuring package libdb4.8
P: Configuring package grep
P: Configuring package hostname
P: Configuring package libacl1
P: Configuring package libslang2
P: Configuring package libss2
P: Configuring package findutils
P: Configuring package liblzma2
P: Configuring package insserv
P: Configuring package gzip
P: Configuring package liblocale-gettext-perl
P: Configuring package libbz2-1.0
P: Configuring package libselinux1
P: Configuring package libstdc++6
P: Configuring package libtext-charwidth-perl
P: Configuring package libtext-wrapi18n-perl
P: Configuring package dash
P: Configuring package coreutils
P: Configuring package ncurses-bin
P: Configuring package base-files
P: Configuring package sed
P: Configuring package debconf-i18n
P: Configuring package xz-utils
P: Configuring package sysvinit-utils
P: Configuring package bash
P: Configuring package debconf
P: Configuring package lsb-base
P: Configuring package libpam0g
P: Configuring package sysv-rc
P: Configuring package libpam-modules
P: Configuring package tzdata
P: Configuring package passwd
P: Configuring package libpam-runtime
P: Configuring package login
P: Configuring package libuuid1
P: Configuring package libblkid1
P: Configuring package mount
P: Configuring package initscripts
P: Configuring package util-linux
P: Configuring package sysvinit
P: Configuring package e2fsprogs
P: Unpacking package readline-common
P: Unpacking package libreadline6
P: Unpacking package libusb-0.1-4
P: Unpacking package gpgv
P: Unpacking package gnupg
P: Unpacking package debian-archive-keyring
P: Unpacking package apt
P: Configuring package readline-common
P: Configuring package libreadline6
P: Configuring package libusb-0.1-4
P: Configuring package gpgv
P: Configuring package gnupg
P: Configuring package debian-archive-keyring
P: Configuring package apt
P: Configuring helper cdebootstrap-helper-apt
P: Deconfiguring helper cdebootstrap-helper-apt
P: Deconfiguring helper cdebootstrap-helper-makedev
P: Writing apt sources.list
P: Writing hosts
P: Writing resolv.conf
P: Begin caching bootstrap stage...
P: Begin unmounting filesystems...
P: Setting up cleanup function
P: Begin caching chroot stage...
P: Begin mounting /dev/pts...
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/debian_chroot
P: Configuring file /sbin/start-stop-daemon
P: Configuring file /usr/sbin/policy-rc.d
P: Configuring file /usr/sbin/initctl
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/apt.conf
P: Configuring file /etc/apt/sources.list
Get:1 http://ftp.tw.debian.org sid InRelease [105 kB]
Get:2 http://ftp.tw.debian.org sid/main i386 Packages [9200 kB]
Get:3 http://ftp.tw.debian.org sid/main TranslationIndex [2232 B]
Fetched 9307 kB in 20s (446 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit http://ftp.tw.debian.org sid InRelease
Get:1 http://ftp.tw.debian.org sid/main i386 Packages/DiffIndex [2038 B]
Hit http://ftp.tw.debian.org sid/main TranslationIndex
Fetched 2038 B in 2s (1000 B/s)
Reading package lists... Done
cp: cannot stat `chroot/var/lib/apt/lists/*_Release*': No such file or directory
P: Begin unmounting filesystems...
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -394,9 +394,9 @@
 				cp -f cache/indices_bootstrap/*_Sources chroot/var/lib/apt/lists
 			fi
 
-			if Find_files cache/indices_bootstrap/*_Release*
+			if Find_files cache/indices_bootstrap/*Release*
 			then
-				cp -f cache/indices_bootstrap/*_Release* chroot/var/lib/apt/lists
+				cp -f cache/indices_bootstrap/*Release* chroot/var/lib/apt/lists
 			fi
 
 			if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
@@ -465,7 +465,7 @@
 					cp -f chroot/var/lib/apt/lists/*_Sources cache/indices_bootstrap
 				fi
 
-				cp -f chroot/var/lib/apt/lists/*_Release* cache/indices_bootstrap
+				cp -f chroot/var/lib/apt/lists/*Release* cache/indices_bootstrap
 			fi
 		fi
 

Reply to: