title: httpd is a virtual package provided by multiple packages, you must explicitly select one
body: <p>I was following the chef tutorial. My workstation is Ubuntu. At the step <code>'Install the Apache package'</code>.</p>
  
  <p>I wrote a recipe which contains only <code>"package 'httpd'"</code>. I was supposed to install Apache after that. However, I got an error:</p>
  
  <pre><code>Error executing action `install` on resource 'apt_package[httpd]'
      ================================================================================
  
  Chef::Exceptions::Package
  -------------------------
  httpd is a virtual package provided by multiple packages, you must explicitly select one
  
  Resource Declaration:
  ---------------------
  # In /home/local/ANT/yuqiw/chef-repo/webserver.rb
  
    2: apt_package("httpd")
  
  Compiled Resource:
  ------------------
  # Declared in /home/local/ANT/yuqiw/chef-repo/webserver.rb:2:in `from_file'
  
  apt_package("httpd") do
    package_name "httpd"
    action [:install]
    retries 0
    retry_delay 2
    default_guard_interpreter :default
    declared_type :apt_package
    cookbook_name "@recipe_files"
    recipe_name "/home/local/ANT/yuqiw/chef-repo/webserver.rb"
  end
  
  Platform:
  ---------
  x86_64-linux
  </code></pre>
  
  <p>Can anyone help me out?</p>