Dear Hugh.

On Fri, Apr 04, 2025 at 11:18:36AM +1100, Hugh McMaster wrote:
> libbz2-dev is a dependency of libfreetype-dev. libbz2-dev also installs the
> pkg-config file bzip2.pc in /usr/share/pkgconfig/bzip2.pc.
> [..]
> If libbz2-dev is not installed, then your system is misconfigured.

I missed libbz2-dev, because I had expected a package name like
libbzip2-dev. In retrospect, libbzip3-dev got me on the wrong track.

Anyhow, bumping the package fixes all problems.

# apt install libbz2-dev
[..]
Preparing to unpack .../libbz2-dev_1.0.8-6_amd64.deb ...
Unpacking libbz2-dev:amd64 (1.0.8-6) over (1.0.8-5+b1) ...
[..]
$ find /usr/ -name bzip2.pc
/usr/share/pkgconfig/bzip2.pc

(now everything is working as expected)

Clearly the libbz2-dev upgrade was missed, which may be due to
misconfiguration. I wonder how to avoid such misconfiguration, since I
do not remember having configured much.

Trying to reproduce...

# apt install libbz2-dev=1.0.8-5+b1
[..]
Unsatisfied dependencies:
 libbz2-dev : Depends: libbz2-1.0 (= 1.0.8-5+b1) but 1.0.8-6 is to be
 installed
 Error: Unable to correct problems, you have held broken packages.
# apt install libbz2-dev=1.0.8-5+b1 libbz2-1.0=1.0.8-5+b1
[..]
# find /usr/ -name bzip2.pc
(nothing)

What should have triggered the upgrade? Does this not indicate the need
of a dependency on a more recent libbz2-dev in libfreetype-dev?

If this is considered "normal" in testing, please feel free to close the
bug.

Thanks for your help
Felix

Reply via email to