我正在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吗?
从您提到的1.532-1.1版本开始,我猜测您实际上是在使用LTS发行存储库(尽管我只能看到1.532.1):http ://pkg.jenkins-ci.org/debian-stable/
但是gareht_bowles是正确的,它不再位于apt存储库中。您可以通过检查
apt-cache policy jenkins
您应该继续处理deb文件。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句