debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #08414
[Bug 2125555] Re: Package 'libxml2' has no installation candidate
Hi,
Sorry, but that's not how you're supposed to deal with library
dependencies. The idea is to build-dep on the -dev package, and then let
the shlib system take care of selecting the proper runtime dependency,
making it much easier for ABI transitions, as happened with libxml2.
Here you have:
Package: mariadb-plugin-connect
Architecture: any
Depends: libxml2,
mariadb-server (= ${server:Version}),
unixodbc,
${misc:Depends},
${shlibs:Depends}
That last line is the one that should generate the libxml2-16 dependency
automatically. If it doesn't, then you might want to look more into
shlibs. In any case, it is *not* a bug in Ubuntu: libxml2 broke ABI, so
we changed the binary package name to reflect that (or rather, we
followed Debian :-) ).
The fact that `libxml2` (without a -ABI suffix) was available before,
*that* was the bug.
** Changed in: libxml2 (Ubuntu)
Status: New => Invalid
--
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:
Invalid
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