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

RE: debootstrap doesn't use configured categories/components

Hi I have just tried running lh_build and the process keeps stoppiing and giving this error message: I have tried both apt and aptitude and tried changing the repository URL's from uk to us with the same result. I don't know if this is caused by live-helper or the Debian repositories, but not sure who else to inform.

W: Failed to fetch http://ftp.uk.debian.org/debian/dists/lenny/Release  Unable to find expected entry  config/binary-i386/Packages in Meta-index file (malformed Release file?)

W: Failed to fetch http://security.debian.org/dists/lenny/updates/Release  Unable to find expected entry  config/binary-i386/Packages in Meta-index file (malformed Release file?)

From: Daniel Baumann [daniel@debian.org]
Sent: 17 November 2009 12:25
To: Debian Live
Subject: Re: debootstrap doesn't use configured categories/components

Kai Hendry wrote:
> Instead I propose a parameter expansion. I'm a little wary of
> parameter expansions as I rarely seem them in other shells except
> bash, hence aren't they bashisms?

in general, expansions are not bashisms. some of them are posix (like
the 'simple' ones: ${foo:-bar} etc.).

it's not accurate and covers false negatives, but a rule of thumb is
that expansions of the form ${foo:#sign#bar} (where '#sign#' is
something like -, +, #, etc.) are posix, whereas everything else is a
special feature of the respective shell.

> ${LH_ARCHIVE_AREAS//[[:space:]]/,}"

however, this specific one is a bashism.

> There is still a trailing comma if someone does a trailing space, e.g.
> --archive-areas "main contrib non-free "

yep, that sort of sucks as well. now that we are 'free' again to break
stuff in live-helper 2.0~a1 (where i'll be sending some roadmap and
ideas somewhen in the next days), we have the possibility of cleaning
that mess up and parse (and also sanitize) arguments/options once lh is
invoked (rather than for every helper).

Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/

To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: