package snmpd 5.4.3~dfsg-2.4ubuntu1.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127

Asked by hasnaa temouch

Je n'arrive pas à désinstaller ou réinstaller le paquet snmpd

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: snmpd 5.4.3~dfsg-2.4ubuntu1.2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
ApportVersion: 2.0.1-0ubuntu5
AptOrdering: snmpd: Remove
Architecture: i386
Date: Tue Jul 22 11:44:19 2014
DpkgTerminalLog:
 Removing snmpd ...
 /etc/init.d/snmpd: 25: /etc/default/snmpd: disk: not found
 invoke-rc.d: initscript snmpd, action "stop" failed.
 dpkg: error processing snmpd (--remove):
  subprocess installed pre-removal script returned error exit status 127
ErrorMessage: subprocess installed pre-removal script returned error exit status 127
InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120426-12:41
SourcePackage: net-snmp
Title: package snmpd 5.4.3~dfsg-2.4ubuntu1.2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu net-snmp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
hasnaa temouch (hasnaa-temouch) said :
#1

Salut tout le monde, quelqu'un peut-il m'aider à régler ce problème c'est vraiment urgent merci.
Débutante en NAgios

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

file /etc/default/snmpd

Thanks

Revision history for this message
hasnaa temouch (hasnaa-temouch) said :
#3

here s the output of it:

/etc/default/snmpd: UTF-8 Unicode English text

Revision history for this message
hasnaa temouch (hasnaa-temouch) said :
#4

Anu help??!!!

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.