← Back to team overview

touch-packages team mailing list archive

[Bug 1422433] [NEW] installed packages should be checked first when generating dependencies

 

Public bug reported:

dh_pythonX appears to go through the following series of checks when
generating dependencies for python packages:

1) check package specific pydist overrides
2) check for package in dh-python fallback files
3) check for package using dpkg -S

these last two steps appear the wrong way around (at least to me); we
are transitioning a number of python-oslo* packages due to upstream
switching to unnamespaced packages - however the check in 2) kicks in
first, so we end up with the old binary package names in generated
Depends.

Also the fallback files are generated from Debian unstable, so is not
great for Ubuntu first transitions.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: dh-python 1.20141111-2ubuntu1
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Feb 16 17:02:00 2015
Dependencies:
 
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-25 (83 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124)
PackageArchitecture: all
SourcePackage: dh-python
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dh-python (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dh-python in Ubuntu.
https://bugs.launchpad.net/bugs/1422433

Title:
  installed packages should be checked first when generating
  dependencies

Status in dh-python package in Ubuntu:
  New

Bug description:
  dh_pythonX appears to go through the following series of checks when
  generating dependencies for python packages:

  1) check package specific pydist overrides
  2) check for package in dh-python fallback files
  3) check for package using dpkg -S

  these last two steps appear the wrong way around (at least to me); we
  are transitioning a number of python-oslo* packages due to upstream
  switching to unnamespaced packages - however the check in 2) kicks in
  first, so we end up with the old binary package names in generated
  Depends.

  Also the fallback files are generated from Debian unstable, so is not
  great for Ubuntu first transitions.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: dh-python 1.20141111-2ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  Uname: Linux 3.18.0-13-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Feb 16 17:02:00 2015
  Dependencies:
   
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-11-25 (83 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124)
  PackageArchitecture: all
  SourcePackage: dh-python
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/1422433/+subscriptions


Follow ups

References