[backportpackage] Can't create backports on Debian systems

Bug #823832 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hi,

On a sid machine:

  laney@raleigh> DEB_VENDOR=Debian backportpackage -u ppa:laney/ppa -s maverick -d lucid tuxguitar
  backportpackage: Error: Unknown release codename maverick

I guess this is because distro-info uses the running distro to tell you what releases are available. If it has the facility, you should force it to always tell you about Ubuntu releases. Or if not, then this needs to be fixed there first.

Cheers,
Iain

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Benjamin Drung (bdrung) wrote :

This is a problem of codename_to_distribution in ubuntutools/misc.py. When DEB_VENDOR is set to Debian, Ubuntu won't be found.

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Triaged
description: updated
Revision history for this message
Stefano Rivera (stefanor) wrote :

We generally require DEB_VENDOR=Ubuntu when doing ubuntu dev on Debian (the relevant u-d-t scripts should be setting this).
This still requires the user to manually create /etc/dpkg/origins/ubuntu (entirely undocumented, but you need it to close launchpad bugs in .changes files)

Benjamin Drung (bdrung)
Changed in ubuntu-dev-tools (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-dev-tools (0.130) unstable; urgency=low

  * pull-lp-source: Support source packages with a bad version string
    (LP: #844682).
  * backportpackage:
    - Search for newer versions in -{updates,security} on Ubuntu (LP: #823833).
    - Use Ubuntu and Debian as fall back check in codename_to_distribution to
      allow backporting to Ubuntu from a Debian system (LP: #823832).

 -- Benjamin Drung <email address hidden> Thu, 08 Sep 2011 22:04:11 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
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.