package nagios3-common (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios3 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
package nagios3-common (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: nagios3-common (not installed)
ProcVersionSign
Uname: Linux 2.6.32-34-generic i686
Architecture: i386
Date: Thu Oct 13 03:19:47 2011
ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
SourcePackage: nagios3
Title: package nagios3-common (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
Hi saymon, thanks for taking the time to file this bug. This seems to be the relevant error:
Not replacing deleted config file /etc/nagios3/ conf.d/ host-gateway_ nagios3. cfg
If you have removed this file, dpkg won't replace it since it is a configuration file and will respect that. This is how dpkg is supposed to work, and is not a bug in nagios3.
Try
dpkg -i --force-confmiss /var/cache/ apt/archives/ nagios3- common_ 3.2.0-4ubuntu2. 2_i386. deb
To restore the configuration file from the debian package.