apt-get install postgresql
我相信我有所有的位用于复制,除了,pg_archivecleanup不起作用.如果我试图运行它,我会得到它
The program ‘pg_archivecleanup’ is currently not installed. You can install it by typing: apt-get install postgres-xc-contrib
但是这个软件包安装了Postgres-XC并且炸毁了我不希望做的postgresql.
最好的我的谷歌搜索是this thread,其中一个人与9.2有相同的问题,唯一的回答是“你可能还需要安装-contrib子包.”但做:
apt-get install postgresql-contrib
我明白了:
postgresql-contrib is already the newest version.
那么如何在Ubuntu 13.04(Raring Ringtail)上为Postgresql 9.3安装pg_archivecleanup?
谢谢!
布拉德
通常如果你跑了:
dpkg -L postgresql-contrib-9.3您应该在文件中看到:
/usr/lib/postgresql/9.3/bin/pg_archivecleanup
它不在默认路径中,但这是预期的.
反之,命令dpkg -S pg_archivecleanup应输出postgresql-contrib-9.3.
shell的命令未找到处理程序从postgres-xc获取它的建议在这种情况下没有帮助.据推测,它命中第一个包含命令名称的包.
原文地址:https://www.jb51.cc/ubuntu/347527.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。