{"id":435,"date":"2012-08-17T01:16:21","date_gmt":"2012-08-17T01:16:21","guid":{"rendered":"http:\/\/garysieling.com\/blog\/?p=435"},"modified":"2012-08-17T01:16:21","modified_gmt":"2012-08-17T01:16:21","slug":"fixing-error-apt-get-return-100-expected-0-chefvagrant","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/fixing-error-apt-get-return-100-expected-0-chefvagrant\/","title":{"rendered":"Fixing error &#8220;apt-get&#8230; return 100 expected 0&#8221; (Chef\/Vagrant)"},"content":{"rendered":"<p>When running Chef for the first time on a VM, you may see an error like the following:<\/p>\n<pre>\napt-get -q -y install couchdb=0.10.0-1ubuntu2 returned 100, expected 0\n<\/pre>\n<p>The problem is that your Vagrantfile script does not require Chef to do an &#8220;apt-get update&#8221;  before running it&#8217;s scripts. This normally triggers updating the apt database, and something is referenced in the Chef script that is missing from the VM.<\/p>\n<p>To fix this, download the cookbook called &#8220;apt&#8221; and run it prior to running the cookbooks you actually want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When running Chef for the first time on a VM, you may see an error like the following: apt-get -q -y install couchdb=0.10.0-1ubuntu2 returned 100, expected 0 The problem is that your Vagrantfile script does not require Chef to do an &#8220;apt-get update&#8221; before running it&#8217;s scripts. This normally triggers updating the apt database, and &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/fixing-error-apt-get-return-100-expected-0-chefvagrant\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Fixing error &#8220;apt-get&#8230; return 100 expected 0&#8221; (Chef\/Vagrant)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[32],"tags":[106,566,571,572,576],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/435"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}