Package: dpkg Version: 1.18.3 Severity: wishlist Hello, when a pkg installation fails, and then you run another apt-get command, it will check the content of /var/lib/dpkg/updates and if there is any file, requests you to run sudo dpkkg --configure -a
The directory content check seems rather fragile, so it would be great if dpkg could provide a cli switch to inspect its internal status. This could be used by apt, but also by alerting tools (such as nagios/icinga) or config mgmt tools (like pupper/cfengine) to assess the system status. thanks for considering, Sandro -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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.19-22 ii liblzma5 5.1.1alpha+20120614-2.1 ii libselinux1 2.4-3 ii tar 1.28-2.1 ii zlib1g 1:1.2.8.dfsg-2+b1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.1.5 -- no debconf information