LinuxForum.Fans
Тема

Postgre и CentOS

Автор: antobra 2 сообщений 3065 просмотров
#237756

Здравствуйте, разрешите вопрос.
На centos был криво поставлен postgresql. Я удалил все файлы, которые упоминали postgre на сервере. Но когда пытаюсь командой yum install -y postgresql-server установить постгре, то он пишет следующее:

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: www.peeje.com
* extras: www.peeje.com
* updates: www.peeje.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package postgresql-server-8.1.23-1.el5_7.3.x86_64 already installed and latest version
Nothing to do

Что говорит о том, что база стоит. Как удалить полностью postgre, чтобы установить заново или как можно вообще поступить? Спасибо.

#237757

rpm -
[console]yum reinstall postgresql-server[/console]
Не поможет?
Можно так
[console][root@ldap ~]# rpm -qa | grep -i htop
htop-1.0.1-1.el5
[root@ldap ~]# rpm -e htop-1.0.1-1.el5
[root@ldap ~]# yum install htop[/console]

Войдите или зарегистрируйтесь, чтобы ответить.