Я пытаюсь установить Postgres 9.3 с инструкциями здесь. Но установка не работает.
[ubuntu:~]$ lsb_release -c
Codename: raring
[ubuntu:~]$
[ubuntu:~]$ cat /etc/apt/sources.list.d/pgdg.list
deb http://apt.postgresql.org/pub/repos/apt/ raring-pgdg main
[ubuntu:~]$
[ubuntu:~]$ sudo apt-get update
Hit http://us-west-2.ec2.archive.ubuntu.com raring Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates Release.gpg
Hit http://us-west-2.ec2.archive.ubuntu.com raring Release
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates Release
Hit http://us-west-2.ec2.archive.ubuntu.com raring/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com raring/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com raring/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com raring/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com raring/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com raring/universe Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/main Sources
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/universe Sources
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/main amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/universe amd64 Packages
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/main Translation-en
Hit http://us-west-2.ec2.archive.ubuntu.com raring-updates/universe Translation-en
Ign http://us-west-2.ec2.archive.ubuntu.com raring/main Translation-en_US
Hit http://security.ubuntu.com raring-security Release.gpg
Ign http://us-west-2.ec2.archive.ubuntu.com raring/universe Translation-en_US
Ign http://us-west-2.ec2.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://us-west-2.ec2.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://apt.postgresql.org raring-pgdg Release.gpg
Hit http://security.ubuntu.com raring-security Release
Ign http://apt.postgresql.org raring-pgdg Release
Hit http://security.ubuntu.com raring-security/main Sources
Hit http://security.ubuntu.com raring-security/universe Sources
Hit http://security.ubuntu.com raring-security/main amd64 Packages
Hit http://security.ubuntu.com raring-security/universe amd64 Packages
Hit http://security.ubuntu.com raring-security/main Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Err http://apt.postgresql.org raring-pgdg/main amd64 Packages
404 Not Found [IP: 217.196.149.55 80]
Ign http://apt.postgresql.org raring-pgdg/main Translation-en_US
Ign http://apt.postgresql.org raring-pgdg/main Translation-en
W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/raring-pgdg/main/binary-amd64/Packages 404 Not Found [IP: 217.196.149.55 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
[ubuntu:~]$
[ubuntu:~]$ sudo apt-get install postgresql-9.3 pgadmin3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql-9.3
E: Couldn't find any package by regex 'postgresql-9.3'
[ubuntu:~]$
Я также попытался поместить эти строки в /etc/apt/sources.list. Но это тоже не работает.
deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse