所以我有一个在我的私人仓库中制作的 Debian 包,我想安装一个特定的版本。
该软件包具有通用的 lib 依赖项,我想安装该软件包的匹配版本。apt-get
坚持安装依赖的最新版本,而不是包所依赖的版本。
您可以在此处查看命令的输出:
cmcc@cmcc-VirtualBox:~/Desktop/repo$ sudo apt-get install my_program=57.0.93
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:
my_program : Depends: my_program-common (= 57.0.93) but 57.3.102 is to be installed
E: Unable to correct problems, you have held broken packages.