Package: dpkg Version: 1.19.0.5+b1 Followup-For: Bug #906810 I got the same issue today.
baryluk@picoczarny:~$ su Password: root@picoczarny:/home/baryluk# [...] Extracting templates from packages: 100% Preconfiguring packages ... setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) root@picoczarny:~# cd root@picoczarny:~# which ldconfig root@picoczarny:~# ls /sbin/ldconfig /sbin/ldconfig root@picoczarny:~# [...] I used then 'su -' to switch to super user, but I never had this problem before with just 'su', so something apparantly changed. Thanks. -- System Information: Debian Release: buster/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-8.1 ii libc6 2.27-5 ii liblzma5 5.2.2-1.3 ii libselinux1 2.8-1+b1 ii tar 1.30+dfsg-2 ii zlib1g 1:1.2.11.dfsg-1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.6.3 pn debsig-verify <none> -- no debconf information