Hello, change from: sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list" sudo apt-get install wget ca-certificates wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update -y --fix-missing sudo apt-get upgrade
to: echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' | tee -a /etc/apt/sources.list.d/pgdg.list sudo apt-get install -y wget ca-certificates wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update #sudo apt-get upgrade ## not needed, and will break guest additions sudo apt-get install -y postgresql-9.4 After those changes: ... .. Removing apt.postgresql.org key from trusted.gpg: OK Importing apt.postgresql.org key: OK Setting up postgresql-client-common (171.pgdg14.04+1) ... Setting up postgresql-client-9.4 (9.4.5-1.pgdg14.04+1) ... update-alternatives: using /usr/share/postgresql/9.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up ssl-cert (1.0.33) ... Setting up postgresql-common (171.pgdg14.04+1) ... Adding user postgres to group ssl-cert Creating config file /etc/postgresql-common/createcluster.conf with new version Creating config file /etc/logrotate.d/postgresql-common with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: * No PostgreSQL clusters exist; see "man pg_createcluster" Processing triggers for ureadahead (0.100.0-16) ... Setting up postgresql-9.4 (9.4.5-1.pgdg14.04+1) ... Creating new cluster 9.4/main ... config /etc/postgresql/9.4/main data /var/lib/postgresql/9.4/main locale en_US.utf8 port 5432 update-alternatives: using /usr/share/postgresql/9.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode * Starting PostgreSQL 9.4 database server [ OK ] Setting up postgresql-contrib-9.4 (9.4.5-1.pgdg14.04+1) ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... root@ubuntu-1404-vmware:~# Alvaro. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eznLe%2BrfeZfyWXfVgdjGAyUEoRDKonj7iaesC0_msvf1g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
