cooking-with-jenkins
cooking-with-jenkins copied to clipboard
Can't install jenkins
When I tried to up vagrant I got an error
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install jenkins=1.562 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
daemon
The following NEW packages will be installed:
daemon jenkins
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
Need to get 62.2 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
jenkins
STDERR: E: There are problems and -y was used without --force-yes
---- End output of apt-get -q -y install jenkins=1.562 ----
Ran apt-get -q -y install jenkins=1.562 returned 100
[2014-05-12T10:09:35+00:00] ERROR: package[jenkins] (jenkins::_server_package line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install jenkins=1.562 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
daemon
The following NEW packages will be installed:
daemon jenkins
0 upgraded, 2 newly installed, 0 to remove and 25 not upgraded.
Need to get 62.2 MB of archives.
After this operation, 68.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
jenkins
STDERR: E: There are problems and -y was used without --force-yes
---- End output of apt-get -q -y install jenkins=1.562 ----
Ran apt-get -q -y install jenkins=1.562 returned 100
[2014-05-12T10:09:35+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Seem like repository key changed and apt-get can't download jenkins package
The VM is based on an old release of Ubuntu and all of its repos 404. You can either change it to use a new vagrant base VM, or manually update the apt sources.
Refs #3