I am trying to install Jenkins on my guest OS (ubuntu 14.04) provisioned through Vagrant (precise64 box).
I have downloaded the Jenkins package and I have installed default-jdk
package and i am trying to install openjdk-7-jre-headless
package. When i give this command
apt-get install -y openjdk-7-jre-headless
I am getting this error:
openjdk-7-jre-headless : Depends: libsctp1 (>= 1.0.10+dfsg) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Kindly Help me.
TIA
The following Vagrantfile
works for me flawlessly:
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/precise64"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get install -y openjdk-7-jre-headless
SHELL
end
So you seem to have messed up something manually.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.