What am I doing wrong?
Hello everybody
I get a error running lb build with this message
: Executing: sh binary.sh
E: Invalid operation APT::FTPArchive::Release::Codename=mydistro
LH='1'
P: Begin unmounting filesystems...
I set up a local partial mirror (reprepro) with mydistro distribution
squeeze based.
The lb config command is
lb config -a i386 -b usb-hdd -d mydistro \
--archive-areas "main contrib non-free" --language es \
--binary-indices false \
--security false \
--source false \
--verbose --debug --breakpoints \
--debian-installer true \
--language es \
--memtest none \
--mirror-bootstrap $MIRROR_SERVER \
--mirror-binary $MIRROR_SERVER \
--mirror-binary-security $MIRROR_SERVER \
--mirror-chroot $MIRROR_SERVER \
--mirror-chroot-security $MIRROR_SERVER \
--mirror-debian-installer $MIRROR_SERVER \
--bootappend-live "live-config.locales=es" \
--debian-installer-gui true
The (wrong) solution to this is delete the line 617
-o APT::FTPArchive::Release::Version="${_VERSION}" \
in file
/usr/share/live/build/scripts/build/lb_binary_debian-installer
because the _VERSION variable is empty but I suppose I am doing something wrong.
--
José Luis Zabalza
jlz.3008 a t gmail.com
Linux Counter 172551
Reply to: