【问题标题】:Error is occured when auto remove in ubuntu在 ubuntu 中自动删除时发生错误
【发布时间】:2018-06-19 12:53:45
【问题描述】:
sudo apt-get autoremove

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up install-info (6.1.0.dfsg.1-5) ...
/usr/sbin/update-info-dir: 10: /etc/environment: bin: not found
dpkg: error processing package install-info (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)

【问题讨论】:

  • 我投票决定将此问题作为题外话结束;试试askubuntu.com
  • 解决办法是什么?

标签: linux ubuntu ubuntu-14.04 ubuntu-16.04


【解决方案1】:

好吧,错误的原因如上所述。去看看/etc/environment。我怀疑那里有一个损坏的 PATH 变量(bin 而不是 /bin)。

【讨论】:

    猜你喜欢
    • 2018-03-07
    • 1970-01-01
    • 1970-01-01
    • 2022-01-23
    • 2021-11-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多