我在Ubuntu 12.04上安装Jenkins 1.532-1.1,我需要使用 apt-get
repo安装它 . 我运行了以下三个命令,安装最新的Jenkins就好了:
-
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
-
echo "deb http://pkg.jenkins-ci.org/debian binary/" >> /etc/apt/sources.list
-
apt-get update
但我需要安装此特定版本1.532-1.1(出于我无法控制的原因) . 我试过 apt-get install jenkins=1.532-1.1
,这给了版本找不到错误 .
我已经看过这个链接http://pkg.jenkins-ci.org/debian/但是安装* .deb不是我的选择 .
知道如何使用apt-get安装jenkins 1.532-1.1吗?
2 回答
从你提到的版本1.532-1.1,我猜你真的想要使用LTS版本库(我只能看到1.532.1):http://pkg.jenkins-ci.org/debian-stable/
但是gareht_bowles是正确的,它不再存在于apt存储库中 . 你可以通过检查
你应该继续使用deb文件 .
不使用此命令
apt-get install jenkins
安装jenkins特定版本 .解决方案:运行以下命令(例如1.652是您需要安装的jenkins版本)
During the installation dpkg fails with the following error:
Soultion: This will install the dependencies
包下载地点:http://pkg.jenkins-ci.org/debian/