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

Petr Vorel pvorel@suse.cz
Mon Jun 19 12:31:40 CEST 2023


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.

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



More information about the ltp mailing list