Package 'libbind-dev' has no installation candidate

Asked by Jayeshkumar Bhoi

Hello,

Just last week below command work fine but from yesterday it started failing

apt update && \
  apt install --no-install-recommends --no-upgrade -y \
    libbind-dev \

While running above command it give error below

7.831 Package libbind-dev is not available, but is referred to by another package.
7.831 This may mean that the package is missing, has been obsoleted, or
7.831 is only available from another source
7.831 However the following packages replace it:
7.831 bind9-dev
7.831
7.836 E: Package 'libbind-dev' has no installation candidate

So does this package renamed or obsoleted? How do i fix this issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bind9-libs Edit question
Assignee:
No assignee Edit question
Solved by:
Jayeshkumar Bhoi
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Have you read the error message?
"However the following packages replace it: bind9-dev "

Are you sure that you need libbind-dev or is it possible to use the replacement package bind9-dev instead?

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
apt policy bind9-dev

Revision history for this message
Jayeshkumar Bhoi (jayeshbhoi) said :
#2

Hello I am using Ubuntu image with latest tag in docker image.

Just going back to specific tag i.e ubuntu:jammy-20240227 fixed this issue.