title: apache2 install via chef-solo on Ubuntu 18.04 failing
body: <p>I am trying to install apache2 via chef-solo unsuccessfully. The same recipe works when I run chef-client in local mode.</p>
  
  <pre><code>package 'apache2' do
    action [:$pstall]
  end
  and 
  package 'apache2'
  </code></pre>
  
  <p>both fail, with the following exception:</p>
  
  <pre><code>* apt_update[Update the apt cache daily] action periodic (up to date)
  * apt_package[apache2] action install
  
  ================================================================================
  Error executing action `install` on resource 'apt_package[apache2]'
  ================================================================================
  
  Mixlib::ShellOut::ShellCommandFailed
  ------------------------------------
  Expected process to exit with [0], but received '100'
  ---- Begin output of ["apt-get", "-q", "-y", "install", "apache2=2.4.29-1ubuntu4.4"] ----
  STDOUT:
  STDERR: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
  E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
  ---- End output of ["apt-get", "-q", "-y", "install", "apache2=2.4.29-1ubuntu4.4"] ----
  Ran ["apt-get", "-q", "-y", "install", "apache2=2.4.29-1ubuntu4.4"] returned 100
  </code></pre>
  
  <p>The fact that chef-solo is able to execute the first line in the recipe, means configuration should be fine. I am not sure what I am missing. Please, any pointers are appreciated.</p>
  
  <p>Best,</p>
  
  <p>Alice</p>