Skip to content

Instantly share code, notes, and snippets.

@whatnickcodes
Created April 17, 2014 15:18
Show Gist options
  • Save whatnickcodes/10991294 to your computer and use it in GitHub Desktop.
Save whatnickcodes/10991294 to your computer and use it in GitHub Desktop.
================================================================================
Error executing action `install` on resource 'package[screen]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install screen=4.0.3-14ubuntu8 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
byobu
The following NEW packages will be installed:
screen
0 upgraded, 1 newly installed, 0 to remove and 155 not upgraded.
Need to get 596 kB of archives.
After this operation, 1,069 kB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ precise/main screen i386 4.0.3-14ubuntu8
Temporary failure resolving 'us.archive.ubuntu.com'
STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/screen/screen_4.0.3-14ubuntu8_i386.deb Temporary failure resolving 'us.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install screen=4.0.3-14ubuntu8 ----
Ran apt-get -q -y install screen=4.0.3-14ubuntu8 returned 100
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/app/recipes/packages.rb
13: package a_package
14: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/app/recipes/packages.rb:13:in `block in from_file'
package("screen") do
action :install
retries 0
retry_delay 2
guard_interpreter :default
package_name "screen"
version "4.0.3-14ubuntu8"
cookbook_name :app
recipe_name "packages"
end
[2014-04-17T15:16:12+00:00] INFO: Running queued delayed notifications before re-raising exception
[2014-04-17T15:16:12+00:00] ERROR: Running exception handlers
[2014-04-17T15:16:12+00:00] ERROR: Exception handlers complete
[2014-04-17T15:16:12+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-04-17T15:16:12+00:00] ERROR: package[screen] (app::packages line 13) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install screen=4.0.3-14ubuntu8 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
byobu
The following NEW packages will be installed:
screen
0 upgraded, 1 newly installed, 0 to remove and 155 not upgraded.
Need to get 596 kB of archives.
After this operation, 1,069 kB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ precise/main screen i386 4.0.3-14ubuntu8
Temporary failure resolving 'us.archive.ubuntu.com'
STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/s/screen/screen_4.0.3-14ubuntu8_i386.deb Temporary failure resolving 'us.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install screen=4.0.3-14ubuntu8 ----
Ran apt-get -q -y install screen=4.0.3-14ubuntu8 returned 100
[2014-04-17T15:16:12+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment