title: QGIS and GDAL installation conflict linux ubuntu / R
body: <p>[Running Ubuntu 18.04.5 LTS]</p>
  <p>While working with GIS on both <code>R</code> and <code>QGIS</code> environments, I realized that, in order to use some packages in <code>R</code> (<code>rgdal</code>, <code>sf</code>, <code>sp</code>, <code>tmap</code>...) I needed to install the package <code>GDAL</code> via the terminal.</p>
  <p>However, by doing so, <code>QGIS</code> in uninstalled. Then, by using <a href="https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu" rel="nofollow noreferrer">these instructions</a>, terminal tells me that I &quot;held broken packages&quot;. Hence, I can only install back <code>QGIS</code> using <code>sudo aptitude install</code> that has for consequences to remove some packages GDAL relies on to  function properly... and we're back to the start.</p>
  <p>I know I give few details about the errors but is there a way to resolve this conflict, and get both packages installed?</p>