[Bug 364808] Re: pbuilder: Invalid Release file, no valid components

Igor Gomes igorgomes at gmx.net
Tue Apr 21 21:25:15 UTC 2009


I've debugged the whole procedure and got the following:

If started as I stated on the bug I got the attached debug trace. Notice
the comparison (my command/debug line):

pbuilder create --distribution jaunty --othermirror "deb http://br.archive.ubuntu.com/ubuntu/ jaunty main restricted multiverse universe"
debootstrap --variant=buildd jaunty . http://archive.canonical.com/ubuntu

So, it was wrongly parsed my command into this line. Tracking the
execution, I checked that the script pbuilder-checkparams get the
OTHERMIRRORS option:

-----
	--othermirror)
	    OTHERMIRROR="$2";
-----

But it is not used by pbuilder-createbuildenv (line 65):

-----
if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then
    echo "pbuilder: $DEBOOTSTRAP failed" >&2
    exit 1
fi
-----

Only mirror side is used.

This is way the wrong parse happens.

Igor Gomes


** Attachment added: "Debug - Wrong parse"
   http://launchpadlibrarian.net/25835143/pbuilder-debug

-- 
pbuilder: Invalid Release file, no valid components
https://bugs.launchpad.net/bugs/364808
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list