[LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2
Cyril Hrubis
chrubis@suse.cz
Mon Jun 19 12:34:50 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?
> Reported-by: Li Wang <liwang@redhat.com>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> ci/debian.minimal.sh | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/ci/debian.minimal.sh b/ci/debian.minimal.sh
> index c314d93fe..b51154b05 100755
> --- a/ci/debian.minimal.sh
> +++ b/ci/debian.minimal.sh
> @@ -1,5 +1,5 @@
> #!/bin/sh
> -# Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
> +# Copyright (c) 2018-2023 Petr Vorel <pvorel@suse.cz>
> set -ex
>
> apt="apt remove -y"
> @@ -11,7 +11,6 @@ $apt \
> libaio-dev \
> libaio1 \
> libcap-dev \
> - libcap2 \
> libkeyutils-dev \
> libnuma-dev \
> libnuma1 \
> --
> 2.41.0
>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list