The upgrade went fine, I had to reinstall postgresql-contrib after that though.
sudo apt-get install postgresql-contrib-9.2 sudo apt-get install postgresql-contrib-9.4
Then I was able to drop and recreate postgis extension in psql.
This issue can be closed, sorry for the noise. I'd like to suggest to add the name of the blocking package to the error modal though, it would have saved me a lot of time.
The upgrade went fine, I had to reinstall postgresql-contrib after that though.
sudo apt-get install postgresql- contrib- 9.2 contrib- 9.4
sudo apt-get install postgresql-
Then I was able to drop and recreate postgis extension in psql.
This issue can be closed, sorry for the noise. I'd like to suggest to add the name of the blocking package to the error modal though, it would have saved me a lot of time.