l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2009 Aug 18 08:47

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] can't remove postgresql
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] can't remove postgresql



Alex, great! I figured it out myself too, that's what I did:

hai@zodiac:~$ dpkg -l | grep postgre*
rc  postgresql-8.3                             8.3.7-0ubuntu8.10.1                                        object-relational SQL database, version 8.3 server
rc  postgresql-common                          90                                                         PostgreSQL database-cluster manager

and I use "dpkg -P " to purge them. BTW, what "rc" stand for in here?
hai

On Tue, Aug 18, 2009 at 10:59 AM, Alex Mandel <tech_dev@wildintellect.com> wrote:
Tomcat would show up as a Java process most likely.
As for postgres the package does contain the version number since you
can install and run multiple versions at the same time. Not sure why
dpkg didn't catch it.
Just try
sudo dpkg -l | grep postgre
to list them out for you.

Alex

Hai Yi wrote:
> hey, peter:
>
> thanks! I checked using dpkg, it didn't return anything, so all point to the
> direction that postgresql is not there; but why nmap insists that postgresql
> is open? Also, i start tomcat but it's not reported by nmap. I'll send the
> question to nmap's forum and see what they say.
>
> thx again!
> Hai
>
>
>
> On Tue, Aug 18, 2009 at 12:12 AM, Peter Jay Salzman <p@dirac.org> wrote:
>
>>  On Tue 18 Aug 09, 12:07 AM, Hai Yi <yihai2004@gmail.com> said:
>>>    hello all:
>>>
>>>    I noitced that postgresql has been installed on my ubuntu box, i no
>> longer
>>>    use it, but there are few entries of postgresql in the application
>> menu
>>>    and becomes a eyesore.
>>>
>>>    I tried to remove it by launching:
>>>
>>>    sudo apt-get -f remove postgresql
>>>
>>>    the message shows:
>>>
>>>    Reading package lists... Done
>>>    Building dependency tree
>>>    Reading state information... Done
>>>    Package postgresql is not installed, so not removed
>>>    0 upgraded, 0 newly installed, 0 to remove and 97 not upgraded.
>>>
>>>    However, if I use nmap to test the running apps, it shows:
>>>
>>>    PORT     STATE SERVICE
>>>    22/tcp   open  ssh
>>>    631/tcp  open  ipp
>>>    5432/tcp open  postgresql
>>>    8009/tcp open  ajp13
>>>
>>>    I am confused, anyone has any idea?
>>>
>>>    Thanks,
>>>    Hai
>> Hai, to get the exact name of the postgresql package try this:
>>
>>   dpkg -l "*postgre*" | grep ii
>>
>> It'll search for all installed packages (grep ii) with the string
>> "postgre" somewhere in the package name (dpkg -l "*postgre*").
>>
>> Pete
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.