> No `START-INFO-DIR-ENTRY' and no `This file documents'.
> install-info(/usr/share/info/info-stnd.info): unable to determine description
> for `dir' entry - giving up
> dpkg: error processing info (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> info
> E: Sub-process /usr/bin/dpkg returned an error code (1)
发现是因为在info上次更新后安装了 texlive,把texlive中的 install-info 可执行文件链接到了 /usr/bin/install-info ,然而真正的系统 install-info 文件却是在 /usr/sbin/install-info 位置,并且 texlive 把 info 文件也链接到了 /usr/share/info 目录中,删去这些就可以了。
$sudo rm /usr/bin/install-info
$find /usr/share/info/ -type l | sudo xargs rm
No comments:
Post a Comment