pbuilder expects debootstrap, gets cdebootstrap

Bug #40613 reported by Sami Haahtinen
18
Affects Status Importance Assigned to Milestone
pbuilder (Ubuntu)
Fix Released
Medium
Reinhard Tartler

Bug Description

On a clean install (Flight-6 -> upgraded) installing pbuilder pulls in cdebootstrap, while the default configuration expects debootstrap

Either the default configuration or the deps should be adjusted. Another way would be to make the default configuration say something like:

if [ -x /usr/bin/debootstrap ]; then
   DEBOOTSTRAP=/usr/bin/debootstrap
else
   DEBOOTSTRAP=/usr/bin/cdebootstrap
fi

The above is not the most sane option, there could be checks for cdebootstrap too and a proper fallback option. This is just a quick example ;)

Revision history for this message
Sami Haahtinen (ressu) wrote :

Hmm.. on second thought, cdebootstrap doesn't have scripts to set up dapper, it might be more sane to set up pbuilder to depend on debootstrap for now.

Revision history for this message
T-Bone (varenet) wrote :

Note: I got the same issue, it comes from the fact that cdebootstrap is in universe, while debootstrap is in main. The Depends: line reads:

Depends: cdebootstrap | debootstrap

if you have universe in your sources.list, it will pick cdebootstrap, and since pbuilderrc expects debootstrap, the tool won't work.

Needs to adjust dependencies, or fix cdeboostrap and the configuration...

HTH

Revision history for this message
Reinhard Tartler (siretart) wrote : patch

Changing the order is trivial and should help

Revision history for this message
Reinhard Tartler (siretart) wrote :

mdz: I think this should be okay for dapper-updates. Okay to upload my patch?

Revision history for this message
Reinhard Tartler (siretart) wrote :

I just uploaded a merged package to edgy, fixing this bug.

Changed in pbuilder:
status: Unconfirmed → Fix Committed
assignee: nobody → siretart
Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 40613] Re: pbuilder expects debootstrap, gets cdebootstrap

On Sat, Jun 17, 2006 at 10:19:11AM -0000, Reinhard Tartler wrote:
> mdz: I think this should be okay for dapper-updates. Okay to upload my
> patch?

Yes.

--
 - mdz

Changed in pbuilder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.