bind9-dyndb-ldap has unmet dependencies
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
bind-dyndb-ldap (Ubuntu) | Status tracked in Mantic | |||||
Focal |
Won't Fix
|
Undecided
|
Andreas Hasenack | |||
Jammy |
Fix Released
|
High
|
Andreas Hasenack | |||
Lunar |
Fix Committed
|
High
|
Andreas Hasenack | |||
Mantic |
Fix Released
|
High
|
Andreas Hasenack | |||
bind9 (Ubuntu) | Status tracked in Mantic | |||||
Mantic |
Invalid
|
High
|
Andreas Hasenack |
Bug Description
[ Impact ]
There is a tight coupling between src:bind-dyndb-ldap and src:bind9, such that everytime bind9 is updated, even if it's a simple no-change rebuild, src:bind-dyndb-ldap has to be rebuilt too.
This is often forgotten, leading to multiple repeated bugs against src:bind-
The fix for now is to rebuild src:bind-
Ideally this coupling shouldn't be that tight, and some ideas are floating around (see [1], [2], and [3]). But for now, I think this is the quickest way to avoid hitting this problem again in the near future.
1. https:/
2. https:/
3. https:/
[ Test Plan ]
The fix is to rebuild the src:bind-dyndb-ldap package with the current src:bind9 in the archive for the affected ubuntu release.
With the build succeeding, and the dyndb-ldap DEP8 test also passing, the verification can be considered successfull.
[ Where problems could occur ]
With this new DEP8 change, a bind9 update can be blocked by a bind-dyndb-ldap failure to build or run with it.
While this is exactly the intent (not leave a broken bind-dyndb-ldap package in the release), there is a history indicating that bind-dyndb-ldap can be late in catching up to bind9 changes. We may reach a situation where an important bind9 security update, for example, will be blocked by a failing dyndb-ldap test, and it may be difficult to fix bind-dyndb-ldap in time, specially if the security update is under embargo and the bind-dyndb-ldap developers do not yet have details of the changes.
[ Other Info ]
See also bug https:/
[Original Description]
bind9-dyndb-ldap cannot be installed on Ubuntu 22.04. It appears the bind0 package has been updated, but not bind9-dyndb-ldap:
~# apt install bind9 bind9-dyndb-ldap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
bind9-
E: Unable to correct problems, you have held broken packages.
~# apt-cache policy bind9
bind9:
Installed: (none)
Candidate: 1:9.18.1-1ubuntu1.1
Version table:
500 http://
500 http://
500 http://
~# apt-cache policy bind9-dyndb-ldap
bind9-
Installed: (none)
Candidate: 11.9-5build2
Version table:
500 http://
Related branches
- git-ubuntu bot: Approve
- Lucas Kanashiro (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 314 lines (+294/-0)3 files modifieddebian/changelog (+7/-0)
debian/tests/control (+7/-0)
debian/tests/dyndb-ldap (+280/-0)
- git-ubuntu bot: Approve
- Lucas Kanashiro (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 328 lines (+296/-1)4 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/tests/control (+7/-0)
debian/tests/dyndb-ldap (+280/-0)
tags: | added: server-todo |
Changed in bind-dyndb-ldap (Ubuntu Mantic): | |
status: | Confirmed → In Progress |
Changed in bind9 (Ubuntu Mantic): | |
importance: | Undecided → High |
Changed in bind-dyndb-ldap (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in bind-dyndb-ldap (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in bind-dyndb-ldap (Ubuntu Lunar): | |
importance: | Undecided → High |
Changed in bind-dyndb-ldap (Ubuntu Jammy): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
I'm having the same issue on ARM based packages.
bind01:~$ sudo apt install bind9-dyndb-ldap
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies: ports.ubuntu. com/ubuntu- ports jammy-updates/main arm64 Packages ports.ubuntu. com/ubuntu- ports jammy-security/main arm64 Packages dpkg/status 9.18.1- 1ubuntu1 500 ports.ubuntu. com/ubuntu- ports jammy/main arm64 Packages ports.ubuntu. com/ubuntu- ports jammy/universe arm64 Packages
bind9-dyndb-ldap : Depends: bind9-libs (= 1:9.18.1-1ubuntu1) but 1:9.18.1-1ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.
bind01:~$ apt-cache policy bind9
bind9:
Installed: 1:9.18.1-1ubuntu1.1
Candidate: 1:9.18.1-1ubuntu1.1
Version table:
*** 1:9.18.1-1ubuntu1.1 500
500 http://
500 http://
100 /var/lib/
1:
500 http://
bind01:~$ apt-cache policy bind9-dyndb-ldap
bind9-dyndb-ldap:
Installed: (none)
Candidate: 11.9-5build2
Version table:
11.9-5build2 500
500 http://