On Saturday, June 11 2022, I wrote: > snmpd is currently failing to install due to a problem with its postint > file: > > Setting up snmpd (5.9.1+dfsg-3) ... > adduser: Warning: The home directory `/var/lib/snmp' does not belong to the > user you are currently creating. > chown: cannot access '/var/lib/snmp/snmpd.conf': No such file or directory > dpkg: error processing package snmpd (--configure): > installed snmpd package post-installation script subprocess returned error > exit status 1 > Setting up libsnmp-perl (5.9.1+dfsg-3) ... > dpkg: dependency problems prevent configuration of autopkgtest-satdep: > autopkgtest-satdep depends on snmpd; however: > Package snmpd is not configured yet. > > This has been introduced by the following commit: > > > https://salsa.debian.org/debian/net-snmp/-/commit/7f3bc627f40f99b232193efa0fb600c4be734c2b > > As can be seen, the postinst script is trying to perform a chown on > "$SNMP_DIR/snmpd.conf", which doesn't exist when the package has just > been installed. > > The fix is simple and I will file a Merge Request on salsa soon.
MR: https://salsa.debian.org/debian/net-snmp/-/merge_requests/13 Cheers, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/
signature.asc
Description: PGP signature