title: PostGIS on WSL2 - extension "postgis" has no installation script nor update path for version X.X.X
body: <p>I am trying to add PostGIS extension to a postgresql database on my WSL2 (with Ubuntu 20.04) for a django project.</p>
  <p>I have already installed postgresql, postgis and all dependencies with the following:</p>
  <pre><code>sudo apt -y install postgresql-12 postgresql-client-12
  sudo apt install postgis postgresql-12-postgis-3
  sudo apt-get install postgresql-12-postgis-3-scripts
  </code></pre>
  <p>And everything worked fine.</p>
  <p>In postgresql, I have already created my db and connected to it:</p>
  <pre><code>sudo -u postgres psql -p 5432 -h 127.0.0.1 
  
  postgres=# CREATE DATABASE dbname;
  postgres=# \c dbname;
  </code></pre>
  <p>But then, when I try to add the postGIS extension with:</p>
  <pre><code>postgres=# CREATE EXTENSION postgis; 
  </code></pre>
  <p>I get the following error:</p>
  <p><strong>ERROR:  extension &quot;postgis&quot; has no installation script nor update path for version &quot;3.1.0&quot;</strong></p>
  <p>And despite searching for similar questions on stackoverflow, I couldn't find any satisfactory solution for my case. Any idea what it could be wrong and how I can solve it? thank you!</p>
  <p>EDIT:
  Following command</p>
  <pre><code>ls $(pg_config --sharedir)/extension/postgis*
  </code></pre>
  <p>I get the following list of files:</p>
  <pre><code>/usr/share/postgresql/12/extension/postgis--2.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.0.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.1.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.2.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.10--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.11--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.3.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.4.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--2.5.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.1.0--3.1.0next.sql
  /usr/share/postgresql/12/extension/postgis--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.1.0dev--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--3.1.0next--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--ANY--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--unpackaged--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis--unpackaged.sql
  /usr/share/postgresql/12/extension/postgis.control
  /usr/share/postgresql/12/extension/postgis_raster--2.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.0.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.1.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.2.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.10--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.11--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.3.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.4.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--2.5.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.1.0--3.1.0next.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.1.0dev--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--3.1.0next--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--ANY--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--unpackaged--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_raster--unpackaged.sql
  /usr/share/postgresql/12/extension/postgis_raster.control
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.0.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.1.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.2.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.10--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.11--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.3.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.4.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--2.5.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.1.0--3.1.0next.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.1.0dev--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--3.1.0next--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--ANY--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder--unpackaged--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_tiger_geocoder.control
  /usr/share/postgresql/12/extension/postgis_topology--2.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.0.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.1.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.2.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.10--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.11--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.3.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.6--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.7--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.8--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.4.9--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.4--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--2.5.5--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.0.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.0.1--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.0.2--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.0.3--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.1.0--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.1.0--3.1.0next.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.1.0dev--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--3.1.0next--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--ANY--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--unpackaged--3.1.0.sql
  /usr/share/postgresql/12/extension/postgis_topology--unpackaged.sql
  /usr/share/postgresql/12/extension/postgis_topology.control
  </code></pre>
  <p>Content of postgis.control:</p>
  <pre><code>comment = 'PostGIS geometry and geography spatial types and functions'
  default_version = '3.1.0'
  module_pathname = '$libdir/postgis-3'
  relocatable = false 
  </code></pre>