3
postgresql을 방황하는 상자에 설치하려고하는데 행운이 없습니다. 나는 쉐프와 Puppet과 함께 프로비저닝을 시도한 다음 마침내 상자에 ssh'd를 설치하고 apt-get install을 시도했습니다 ... 결과는 동일합니다. 요리사 통해Postgresql을 Vagrant 상자에 설치하는 방법
:를 통해
FATAL: Chef::Exceptions::Exec: package[postgresql-client] (postgresql::client line 37) had an error: apt-get -q -y install postgresql-client=8.4.8-0ubuntu0.10.04 returned 100, expected 0
apt-get install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpq5 postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common ssl-cert
Suggested packages:
oidentd ident-server postgresql-doc-8.4
The following NEW packages will be installed:
libpq5 postgresql postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common
ssl-cert
0 upgraded, 7 newly installed, 0 to remove and 5 not upgraded.
Need to get 4,899kB/4,952kB of archives.
After this operation, 20.6MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpq5 8.4.8-0ubuntu0.10.04
404 Not Found [IP: 91.189.92.181 80]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-client-8.4 8.4.8-0ubuntu0.10.04
404 Not Found [IP: 91.189.92.181 80]
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main ssl-cert 1.0.23ubuntu2 [10.9kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-common 106ubuntu1 [88.2kB]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-8.4 8.4.8-0ubuntu0.10.04
404 Not Found [IP: 91.189.92.181 80]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql 8.4.8-0ubuntu0.10.04
404 Not Found [IP: 91.189.92.181 80]
Fetched 99.2kB in 1s (91.7kB/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-8.4/libpq5_8.4.8-0ubuntu0.10.04_i386.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-8.4/postgresql-client-8.4_8.4.8-0ubuntu0.10.04_i386.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-8.4/postgresql-8.4_8.4.8-0ubuntu0.10.04_i386.deb 404 Not Found [IP: 91.189.92.181 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/postgresql-8.4/postgresql_8.4.8-0ubuntu0.10.04_all.deb 404 Not Found [IP: 91.189.92.181 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
누구나이 발생하거나 난 그냥 더미입니다 apt-get을? :)
그게 전부입니다. :) Postgresql로 태그가 지정되지 않았습니다. –
도와 줘서 기쁩니다 :-) –
나는이 대답에 동의하지 않으며, 불완전합니다. 포스트그레스 레서피를 실행하기 전에 Chef 프로비저닝의 일부로 apt-get 업데이트를 실행할 수 있어야합니다. – ashchristopher