Nautilus 在 Linux 中损坏,我无法通过“apt-get”修复它

Nautilus 在 Linux 中损坏,我无法通过“apt-get”修复它

据我所知,Nautilus 是 GNOME 的默认文件管理器。

最近我更新了它(这是我的想法)。我所做的是:

apt-get install nautilus

几分钟后下载完成,重启后我尝试打开文件却无法使用。无论我怎么尝试,文件资源管理器都无法打开。

然后我尝试使用以下命令将其删除:

dpkg --list #(to confirm the file name)
apt-get remove nautilus/nautilus-data

但是有一个错误:

apt-get remove nautilus
Reading package lists... Done
Building dependency tree
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gsettings-desktop-schemas : Breaks: mutter (< 3.19.92) but 3.18.2-1 is to be installed
 libgnome-desktop-3-12 : Breaks: mutter (< 3.21.2) but 3.18.2-1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

由于我无法删除它,我只有一个选择,即切换到其他文件管理器,但我不想切换。

任何帮助都将受到感激。

编辑(已更新):
当我在终端中输入 nautilus 时,出现以下错误:

nautilus:符号查找错误:/usr/lib/x86_64-linux-gnu/libgnome-autoar-0.so.0:未定义符号:archive_entry_is_encrypted

我认为它可能是加载了错误的库。
我也试过了

apt-get install --reinstall nautilus

错误仍然相同

答案1

可能有一些解决方案,但我只写我如何解决这个问题。
运行:

apt-get 更新 && apt-get 升级

如果由于任何原因导致进程停止,请输入:

apt-get 更新 && apt-get 升级 --fix-missing

相关内容