Thanks for the reply Jeff.<div><br></div><div>The extensions in my database is only plpgsql. Nothing else. Also I did not separately install PostGIS. I installed it along with GeoServer using the Synaptic. The complete list of installed packages are as follows,</div>

<div>1. postgresql 9.1 + postgis 1.5.3</div><div>2. postgis 1.5.3</div><div>3. postgresql 8.4 + postgis 1.5.3</div><div>4. opengeo-postgis 2.4.4</div><div><br></div><div>I did not install any from the source as in the wiki link you gave. So If I remove, which ones should I remove?? Also since I need it to be connected to Geoserver will removing the package affect the opengeo suite?</div>

<div><br></div><div>Thanks & Regards,</div><div>Smaran Harihar<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 12:45 PM, Jeff Meyer <span dir="ltr"><<a href="mailto:jeff@gwhat.org" target="_blank">jeff@gwhat.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div><span>Mean to add this before - it's an image of the Extensions folder in pgAdmin III: <a href="http://s1064.photobucket.com/albums/u361/jeffmegwhat/?action=view&current=postgisextensions.png" target="_blank">http://s1064.photobucket.com/albums/u361/jeffmegwhat/?action=view&current=postgisextensions.png</a><br>

</span></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">

 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Jeff Meyer <<a href="mailto:jeff@gwhat.org" target="_blank">jeff@gwhat.org</a>><div class="im"><br> <b><span style="font-weight:bold">To:</span></b> PostGIS Users Discussion <<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a>> <br>

 </div><b><span style="font-weight:bold">Sent:</span></b> Wednesday, May 23, 2012 12:42
 PM<div><div class="h5"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [postgis-users] Ubuntu and Postgresql9.1.3-2<br> </div></div></font> </div><div><div class="h5"> <br>
<div><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><div><span>Hi Smaran - <br></span></div><div><span>I can't speak to what went wrong during your install, but have you double-checked your ability to add extensions through pgAdmin III?</span></div>

<div><span>You should be able to open your db, navigate to extensions, right click on the extensions label, and then click "New Extension." If PostGIS isn't listed as a possible extension, then something went wrong in the PostGIS install. <br>

</span></div><div><span>You may want to then do an 'apt-get remove postgis' and then follow the instructions at: </span><a href="http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204" target="_blank">http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204</a>.</div>

<div>Thanks, Jeff<br></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">

 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Smaran Harihar <<a href="mailto:smaran.harihar@gmail.com" target="_blank">smaran.harihar@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> PostGIS Users Discussion <<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a>> <br>

 <b><span style="font-weight:bold">Sent:</span></b> Wednesday, May 23, 2012 10:09 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [postgis-users] Ubuntu and Postgresql9.1.3-2<br> </font> </div> <br>
<div>Hi,<div><br></div><div>I have already installed PostGIS 2.0 and Postgres 9.3.1 using synaptic package manager.</div><div><br></div><div>Now when I run your commands in psql console,</div><div><br></div><div><pre style="background-color:rgb(247,247,247);border:1px solid rgb(215,215,215);margin-right:1.75em;margin-left:1.75em;padding:0.25em;overflow:auto;font-size:13px">

shpRepo=# CREATE EXTENSION postgis;</pre><div>I am receiving an error,</div><div><br></div><div><font color="#ff0000">ERROR: could not open extension control file "/usr/share/postgres/9.1/extension/postgis.control": No such file or directory</font></div>



<div><font color="#ff0000"><br></font></div><div>Where did I go wrong?</div><div><br></div><div><br></div><br><div>On Wed, May 23, 2012 at 9:58 AM, Brian H Wilson <span dir="ltr"><<a rel="nofollow" href="mailto:brian@wildsong.biz" target="_blank">brian@wildsong.biz</a>></span> wrote:<br>



<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 5/23/2012 8:08 AM, José María Amuedo wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Someone know how can linstall postgresql-9.1.3-2-linux.run in Ubuntu 12.04?<br>
<br>
I installed it but I can not to launch stackbuilder to configure new<br>
tools like postgis.<br>
</blockquote>
<br></div>
As Jeff said, installing on Ubuntu 12.04 using apt-get is easy, and I've only used stackbuilder once. You don't really need it.<br>
<br>
I like to experiment with the latest so currently I do install PostGIS from sources. The version in the official Ubuntu repository is still at 1.5.3<br>
<br>
There are instructions here for PostGIS 2 packages that look pretty promising:<br>
<br>
<a href="http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204" target="_blank">http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS20Ubuntu1204</a><br>
<br>
My own grueling details are here: <a href="http://wildsong.biz/index.php/PostGIS" target="_blank">http://wildsong.biz/index.php/PostGIS</a><br>
Feedback welcome.<br>
<br>
Hope this helps,<br>
<br>
Brian<div><div><br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a rel="nofollow" href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>
</div><br>_______________________________________________<br>postgis-users mailing list<br><a rel="nofollow" href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>

<a rel="nofollow" href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br> </div> </div> </blockquote></div>   </div>

</div></div><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>

<br><br> </div></div></div> </div> </blockquote></div>  
 </div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>