[Pkg-net-snmp-devel] Bug#708335: snmpd: Fails to install in post-installation stage
Hilmar Preuße
hille42 at web.de
Wed May 15 07:40:11 UTC 2013
Package: snmpd
Version: 5.7.2~dfsg-3
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I submit that bug as grave as I think it affects all users. If not feel free
to downgrade.
Today I upgraded from snmpd 5.4.3~dfsg-3 to 5.7.2~dfsg-3. The installation
fails in postin stage:
Installing new version of config file /etc/init.d/snmpd ...
Installing new version of config file /etc/default/snmpd ...
mkdir: cannot create directory `/var/run/agentx': File exists
dpkg: error processing snmpd (--configure):
subprocess installed post-installation script returned error exit status 1
This is reproducible:
sid:~# dpkg --configure snmpd
Setting up snmpd (5.7.2~dfsg-3) ...
mkdir: cannot create directory `/var/run/agentx': File exists
dpkg: error processing snmpd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
snmpd
That file indeed does exist and is a soft link to a non-existing dir/file:
hille at sid:~ $ ls -l /var/run/agentx
lrwxrwxrwx 1 root root 18 May 15 09:24 /var/run/agentx -> /var/agentx/master
hille at sid:~ $ ls -l /var/agentx/master
ls: cannot access /var/agentx/master: No such file or directory
As that link has a time stamp of today I guess it was created during upgrade
of libsnmp-base I've done before.
Hilmar
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.8-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages snmpd depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.50
ii libc6 2.17-2
ii libmysqlclient18 5.5.31+dfsg-1
ii libsnmp-base 5.7.2~dfsg-3
ii libsnmp30 5.7.2~dfsg-3
ii libwrap0 7.6.q-24
ii lsb-base 4.1+Debian9
ii zlib1g 1:1.2.8.dfsg-1
snmpd recommends no packages.
snmpd suggests no packages.
-- Configuration Files:
/etc/snmp/snmpd.conf changed [not included]
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf'
-- debconf information:
snmpd/upgradefrom521:
More information about the Pkg-net-snmp-devel
mailing list