首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >尝试安装NUT时出错

尝试安装NUT时出错
EN

Ask Ubuntu用户
提问于 2012-12-21 19:18:25
回答 1查看 862关注 0票数 0

我试图在一台带有ubuntu服务器12.04的无头机器上安装螺母,我一直在收集这个错误:

代码语言:javascript
运行
复制
$ sudo apt-get install nut
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nut is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 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 nut-server (2.6.3-1ubuntu1.1) ...
grep: /etc/nut/nut.conf: No such file or directory
sed: can't read /etc/nut/nut.conf: No such file or directory
dpkg: error processing nut-server (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of nut:
 nut depends on nut-server; however:
  Package nut-server is not configured yet.
dpkg: error processing nut (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a          previous failure.
                          Errors were encountered while processing:
 nut-server
 nut
E: Sub-process /usr/bin/dpkg returned an error code (1)
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2012-12-28 04:43:51

在多次尝试将螺母配置为与我的UPS一起工作之后,我决定卸载所有设备并从头开始。在这个卸载过程中,我以某种方式删除了nut.conf表单/etc/nut。为了能够再次安装螺母,我必须手动创建这个文件并在其中输入MODE=standalone

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

https://askubuntu.com/questions/231467

复制
相关文章

相似问题

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