title: Cannot upgrade postgis extension. Getting error that postgis has no update path
body: <p>I have installed postgres database using it in my django app.
  I started getting this error that </p>
  
  <p>django.db.utils.OperationalError: could not access file "$libdir/postgis-2.5": No such file or directory</p>
  
  <p>So I decided to update postgis to 2.5
  ERROR:  extension "postgis" has no update path from version "2.5.2" to version "2.5.0"</p>
  
  <p>Is there a wayout.</p>