On Tue, Sep 17, 2013 at 03:46:52AM +0200, Cyril Brulebois wrote:
> running edos-debcheck on debian-installer Packages files, I noticed
> libmount1-udeb is uninstallable, as it depends on libselinux1.

For those interested in squashing this bug, I'll share my analysis. A
dependency from a udeb on a non-udeb is outright wrong. The reason why
it happened here is that when dpkg-shlibdeps is invoked with -tudeb, it
disregards .symbols files and just looks at .shlibs files. It primarily
looks for lines prefixed with "udeb: ", but failing to find those falls
back to regular lines, which happened for libselinux1. The reason for
why this happened is that there is no libselinux1-udeb. This leaves
three ways of fixing this bug:

1) Remove libmount1-udeb. There is no user within d-i anyway (verify
   this claim, before actually doing so).

2) Build util-linux twice, once with selinux for .deb and once without
   selinux for .udeb. After choosing this option #581631 is easy to fix
   as well.

3) Teach libselinux to provide libselinux1-udeb and rebuild util-linux.

None of these options look like they should be done via a NMU.

Thanks to KiBi for helping me understand the issues beneath.

Helmut


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to