← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2125555] Re: Package 'libxml2' has no installation candidate

 

So:
1. a package with a debian/control with a Build-Depends of libxml2-dev[1]
2. when built[2] in an environment containing libxml2-dev[3],
3. the build environment pulls libxml2-16 as the non-build dependency,
4. the generated package depends on libxml2,
5. installing the generated package in the 25.04 environment only the virtual libxml2 to libxml2-16 (or any other ABI compatible package).

[1] https://github.com/RazvanLiviuVarzaru/server-mdb-razvan/blob/11.8/debian/control#L44
[2] https://buildbot.dev.mariadb.org/#/builders/767/builds/1
[3] https://github.com/MariaDB/buildbot/actions/runs/17801151481/job/50601022903

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libxml2 in Ubuntu.
https://bugs.launchpad.net/bugs/2125555

Title:
  Package 'libxml2' has no installation candidate

Status in libxml2 package in Ubuntu:
  New

Bug description:
  In Ubuntu-25.10

  apt-cache show libxml2
  N: Can't select versions from package 'libxml2' as it is purely virtual
  N: No packages found

  # apt-get install libxml2
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Package libxml2 is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source

  E: Package 'libxml2' has no installation candidate

  
  root@a9bf0ba19164:/# apt-get install libxml2-dev
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Solving dependencies... Done
  The following additional packages will be installed:
    libc-dev-bin libc6 libc6-dev libcrypt-dev libcrypt1 liblzma-dev liblzma5 libxml2-16 linux-libc-dev manpages manpages-dev rpcsvc-proto zlib1g zlib1g-dev
  Suggested packages:
    libc-devtools glibc-doc liblzma-doc pkgconf man-browser
  The following NEW packages will be installed:
    libc-dev-bin libc6-dev libcrypt-dev liblzma-dev libxml2-16 libxml2-dev linux-libc-dev manpages manpages-dev rpcsvc-proto zlib1g-dev
  The following packages will be upgraded:
    libc6 libcrypt1 liblzma5 zlib1g
  4 upgraded, 11 newly installed, 0 to remove and 63 not upgraded.
  Need to get 14.0 MB of archives.


  blocking https://jira.mariadb.org/browse/MDBF-1116

  
  install log

  https://buildbot.dev.mariadb.org/#/builders/774/builds/1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/2125555/+subscriptions



References