[Jaunty] pbuilder-dist does not recognize any distributions at all

Bug #334848 reported by Rolf Leggewie
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Low
Siegfried Gevatter
Jaunty
Fix Released
Low
Siegfried Gevatter

Bug Description

Binary package hint: ubuntu-dev-tools

$ pbuilder-dist jaunty create
Warning: Unknown distribution «jaunty». Do you want to continue [y/N]?
$ pbuilder-dist sid create
Warning: Unknown distribution «sid». Do you want to continue [y/N]?
$ pbuilder-dist gutsy create
Warning: Unknown distribution «gutsy». Do you want to continue [y/N]?
$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
  Installed: 0.64
  Candidate: 0.64
  Version table:
 *** 0.64 0
        500 http://jp.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Tags: jaunty
Revision history for this message
James Westby (james-w) wrote :

This works ok for me, can you include some more information from
your debugging session?

Thanks,

James

Changed in ubuntu-dev-tools:
status: New → Incomplete
Revision history for this message
Siegfried Gevatter (rainct) wrote :

You are missing package «debootstrap». Perhaps it should be added to ubuntu-dev-tools as a Suggests? (pbuilder itself depends on it, but allows cdebootstrap -which doesn't include the needed files- as an alternate depends; cowdancer doesn't depend on it at all).

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Siegfried and James, thank you for your comments. Siegfried, you are right on the money. I was wondering why it started to work all of the sudden. The reason was quite simply that I had installed pbuilder in the meantime which pulled in debootstrap.

Since pbuilder-dist seems to be pretty useless without debootstrap, I suggest to add a Depends on either pbuilder or debootstrap to ubuntu-dev-tools.

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Bug 334848] Re: [Jaunty] pbuilder-dist does not recognize any distributions at all

2009/2/26 Rolf Leggewie <email address hidden>:
> Since pbuilder-dist seems to be pretty useless without debootstrap, I
> suggest to add a Depends on either pbuilder or debootstrap to ubuntu-
> dev-tools.

A Depends is not an option, as there are lots of tools in
ubuntu-dev-tools and only pbuilder-dist needs debootstrap. A
Recommends may be used though (they are installed by default, but you
can still uninstall them if you want).

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Why is it not an option? The semantics are that of a Depends, unless pbuilder-dist is packaged separately. It is not solely a Recommends. The binary is unusable without debootstrap.

Revision history for this message
Siegfried Gevatter (rainct) wrote :

2009/2/26 Rolf Leggewie <email address hidden>:
> Why is it not an option?  The semantics are that of a Depends, unless
> pbuilder-dist is packaged separately.  It is not solely a Recommends.
> The binary is unusable without debootstrap.

But not everybody who installs ubuntu-dev-tools uses it. It would be a
Depends if pbuilder-dist had a package for itself, but not here where
it is only one out of many scripts.

Rolf Leggewie (r0lf)
Changed in ubuntu-dev-tools:
importance: Undecided → Low
status: Incomplete → Triaged
Revision history for this message
Iain Lane (laney) wrote :

But an option is to have pbuilder-dist (and more generally, all other scripts) check for the binaries they need and prompt the user to install them if not present.

Good idea?

Revision history for this message
Siegfried Gevatter (rainct) wrote :

2009/3/4 Iain Lane <email address hidden>:
> But an option is to have pbuilder-dist (and more generally, all other
> scripts) check for the binaries they need and prompt the user to install
> them if not present.
>
> Good idea?

Yes, iirc most scripts should actually already do this.

--
Siegfried-Angel Gevatter Pujals (RainCT)
Ubuntu Developer. Debian Contributor.

Changed in ubuntu-dev-tools:
assignee: nobody → rainct
status: Triaged → In Progress
Revision history for this message
Siegfried Gevatter (rainct) wrote :

ubuntu-dev-tools (0.66) UNRELEASED; urgency=low

  [ Siegfried-Angel Gevatter Pujals ]
  * debian/control:
     - Add "debootstrap" as a Recommends (LP: #334848).
  * pbuilder-dist:
     - Better error messages if cowbuilder/pbuilder/debootstrap isn't installed.

 -- Siegfried-Angel Gevatter Pujals <email address hidden> Wed, 04 Mar 2009 19:14:52 +0100

Changed in ubuntu-dev-tools:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.66

---------------
ubuntu-dev-tools (0.66) jaunty; urgency=low

  [ Siegfried-Angel Gevatter Pujals ]
  * debian/control:
     - Add "debootstrap" as a Recommends (LP: #334848).
  * pbuilder-dist:
     - Better error messages if cowbuilder/pbuilder/debootstrap isn't installed.

  [ Marco Rodrigues ]
  * Remove workaround for Debian madison, it works fine now.

  [ Nathan Handler ]
  * pull-debian-source:
    - Check if 'dget' is available
    - Update Copyright/License info
  * debian/copyright:
    - Update my copyright information

  [ Jonathan Davies ]
  * Added grab-merge from merges.ubuntu.com (LP: #155098).

 -- Jonathan Davies <email address hidden> Thu, 09 Mar 2009 17:01:19 +0000

Changed in ubuntu-dev-tools:
status: Fix Committed → Fix Released
Revision history for this message
Michael Bienia (geser) wrote :

Can you please move debootstrap to Recommends as intended? Currently it is in Depends.

Revision history for this message
Jonathan Davies (jpds) wrote :

Fixed in 0.68 upload.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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