3

我使用Artifactory作为我自己的 debian 包 repo。

Depends: world (= 1.0.0.0), apple (= 3.0.0.0)在它的控制文件中设置了一个包'hello'。

当我尝试安装该软件包时:apt-get install hello
我收到以下错误:

Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
onecgf : Depends: world (= 1.0.0.0) but 1.0.0.2 is to be installed
          Depends: apple (= 3.0.0.0) but 3.0.0.4 is to be installed
E: Unable to correct problems, you have held broken package  

当它知道需要安装旧版本时,为什么还要尝试安装 (world=1.0.0.2 & apple=3.0.0.4)?

它仅在我执行时才有效:apt-get install hello world=1.0.0.0 apple=3.0.0.0

为什么我需要告诉 apt-get 安装什么版本?

4

0 回答 0