首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >子进程安装后安装脚本返回安装/删除Cacti的错误

子进程安装后安装脚本返回安装/删除Cacti的错误
EN

Stack Overflow用户
提问于 2014-01-04 19:45:59
回答 1查看 7.9K关注 0票数 0

我一直在我的服务器上安装仙人掌。我曾试图在他们的论坛上寻求一些支持,但由于很少或根本没有支持而来到这里。我正试图从零开始安装仙人掌,但始终遇到错误,下面是我得到的一些错误。我在问我可能做错了什么,或者错过了什么?

删除

代码语言:javascript
复制
root@erebus:~# apt-get --purge remove cacti cacti-spine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  rrdtool libdbi1 librrd4 php5-snmp snmp libphp-adodb
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  cacti* cacti-spine*
0 upgraded, 0 newly installed, 2 to remove and 88 not upgraded.
1 not fully installed or removed.
After this operation, 4,766 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 63908 files and directories currently installed.)
Removing cacti ...
dpkg: error processing cacti (--purge):
 subprocess installed pre-removal script returned error exit status 10
dbconfig-common: flushing administrative password
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 10
Removing cacti-spine ...
Purging configuration files for cacti-spine ...
Errors were encountered while processing:
 cacti
E: Sub-process /usr/bin/dpkg returned an error code (1)

安装先决条件

代码语言:javascript
复制
root@erebus:~# apt-get install snmpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snmpd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 88 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up cacti (0.8.7i-2ubuntu1) ...
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf
Replacing config file /etc/cacti/debian.php with new version
dpkg: error processing cacti (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 cacti
[master 4c76eb7] committing changes in /etc after apt run
 Author: ryahn <ryahn@erebus>
 2 files changed, 1 insertion(+), 3 deletions(-)
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-01-05 16:59:13

看起来不像Cacti问题,更像是一个坏包或错误安装的情况,尝试如下:http://forums.debian.net/viewtopic.php?f=10&t=82861

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20925883

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档