Re: cannot create chroot/etc/debian_chroot: Directory nonexistent @ ubuntu
On 01/26/2011 07:37 AM, '2+ wrote:
> this is on ubuntu-maverick installed on an usb-hdd
> lh config -d sid -a i386 --packages "vim-nox alsa-utils dvtm htop
> python python-pygame ghc6 haskell-platform c2hs libsndfile1-dev
> libasound2-dev caca-utils mutt sfront csound vorbis-tools sox mpg321
> yatm xine-console ecasound ghc6 live-helper mplayer rubberband-cli"
> lh build
Which version of live-build (formerly known as live-helper)? Please
ensure you're using the latest.
> resulted into:
> P: Creating config tree
> P: Setting up cleanup function
> P: Begin caching bootstrap stage...
> W: skipping bootstrap_cache.restore
All of these "W:" indicate you've done this before. That is, you ran a
prior "lh config" and "lh build" in the directory, possibly with some
wrong values (e.g. -d specifying an invalid codename). Please start
fresh, in a fresh directory with the above config. Things will probably
go better for you.
Better yet, use auto/* as described here:
This avoids the problem of rerunning with an unclean configuration
because the configuration will be generated cleanly each time with
Also, make it your habit to "lb clean" between builds when you change
your config, as most config changes alter things in both the chroot &
binary stages, so they must be regenerated completely and cannot be
reused from cached copies.