#1058779 libk5crypto3 fails to install via apt (dpkg error) triggers ci file contains unknown directive 'set'

Package:
libk5crypto3
Source:
libk5crypto3
Description:
MIT Kerberos runtime libraries - Crypto Library
Submitter:
Fernando Toledo
Date:
2024-01-07 06:06:03 UTC
Severity:
normal
Tags:
#1058779#5
Date:
2023-12-16 00:36:26 UTC
From:
To:
Dear Maintainer,

running apt upgrade on debian 11

root@scarlet:~# LANG=C apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  aspnetcore-runtime-6.0 aspnetcore-runtime-7.0 aspnetcore-targeting-pack-6.0 aspnetcore-targeting-pack-7.0 bind9-dnsutils bind9-host bind9-libs
  containerd.io cpio distro-info-data dnsutils docker-ce docker-ce-cli dotnet-apphost-pack-6.0 dotnet-apphost-pack-7.0 dotnet-host dotnet-hostfxr-6.0
  dotnet-hostfxr-7.0 dotnet-runtime-6.0 dotnet-runtime-7.0 dotnet-runtime-deps-6.0 dotnet-runtime-deps-7.0 dotnet-sdk-6.0 dotnet-sdk-7.0
  dotnet-targeting-pack-6.0 dotnet-targeting-pack-7.0 dpkg-dev grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common
  intel-microcode libblas3 libbsd-dev libbsd0 libc-l10n libcurl3-gnutls libdpkg-perl libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 liblapack3
  liblua5.3-0 libmosquitto-dev libmosquitto1 libnghttp2-14 libodbc1 libopenblas64-0 libopenblas64-0-pthread libopenblas64-dev libopenblas64-pthread-dev
  libtiff5 libvpx6 libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1 libxengnttab1 libxenhypfs1 libxenmisc4.14 libxenstore3.0
  libxentoolcore1 libxentoollog1 libxpm4 libyajl2 locales logrotate ltsp mariadb-server mosquitto ncurses-term openjdk-11-jre openjdk-11-jre-headless
  openssl php8.1 php8.1-xsl qemu qemu-system-common qemu-system-data qemu-system-x86 qemu-utils rar unrar zabbix-agent zabbix-proxy-sqlite3
87 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/431 MB of archives.
After this operation, 3048 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 87771 files and directories currently installed.)
Preparing to unpack .../libk5crypto3_1.18.3-6+deb11u4_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/libk5crypto3_1.18.3-6+deb11u4_amd64.deb (--unpack):
 triggers ci file contains unknown directive 'set'
Errors were encountered while processing:
 /var/cache/apt/archives/libk5crypto3_1.18.3-6+deb11u4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


as workarount i do apt-mark hold libk5crypto3 until problem fixes

#1058779#10
Date:
2024-01-01 16:35:41 UTC
From:
To:
control: severity -1 normal
control: tags -1 help

    Fernando> as workarount i do apt-mark hold libk5crypto3 until
    Fernando> problem fixes

I don't think this problem is likely to be in libkrb5crypto3.
I don't have enough experience with the dpkg trigger mechanism to really
understand what is going on, but my suspicion is that some other package
is setting up a trigger that your version of dpkg does not understand
(or that something is corrupted on your system).

#1058779#19
Date:
2024-01-07 06:02:55 UTC
From:
To:
[...]
[...]

Good morning,

could you show the contents (and md5sum) of
/var/lib/dpkg/info/libk5crypto3.triggers? Do any of unpacked trigger
files on your system contain the string "set" (grep -l set
/var/lib/dpkg/info/*triggers)?

cu Andreas