Thread: Uninstall Everything.
H- Thanks too all that have emailed and sent info about moving up too the latest postgres. Unfortunately due to a lack of gray matter, or perhaps a mild case of brain fart I'm stuck and unable to get this process working. What I'd like to do now is completely uninstall postgres from the system and move from there. I'm not concerned with preserving any database tables. I've found many references on how to install rpm's but unfortunately none of the rpm -e postgres stuff works on my machine. Would it be practical to simply remove all the directories associated with postgres (which I'm sure is a lot and where to begin finding them?? 8^) or is there another 'cleaner' process to get it up cleared out of the system? Check out this contradiction: [root@XXXX postgres]# rpm -e postgresql-7.0.3-2.i386.rpm error: package postgresql-7.0.3-2.i386.rpm is not installed [root@XXXX postgres]# rpm -ivh postgresql-7.0.3-2.i386.rpm package postgresql-7.0.3-2 is already installed [root@XXXX postgres]# Help me Obi-Postgres. You're my only hope. Thanks. -Sterling
Try: "rpm -e postgresql-7.0.3-2" That's without the ".i386.rpm" part which should not be included. Poul L. Christiansen PS. I've turned of HTML in Netscape mail 6, but I don't think it's working. Are you recieving HTML now? Sterling wrote: > H- > > Thanks too all that have emailed and sent info about moving up too the > latest postgres. Unfortunately due to a lack of gray matter, or perhaps > a mild case of brain fart I'm stuck and unable to get this process > working. > > What I'd like to do now is completely uninstall postgres from the system > and move from there. I'm not concerned with preserving any database > tables. > > I've found many references on how to install rpm's but unfortunately > none of the rpm -e postgres stuff works on my machine. > > Would it be practical to simply remove all the directories associated > with postgres (which I'm sure is a lot and where to begin finding them?? > 8^) or is there another 'cleaner' process to get it up cleared out of > the system? > Check out this contradiction: > > [root@XXXX postgres]# rpm -e postgresql-7.0.3-2.i386.rpm > error: package postgresql-7.0.3-2.i386.rpm is not installed > [root@XXXX postgres]# rpm -ivh postgresql-7.0.3-2.i386.rpm > package postgresql-7.0.3-2 is already installed > [root@XXXX postgres]# > > Help me Obi-Postgres. > You're my only hope. > Thanks. > -Sterling >
H- Thanks for the info. I was able to unistall all the files. I did have to manually delete the directories that have the database data in them though. Your email did not contain any HTML and I'm not sending html messages. I also had Netscape 6 and promptly uninstalled it the same night. But that's just me. Thanks again and take it easy. -Sterling "Poul L. Christiansen" wrote: > Try: > "rpm -e postgresql-7.0.3-2" > > That's without the ".i386.rpm" part which should not be included. > > Poul L. Christiansen > > PS. I've turned of HTML in Netscape mail 6, but I don't think it's > working. Are you recieving HTML now? > > Sterling wrote: > > > H- > > > > Thanks too all that have emailed and sent info about moving up too the > > latest postgres. Unfortunately due to a lack of gray matter, or perhaps > > a mild case of brain fart I'm stuck and unable to get this process > > working. > > > > What I'd like to do now is completely uninstall postgres from the system > > and move from there. I'm not concerned with preserving any database > > tables. > > > > I've found many references on how to install rpm's but unfortunately > > none of the rpm -e postgres stuff works on my machine. > > > > Would it be practical to simply remove all the directories associated > > with postgres (which I'm sure is a lot and where to begin finding them?? > > 8^) or is there another 'cleaner' process to get it up cleared out of > > the system? > > Check out this contradiction: > > > > [root@XXXX postgres]# rpm -e postgresql-7.0.3-2.i386.rpm > > error: package postgresql-7.0.3-2.i386.rpm is not installed > > [root@XXXX postgres]# rpm -ivh postgresql-7.0.3-2.i386.rpm > > package postgresql-7.0.3-2 is already installed > > [root@XXXX postgres]# > > > > Help me Obi-Postgres. > > You're my only hope. > > Thanks. > > -Sterling > >
> Try: > "rpm -e postgresql-7.0.3-2" or just 'rpm -e postgresql'. You don't to specific the version numbers, even. However, you'll need to uninstall *all* the PG stuff you have, like postgresql-server, postgresql-test, etc. I usually use rpm -e `rpm -qa | grep postgresql` which means rpm -qa (show all rpm packages), grep postgresql (find those that have postgresql in their names), and remove them all. -- Joel Burton, Director of Information Systems -*- jburton@scw.org Support Center of Washington (www.scw.org)