Package: assaultcube Version: 1.3.0.2+dfsg-4 Severity: minor Tags: ipv6 Forwarded: https://github.com/orgs/community/discussions/10539
Dear Tobi, at least on one host, the new assaultcube package fails to upgrade as follows: Setting up assaultcube (1.3.0.2+dfsg-4) ... Downloading game data…dpkg: error processing package assaultcube (--configure): installed assaultcube package post-installation script subprocess returned error exit status 4 […] Errors were encountered while processing: assaultcube Interestingly there's not even an error message from the postinst script. It just seems to die. Adding a "set -x" reveals that it aborts at this position: # dpkg --configure -a Setting up assaultcube (1.3.0.2+dfsg-4) ... + set -e + version=1.3.0.2 + hash=9b3118e7929253f0114fa06cad8310faab646d177b4660406011152f34086b55 + file=AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 + url=https://github.com/assaultcube/AC/releases/download/v1.3.0.2/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 + fqfn=/var/cache/assaultcube/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 + targetdir=/var/lib/assaultcube/gamedata/ + cachedir=/var/cache/assaultcube/ + [ configure = configure ] + rm -rf /var/cache/assaultcube/ + mkdir -p /var/cache/assaultcube/ + echo -n Downloading game data… Downloading game data…+ wget -q https://github.com/assaultcube/AC/releases/download/v1.3.0.2/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 -O /var/cache/assaultcube/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 dpkg: error processing package assaultcube (--configure): installed assaultcube package post-installation script subprocess returned error exit status 4 Errors were encountered while processing: assaultcube Running the wget call without "-q" reveals that https://github.com/orgs/community/discussions/10539 (Github lacking IPv6 support in many places) is actually the culprit: # wget https://github.com/assaultcube/AC/releases/download/v1.3.0.2/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 -O /var/cache/assaultcube/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 --2022-10-06 14:34:26-- https://github.com/assaultcube/AC/releases/download/v1.3.0.2/AssaultCube_v1.3.0.2_LockdownEdition_RC1.tar.bz2 Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... failed: Network is unreachable. # echo $? 4 Unfortunately I see no possibility to fix this easily without Github finally supporting IPv6. (Hence setting the above mention Github issue as "forwarded" URL. Feel free to change that.) So please at least remove that "-q" from the wget call in the postinst script for easier diagnostics of such download failures. (And feel free to clone this bug report if you want to track the removal of -q separated from the download issue itself.) -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (110, 'experimental') merged-usr: no Architecture: i386 (i686) Kernel: Linux 5.19.0-2-686-pae (SMP w/1 CPU thread; PREEMPT) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: OpenRC (via /run/openrc), PID 1: init Versions of packages assaultcube depends on: ii bzip2 1.0.8-5+b1 ii libc6 2.35-2 ii libgcc-s1 12.2.0-5 ii libgl1 1.5.0-1 ii libopenal1 1:1.19.1-2 ii libsdl2-2.0-0 2.24.1+dfsg-1 ii libsdl2-image-2.0-0 2.6.2+dfsg-1 ii libstdc++6 12.2.0-5 ii libvorbisfile3 1.3.7-1 ii libx11-6 2:1.8.1-2 ii wget 1.21.3-1+b1 ii zlib1g 1:1.2.11.dfsg-4.1 assaultcube recommends no packages. assaultcube suggests no packages. -- no debconf information