[LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2

Petr Vorel pvorel@suse.cz
Mon Jun 19 13:29:38 CEST 2023


> Hi!
> > Trying to remove libcap2 for minimal environment no longer works for
> > Debian 12 bookworm (the new Debian stable release). It looks like
> > libcap2 is required by apt itself:

> > apt remove -y libcap2
> > The following packages have unmet dependencies:
> >  apt : Depends: libapt-pkg6.0 (>= 2.6.1) but it is not going to be installed
> >        Depends: libsystemd0
> >  bsdutils : PreDepends: libsystemd0
> >  util-linux : PreDepends: libsystemd0
> > E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

> Shouldn't be removal of libcap-dev enough for us not to compile LTP
> against it? Why do we remove libcap2 in the first place?

Yes, you're right. I'm not sure now, but removing libcap-dev was probably enough
even back then.

NOTE: the other error (on debian stable) is metadata generation with asciidoc,
where it miss docbook2x package. I'll send a patch instead of directly fixing
it.

Kind regards,
Petr


More information about the ltp mailing list