jiwan@v-jiwan-
ubuntu:~/下载$ sudo apt-get install postgresql
正在分析软件包的依赖关系树
下列软件包是自动安装的并且现在不需要了:
linux-headers-2.6.32-21 linux-headers-2.6.32-21-generic
使用'apt-get autoremove'来删除它们
libpq5 postgresql-8.4 postgresql-client-8.4 postgresql-client-common
postgresql-common
oidentd ident-server postgresql-doc-8.4
libpq5 postgresql postgresql-8.4 postgresql-client-8.4
postgresql-client-common postgresql-common
升级了 0 个软件包,新安装了 6 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 4,917kB 的软件包。
解压缩后会消耗掉 19.0MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq5 8.4.4-0ubuntu10.04 [80.9kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ lucid/main postgresql-client-common 106 [52.2kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-client-8.4 8.4.4-0ubuntu10.04 [785kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu/ lucid/main postgresql-common 106 [88.3kB]
获取:5 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-8.4 8.4.4-0ubuntu10.04 [3,896kB]
获取:6 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql 8.4.4-0ubuntu10.04 [14.9kB]
下载 4,917kB,耗时 1秒 (3,303kB/s)
选中了曾被取消选择的软件包 libpq5。
(正在读取数据库 ... 系统当前总共安装有 147549 个文件和目录。)
正在解压缩 libpq5 (从 .../libpq5_8.4.4-0ubuntu10.04_i386.deb) ...
选中了曾被取消选择的软件包 postgresql-client-common。
正在解压缩 postgresql-client-common (从 .../postgresql-client-common_106_all.deb) ...
选中了曾被取消选择的软件包 postgresql-client-8.4。
正在解压缩 postgresql-client-8.4 (从 .../postgresql-client-8.4_8.4.4-0ubuntu10.04_i386.deb) ...
选中了曾被取消选择的软件包 postgresql-common。
正在解压缩 postgresql-common (从 .../postgresql-common_106_all.deb) ...
选中了曾被取消选择的软件包 postgresql-8.4。
正在解压缩 postgresql-8.4 (从 .../postgresql-8.4_8.4.4-0ubuntu10.04_i386.deb) ...
选中了曾被取消选择的软件包 postgresql。
正在解压缩 postgresql (从 .../postgresql_8.4.4-0ubuntu10.04_all.deb) ...
正在处理用于 man-db 的触发器...
正在处理用于 ureadahead 的触发器...
ureadahead will be reprofiled on next reboot
正在设置 libpq5 (8.4.4-0ubuntu10.04) ...
正在设置 postgresql-client-common (106) ...
正在设置 postgresql-client-8.4 (8.4.4-0ubuntu10.04) ...
update-alternatives: 使用 /usr/share/postgresql/8.4/man/man1/psql.1.gz 来提供 /usr/share/man/man1/psql.1.gz (psql.1.gz),于 自动模式 中。
正在设置 postgresql-common (106) ...
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
en_au
en_ca
en_gb
en_us
正在设置 postgresql-8.4 (8.4.4-0ubuntu10.04) ...
Creating new cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main)...
Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to /etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to /etc/postgresql/8.4/main...
Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to /etc/postgresql/8.4/main...
Configuring postgresql.conf to use port 5432...
update-alternatives: 使用 /usr/share/postgresql/8.4/man/man1/postmaster.1.gz 来提供 /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz),于 自动模式 中。
* Starting PostgreSQL 8.4 database server [ OK ]
正在设置 postgresql (8.4.4-0ubuntu10.04) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
jiwan@v-jiwan-ubuntu:~/下载$