当需要安装其他程序时安装 Linux 程序

当需要安装其他程序时安装 Linux 程序

我似乎拥有安装程序的所有依赖项,但我收到了这些错误消息。

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:
  rabbitvcs-nautilus3: Depends: nautilus (>= 1:3~) but 1:2.30.1-0ubuntu1.2 is to be installed
                       Depends: python-nautilus (>= 1.0~) but 0.6.1-1 is to be installed
                       Depends: python-gobject (>= 2.28.2~) but 2.21.1-0ubuntu3 is to be installed
E: Broken packages

这是什么意思?我该如何安装它?

答案1

nautilus此错误意味着,当前缓存中的、python-nautilus和软件包版本python-gobject不是安装 的合适版本rabbitvcs-nautilus3。所需版本在 () 中指明。

因此,在做任何事情之前你应该做:

sudo apt-get update

如果错误仍然存​​在,那么您应该将包含这些软件包的较新版本的源添加到源列表中。

地点如下:

/etc/apt/sources.list
/etc/apt/sources.list.d/*

通常,此包的位置与您要安装的包的位置相同。

相关内容