ltp.lists.linux.it archive mirror
 help / color / mirror / Atom feed
* [LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2
@ 2023-06-19 10:31 Petr Vorel
  2023-06-19 10:34 ` Cyril Hrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2023-06-19 10:31 UTC (permalink / raw)
  To: ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2
  2023-06-19 10:31 [LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2 Petr Vorel
@ 2023-06-19 10:34 ` Cyril Hrubis
  2023-06-19 11:29   ` Petr Vorel
  0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2023-06-19 10:34 UTC (permalink / raw)
  To: Petr Vorel; +Cc: ltp

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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2
  2023-06-19 10:34 ` Cyril Hrubis
@ 2023-06-19 11:29   ` Petr Vorel
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2023-06-19 11:29 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp

> 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

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-19 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-19 10:31 [LTP] [COMMITTED][PATCH 1/1] ci/debian.minimal.sh: Keep libcap2 Petr Vorel
2023-06-19 10:34 ` Cyril Hrubis
2023-06-19 11:29   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).