package python3-ldb-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/pyldb-util.pc', which is also in package python-ldb-dev 2:1.1.24-1ubuntu3

Bug #1614936 reported by Walter
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ldb (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

apt-get upgrade

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python3-ldb-dev (not installed)
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Fri Aug 19 14:19:23 2016
DuplicateSignature:
 package:python3-ldb-dev:(not installed)
 Unpacking python3-ldb-dev (2:1.1.24-1ubuntu3) ...
 dpkg: error processing archive /var/cache/apt/archives/python3-ldb-dev_2%3a1.1.24-1ubuntu3_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/pyldb-util.pc', which is also in package python-ldb-dev 2:1.1.24-1ubuntu3
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/pyldb-util.pc', which is also in package python-ldb-dev 2:1.1.24-1ubuntu3
InstallationDate: Installed on 2016-07-26 (23 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: ldb
Title: package python3-ldb-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/pyldb-util.pc', which is also in package python-ldb-dev 2:1.1.24-1ubuntu3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Walter (walt-k) wrote :
tags: removed: need-duplicate-check
Nish Aravamudan (nacc)
Changed in ldb (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Python3-ldb-dev only exists in Xenial - >=Yakkety it got dropped again.
>=Zesty it is a sync again and it never existed in Debian.

This came in via:
ldb (2:1.1.24-1ubuntu3) xenial; urgency=medium
  * Build Python3 bindings.
[...]
 -- Matthias Klose <email address hidden> Thu, 18 Feb 2016 18:17:39 +0100

There was no bug linked that explains the reasoning to add one in more Detail.
I followed how this was dropped again.
In zesty it became a sync for the minor fixes being in Debian now.
But the python3 things got dropped in:

ldb (2:1.1.26-1ubuntu3) yakkety; urgency=medium
  * Drop python3 packages again. No reverse dependencies, and
    python3-talloc-dev is NBS.
 -- Martin Pitt <email address hidden> Wed, 07 Sep 2016 08:43:24 +0200

While python3-talloc-dev exists in Xenial (and only there) it still has no dependencies at all.
$ reverse-depends --release=xenial python3-ldb-dev
No reverse dependencies found

I'd say we might drop python3-ldb-dev from Xenial as well, but since it is released it will never fully drop - unsure what to do about that. Maybe make it an empty package?

Also Doko might have had very specific reasons to add it we just don't know.
So I subscribe him for his general expertise on what to do as well as his specific expertise on this case and why it was added in the first place.

Revision history for this message
Matthias Klose (doko) wrote :

we will re-add that, trying to get samba built using Python3 for the next LTS. I think the package can be removed in xenial too.

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

The two packages only co-exist in Xenial, which has reached its end of standard support.

$ rmadison python3-ldb-dev
 python3-ldb-dev | 2:1.1.24-1ubuntu3 | xenial | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python3-ldb-dev | 2:1.1.24-1ubuntu3.2 | xenial-security | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python3-ldb-dev | 2:1.1.24-1ubuntu3.2 | xenial-updates | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python3-ldb-dev | 2:2.0.8-2 | focal | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3-ldb-dev | 2:2.0.10-0ubuntu0.20.04.3 | focal-security | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3-ldb-dev | 2:2.0.10-0ubuntu0.20.04.3 | focal-updates | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3-ldb-dev | 2:2.2.0-3ubuntu2 | hirsute | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
 python3-ldb-dev | 2:2.2.0-3.1 | impish | amd64, arm64, armhf, i386, ppc64el, riscv64, s390x

$ rmadison python-ldb-dev
 python-ldb-dev | 1:1.1.4-1 | precise/universe | amd64, armel, armhf, i386, powerpc
 python-ldb-dev | 1:1.1.4-1ubuntu0.1 | precise-security/universe | amd64, armel, armhf, i386, powerpc
 python-ldb-dev | 1:1.1.4-1ubuntu0.1 | precise-updates/universe | amd64, armel, armhf, i386, powerpc
 python-ldb-dev | 1:1.1.16-1 | trusty | amd64, arm64, armhf, i386, powerpc, ppc64el
 python-ldb-dev | 1:1.1.24-0ubuntu0.14.04.2 | trusty-security | amd64, arm64, armhf, i386, powerpc, ppc64el
 python-ldb-dev | 1:1.1.24-0ubuntu0.14.04.2 | trusty-updates | amd64, arm64, armhf, i386, powerpc, ppc64el
 python-ldb-dev | 2:1.1.24-1ubuntu3 | xenial | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python-ldb-dev | 2:1.1.24-1ubuntu3.2 | xenial-security | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python-ldb-dev | 2:1.1.24-1ubuntu3.2 | xenial-updates | amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
 python-ldb-dev | 2:1.2.3-1 | bionic | amd64, arm64, armhf, i386, ppc64el, s390x
 python-ldb-dev | 2:1.2.3-1ubuntu0.2 | bionic-security | amd64, arm64, armhf, i386, ppc64el, s390x
 python-ldb-dev | 2:1.2.3-1ubuntu0.2 | bionic-updates | amd64, arm64, armhf, i386, ppc64el, s390x

Changed in ldb (Ubuntu):
status: Confirmed → Won't Fix
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.