Package: dpkg Version: 1.18.16 Severity: important File: /usr/bin/dpkg-maintscript-helper
Hi, I am not sure about this bug's severity, it prevents software from being installed. There is at least one report against another package, #848413. [22/1110]mh@salida:~ $ sudo dpkg --install /var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb (Reading database ... 42030 files and directories currently installed.) Preparing to unpack .../dirmngr_2.1.16-3_amd64.deb ... dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version string is empty dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version string is empty dpkg: error processing archive /var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb (--install): subprocess new pre-removal script returned error exit status 1 dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version string is empty dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb Going back to dpkg from testing makes dirmngr install just fine: 1 [25/1112]mh@salida:~ $ sudo apt install dpkg/testingReading package lists... Done Building dependency tree Reading state information... Done Selected version '1.18.15' (Debian:testing [amd64]) for 'dpkg' The following packages will be DOWNGRADED: dpkg 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/2506 kB of archives. After this operation, 4096 B of additional disk space will be used. Do you want to continue? [Y/n] dpkg: warning: downgrading dpkg from 1.18.16 to 1.18.15 (Reading database ... 42030 files and directories currently installed.) Preparing to unpack .../dpkg_1.18.15_amd64.deb ... Unpacking dpkg (1.18.15) over (1.18.16) ... Setting up dpkg (1.18.15) ... Processing triggers for man-db (2.7.6.1-2) ... dpkg: error processing package dirmngr (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration Errors were encountered while processing: dirmngr needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) 100 [26/1113]mh@salida:~ $ sudo dpkg --install /var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb Selecting previously unselected package dirmngr. (Reading database ... 42030 files and directories currently installed.) Preparing to unpack .../dirmngr_2.1.16-3_amd64.deb ... Unpacking dirmngr (2.1.16-3) over (2.1.16-3) ... Setting up dirmngr (2.1.16-3) ... Processing triggers for man-db (2.7.6.1-2) ... [27/1114]mh@salida:~ $ Greetings Marc -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-zgsrv20080 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-8 ii libc6 2.24-8 ii liblzma5 5.2.2-1.2 ii libselinux1 2.6-3 ii tar 1.29b-1.1 ii zlib1g 1:1.2.8.dfsg-4 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.4~beta2 -- Configuration Files: /etc/logrotate.d/dpkg changed [not included] -- no debconf information