title: Getting error message while installing Android Studio
body: <p>I am getting the following error message when I try to install Android Studio on my Ubuntu 16.04 LTS. I used the pauolo rotolo repository method to install.</p>
  
  <pre><code>dpkg: error processing archive /var/cache/apt/archives/android-studio_5.2.1-ubuntu0_all.deb (--unpack):
  subprocess new pre-installation script returned error exit status 8
  Errors were encountered while processing:
  /var/cache/apt/archives/android-studio_5.2.1-ubuntu0_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code></pre>
  
  <p>Please help me fix it, since I tried every method to install without glitches, but in vain.</p>