Skip to content

apt.llvm.org: libllvm22 Debian package depends on non existent libxml2 packageΒ #162751

@shmerl

Description

@shmerl

I noticed that on a fresh Debian system which doesn't have libxml2 package installed, libllvm22 fails to be installed from apt.llvm.org repo with such error:

sudo apt install libllvm22:amd64

Solving dependencies... Error!  
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:

Unsatisfied dependencies:
 libllvm22 : Depends: libxml2 (>= 2.7.4) but it is not installable
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
   Unable to satisfy dependencies. Reached two conflicting decisions:
   1. libllvm22:amd64=1:22~++20250812100635+8710571aba2b-1~exp1~20250812220820.3025 is selected for install
   2. libllvm22:amd64 Depends libxml2 (>= 2.7.4)
      but none of the choices are installable:
      [no choices]

Package currently has this in dependencies:

Depends: libc6 (>= 2.38), libedit2 (>= 2.11-20080614-0), libffi8 (>= 3.4), libgcc-s1 (>= 4.3), libstdc++6 (>= 12), libxml2 (>= 2.7.4), libz3-4 (>= 4.13.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.2.0)

However recent Debian has no libxml2 as separate package anymore (it used to have it as a metapackage, but it's now gone):

https://tracker.debian.org/pkg/libxml2

Can you please correct this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions