[Pkg-net-snmp-devel] Bug#745956: snmpd: new version of startup script fails on VPS which obviously do not have /proc/bus/pci

Sergey Dorofeev sergey at fidoman.ru
Sat Apr 26 17:43:45 UTC 2014


Package: snmpd
Version: latest jessie
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After upgrading system got error installing snmpd. Trying to uninstall report weird problem deleting /run/snmpd.pid. Touch'ed it and only then got it uninstalled, weird.
Trying to install back:

root at de:~# apt-get install snmpd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libpci3 libsnmp30
Suggested packages:
  snmptrapd
The following NEW packages will be installed:
  libpci3 libsnmp30 snmpd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2263 kB of archives.
After this operation, 5045 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Preconfiguring packages ...
Selecting previously unselected package libpci3:amd64.
(Reading database ... 34626 files and directories currently installed.)
Preparing to unpack .../libpci3_1%3a3.2.1-2_amd64.deb ...
Unpacking libpci3:amd64 (1:3.2.1-2) ...
Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../libsnmp30_5.7.2.1~dfsg-3_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.2.1~dfsg-3) ...
Selecting previously unselected package snmpd.
Preparing to unpack .../snmpd_5.7.2.1~dfsg-3_amd64.deb ...
Unpacking snmpd (5.7.2.1~dfsg-3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libpci3:amd64 (1:3.2.1-2) ...
Setting up libsnmp30:amd64 (5.7.2.1~dfsg-3) ...
Setting up snmpd (5.7.2.1~dfsg-3) ...
adduser: Warning: The home directory `/var/lib/snmp' does not belong to the user you are currently creating.
[....] Starting SNMP services::pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error processing package snmpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.18-4) ...
Errors were encountered while processing:
 snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Trying to uninstall:

root at de:~# dpkg -r snmpd
(Reading database ... 34669 files and directories currently installed.)
Removing snmpd (5.7.2.1~dfsg-3) ...
[....] Stopping SNMP services::start-stop-daemon: unable to stat //--retry (No such file or directory)
rm: cannot remove '/run/snmpd.pid': No such file or directory
invoke-rc.d: initscript snmpd, action "stop" failed.
dpkg: error processing package snmpd (--remove):
 subprocess installed pre-removal script returned error exit status 1
[....] Starting SNMP services::pcilib: Cannot open /proc/bus/pci
pcilib: Cannot find any working access method.
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 snmpd



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.41-042stab085.20 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.52
ii  libc6                  2.18-4
ii  libsnmp-base           5.7.2.1~dfsg-3
pn  libsnmp30              <none>
ii  lsb-base               4.1+Debian12

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>



More information about the Pkg-net-snmp-devel mailing list