Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1135918

Bug#1029834: dpkg: cycle found while processing triggers

From Guillem Jover <guillem@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.dpkg
Subject Bug#1029834: dpkg: cycle found while processing triggers
Date 2023-02-01 23:30 +0100
Message-ID <FUtM6-2KYz-7@gated-at.bofh.it> (permalink)
References <FSTAZ-1Kb3-11@gated-at.bofh.it> <FSTAZ-1Kb3-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tag -1 moreinfo

Hi!

On Sat, 2023-01-28 at 14:30:15 +0100, Jörg-Volker Peetz wrote:
> Package: dpkg
> Version: 1.21.19
> Severity: normal

> upgrading the openjdk-17 packages on my system with
> 
> # aptitude -t sid install ~Uopenjdk
> 
> gives this error messages:
> 
> dpkg: cycle found while processing triggers:
>  chain of packages whose triggers are or may be responsible:
>   ca-certificates-java -> ca-certificates-java -> ca-certificates-java
>  packages' pending triggers which are or may be unresolvable:
>   ca-certificates-java: /usr/lib/jvm
> dpkg: error processing package ca-certificates-java (--configure):
>  triggers looping, abandoned
> Setting up openjdk-17-jdk-headless:amd64 (17.0.6+10-1) ...
> Setting up ca-certificates-java (20230103) ...
> done.
> Setting up openjdk-17-jre:amd64 (17.0.6+10-1) ...
> Setting up openjdk-17-jdk:amd64 (17.0.6+10-1) ...
> Errors were encountered while processing:
>  ca-certificates-java
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Any ideas?

Was there any other error during the unpack or installation in
general? Do you have the full log of that upgrade session? From what
version were you upgrading from?

Do you perhaps have a backup of the status files from just before that
upgrade session? (Either the /var/lib/dpkg/status-old if you have not
done anything else package-wise since then, or perhaps under
/var/backups.)

Otherwise this unfortunately seems a bit non-actionable to me. :/

Thanks,
Guillem

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1029834: dpkg: cycle found while processing triggers Jörg-Volker Peetz <jvpeetz@web.de> - 2023-01-28 14:40 +0100
  Bug#1029834: dpkg: cycle found while processing triggers Guillem Jover <guillem@debian.org> - 2023-02-01 23:30 +0100
    Bug#1029834: dpkg: cycle found while processing triggers Jörg-Volker Peetz <jvpeetz@web.de> - 2023-02-02 16:00 +0100
      Bug#1029834: dpkg: cycle found while processing triggers Guillem Jover <guillem@debian.org> - 2023-02-02 20:20 +0100

csiph-web