1

一天前我刚刚在 Linux Mint 中启动,现在的问题是我无法使用 apt 安装任何软件包。每次我尝试安装软件包时,都会收到以下错误消息:

Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up install-info (6.5.0.dfsg.1-2) ...
/usr/sbin/update-info-dir: 2: /etc/environment: /usr/lib/nux/unity_support_test: not found
dpkg: error processing package install-info (--configure):
 installed install-info package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)

我在 ubuntu 论坛、stackoverflow 或某些特定博客上尝试了与此错误相关的所有可能答案。其中一些是:
https://ubuntuforums.org/showthread.php?t=2131062
apt-get 错误:子进程 /usr/bin/dpkg 返回错误代码 (1)
https://itsfoss.com/dpkg -returned-an-error-code-1/
等等,但这些答案都没有解决我的问题。我也在linux mint

论坛 上发布了这个问题,但没有得到任何有用的回复。 我注意到一件事,每次它抛出错误

/usr/sbin/update-info-dir: 2: /etc/environment: /usr/lib/nux/unity_support_test: not found
dpkg:

所以我也搜索了这个问题,但没有得到任何有用的结果。当我手动检查此文件时,该文件夹nux不存在。
请帮我解决这个问题。任何帮助将不胜感激。

4

0 回答 0