Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在Ubuntu 13.04上安装Postgresql 9.2时出现问题_Linux_Postgresql_Ubuntu - Fatal编程技术网

Linux 在Ubuntu 13.04上安装Postgresql 9.2时出现问题

Linux 在Ubuntu 13.04上安装Postgresql 9.2时出现问题,linux,postgresql,ubuntu,Linux,Postgresql,Ubuntu,我正试图在我的Ubuntu 13.04系统上安装Postgres。为此,我运行了以下命令 $ sudo apt-get update $ sudo apt-get install postgresql-common -t raring 两个都很好。然后我尝试通过运行 $ sudo apt-get install postgresql-9.2 这导致了以下错误消息 Reading package lists... Done Building dependency tree Rea

我正试图在我的Ubuntu 13.04系统上安装Postgres。为此,我运行了以下命令

$ sudo apt-get update
$ sudo apt-get install postgresql-common -t raring
两个都很好。然后我尝试通过运行

$ sudo apt-get install postgresql-9.2
这导致了以下错误消息

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package postgresql-9.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'postgresql-9.2' has no installation candidate
9.2将被“淘汰”的想法对我来说似乎很奇怪,因为当我去Postgres网站查看Ubuntu时,我被告知要运行命令

apt-get install postgresql-9.2 

基于以下线程进行尝试

在Ubuntu官方存储库中,只有PostgreSQL 9.1可用。这就是为什么找不到它的原因

为了使用apt在VPS中获得PostgreSQL v9.2,您应该遵循这里找到的Ubuntu的官方>PostgreSQL过程

它包括添加PostgreSQL官方存储库作为存储库源之一

创建文件/etc/apt/sources.list.d/pgdg.list

将该行插入deb Precision pgdg main

导入存储库签名密钥wget--quiet-O- /密钥/ACCC4CF8.asc | sudo apt密钥添加-

刷新存储库缓存sudo apt get update

现在您只需执行sudo apt get安装postgresql-9.2即可


基于以下线程进行尝试

在Ubuntu官方存储库中,只有PostgreSQL 9.1可用。这就是为什么找不到它的原因

为了使用apt在VPS中获得PostgreSQL v9.2,您应该遵循这里找到的Ubuntu的官方>PostgreSQL过程

它包括添加PostgreSQL官方存储库作为存储库源之一

创建文件/etc/apt/sources.list.d/pgdg.list

将该行插入deb Precision pgdg main

导入存储库签名密钥wget--quiet-O- /密钥/ACCC4CF8.asc | sudo apt密钥添加-

刷新存储库缓存sudo apt get update

现在您只需执行sudo apt get安装postgresql-9.2即可


基于以下线程进行尝试

在Ubuntu官方存储库中,只有PostgreSQL 9.1可用。这就是为什么找不到它的原因

为了使用apt在VPS中获得PostgreSQL v9.2,您应该遵循这里找到的Ubuntu的官方>PostgreSQL过程

它包括添加PostgreSQL官方存储库作为存储库源之一

创建文件/etc/apt/sources.list.d/pgdg.list

将该行插入deb Precision pgdg main

导入存储库签名密钥wget--quiet-O- /密钥/ACCC4CF8.asc | sudo apt密钥添加-

刷新存储库缓存sudo apt get update

现在您只需执行sudo apt get安装postgresql-9.2即可


基于以下线程进行尝试

在Ubuntu官方存储库中,只有PostgreSQL 9.1可用。这就是为什么找不到它的原因

为了使用apt在VPS中获得PostgreSQL v9.2,您应该遵循这里找到的Ubuntu的官方>PostgreSQL过程

它包括添加PostgreSQL官方存储库作为存储库源之一

创建文件/etc/apt/sources.list.d/pgdg.list

将该行插入deb Precision pgdg main

导入存储库签名密钥wget--quiet-O- /密钥/ACCC4CF8.asc | sudo apt密钥添加-

刷新存储库缓存sudo apt get update

现在您只需执行sudo apt get安装postgresql-9.2即可


Ubuntu 13.04没有
postgresql-9.2
软件包。请搜索。这个问题属于Ubuntu 13.04没有
postgresql-9.2
软件包。请搜索。这个问题属于Ubuntu 13.04没有
postgresql-9.2
软件包。请搜索。这个问题属于Ubuntu 13.04没有
postgresql-9.2
软件包。请搜索。此问题属于