Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisioning fails #9

Closed
ionutzp opened this issue May 14, 2014 · 6 comments
Closed

Provisioning fails #9

ionutzp opened this issue May 14, 2014 · 6 comments

Comments

@ionutzp
Copy link

ionutzp commented May 14, 2014

Running vagrant up fails:

PLAY [Install LEMP Stack with PHP 5.5 and MariaDB MySQL] **********************

GATHERING FACTS ***************************************************************
ok: [default]

TASK: [upgrade | Running apt-get update] **************************************
ok: [default]

TASK: [upgrade | Running apt-get upgrade] *************************************
failed: [default] => {"failed": true, "item": ""}
stdout: Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
The following packages will be upgraded:
  gettext gettext-base gir1.2-glib-2.0 initramfs-tools initramfs-tools-bin
  iputils-ping iputils-tracepath libasprintf-dev libasprintf0c2
  libfreetype6 libgettextpo-dev libgettextpo0 libgirepository-1.0-1
  libjson-c2 libjson0 libmariadbclient18 libmysqlclient18 libpam-systemd
  libselinux1 libssl-dev libssl-doc libssl1.0.0 libsystemd-daemon0
  libsystemd-login0 libtiff5 libudev1 linux-headers-3.13.0-24
  linux-headers-3.13.0-24-generic linux-image-3.13.0-24-generic
  linux-libc-dev mariadb-client-10.0 mariadb-client-core-10.0
  mariadb-common mariadb-server mariadb-server-10.0
  mariadb-server-core-10.0 mysql-common openssl patch php-pear php5-cli
  php5-common php5-composer php5-curl php5-dev php5-fpm php5-gd php5-imap
  php5-mcrypt php5-mysqlnd php5-readline php5-xmlrpc python3-update-manager
  systemd-services tzdata udev update-manager-core
57 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.6 MB of archives. After unpacking 15.4 kB will be freed.
Writing extended state information...
Get: 1 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-server all 10.0.11+maria-1~trusty [2934 B]
Get: 2 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-readline amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [12.0 kB]
Get: 3 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mysql-common all 10.0.11+maria-1~trusty [8410 B]
Get: 4 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-cli amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [2093 kB]
Get: 5 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-common all 10.0.11+maria-1~trusty [3216 B]
Get: 6 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libselinux1 amd64 2.2.2-1ubuntu0.1 [58.7 kB]
Get: 7 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main libmariadbclient18 amd64 10.0.11+maria-1~trusty [566 kB]
Get: 8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-doc all 1.0.1f-1ubuntu2.1 [965 kB]
Get: 9 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main libmysqlclient18 amd64 10.0.11+maria-1~trusty [2892 B]
Get: 10 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-client-core-10.0 amd64 10.0.11+maria-1~trusty [766 kB]
Get: 11 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-client-10.0 amd64 10.0.11+maria-1~trusty [1029 kB]
Get: 12 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-imap amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [30.3 kB]
Get: 13 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-mcrypt amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [14.1 kB]
Get: 14 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-fpm amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [2119 kB]
Get: 15 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-server-core-10.0 amd64 10.0.11+maria-1~trusty [4367 kB]
Get: 16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl-dev amd64 1.0.1f-1ubuntu2.1 [1070 kB]
Get: 17 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libssl1.0.0 amd64 1.0.1f-1ubuntu2.1 [822 kB]
Get: 18 http://mirrors.coreix.net/mariadb/repo/10.0/ubuntu/ trusty/main mariadb-server-10.0 amd64 10.0.11+maria-1~trusty [5213 kB]
Get: 19 http://archive.ubuntu.com/ubuntu/ trusty-updates/main udev amd64 204-5ubuntu20.2 [734 kB]
Get: 20 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-xmlrpc amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [34.3 kB]
Get: 21 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-gd amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [27.8 kB]
Get: 22 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-mysqlnd amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [135 kB]
Get: 23 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-curl amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [27.3 kB]
Get: 24 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libudev1 amd64 204-5ubuntu20.2 [33.3 kB]
Get: 25 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-common amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [358 kB]
Get: 26 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf-dev amd64 0.18.3.1-1ubuntu3 [4438 B]
Get: 27 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libasprintf0c2 amd64 0.18.3.1-1ubuntu3 [6712 B]
Get: 28 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main libjson-c2 amd64 0.11-4+deb.sury.org~trusty+1 [20.8 kB]
Get: 29 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpam-systemd amd64 204-5ubuntu20.2 [25.5 kB]
Get: 30 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php-pear all 5.5.12+dfsg-2+deb.sury.org~trusty+1 [267 kB]
Get: 31 http://archive.ubuntu.com/ubuntu/ trusty-updates/main systemd-services amd64 204-5ubuntu20.2 [197 kB]
Get: 32 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-daemon0 amd64 204-5ubuntu20.2 [9748 B]
Get: 33 http://ppa.launchpad.net/duggan/composer/ubuntu/ trusty/main php5-composer amd64 1.0.0-dev-20140505-36~ubuntu14.04.1 [161 kB]
Get: 34 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-login0 amd64 204-5ubuntu20.2 [26.8 kB]
Get: 35 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main php5-dev amd64 5.5.12+dfsg-2+deb.sury.org~trusty+1 [345 kB]
Get: 36 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libfreetype6 amd64 2.5.2-1ubuntu2.1 [305 kB]
Get: 37 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo-dev amd64 0.18.3.1-1ubuntu3 [122 kB]
Get: 38 http://ppa.launchpad.net/ondrej/php5/ubuntu/ trusty/main libjson0 amd64 0.11-4+deb.sury.org~trusty+1 [1042 B]
Get: 39 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgettextpo0 amd64 0.18.3.1-1ubuntu3 [108 kB]
Get: 40 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libtiff5 amd64 4.0.3-7ubuntu0.1 [142 kB]
Get: 41 http://archive.ubuntu.com/ubuntu/ trusty-updates/main initramfs-tools all 0.103ubuntu4.1 [44.3 kB]
Get: 42 http://archive.ubuntu.com/ubuntu/ trusty-updates/main initramfs-tools-bin amd64 0.103ubuntu4.1 [8898 B]
Get: 43 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-24-generic amd64 3.13.0-24.47 [15.0 MB]
Get: 44 http://archive.ubuntu.com/ubuntu/ trusty-updates/main tzdata all 2014c-0ubuntu0.14.04 [181 kB]
Get: 45 http://archive.ubuntu.com/ubuntu/ trusty-updates/main iputils-ping amd64 3:20121221-4ubuntu1.1 [52.6 kB]
Get: 46 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext-base amd64 0.18.3.1-1ubuntu3 [48.8 kB]
Get: 47 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgirepository-1.0-1 amd64 1.40.0-1ubuntu0.1 [85.5 kB]
Get: 48 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gir1.2-glib-2.0 amd64 1.40.0-1ubuntu0.1 [124 kB]
Get: 49 http://archive.ubuntu.com/ubuntu/ trusty-updates/main iputils-tracepath amd64 3:20121221-4ubuntu1.1 [32.6 kB]
Get: 50 http://archive.ubuntu.com/ubuntu/ trusty-updates/main openssl amd64 1.0.1f-1ubuntu2.1 [489 kB]
Get: 51 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-update-manager all 1:0.196.12 [31.5 kB]
Get: 52 http://archive.ubuntu.com/ubuntu/ trusty-updates/main update-manager-core all 1:0.196.12 [5252 B]
Get: 53 http://archive.ubuntu.com/ubuntu/ trusty-updates/main gettext amd64 0.18.3.1-1ubuntu3 [829 kB]
Get: 54 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-24 all 3.13.0-24.47 [8865 kB]
Get: 55 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-headers-3.13.0-24-generic amd64 3.13.0-24.47 [708 kB]
Get: 56 http://archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-24.47 [780 kB]
Get: 57 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu1 [84.4 kB]
Fetched 49.6 MB in 1min 9s (709 kB/s)
Preconfiguring packages ...
(Reading database ... 66984 files and directories currently installed.)
Preparing to unpack .../libselinux1_2.2.2-1ubuntu0.1_amd64.deb ...
Unpacking libselinux1:amd64 (2.2.2-1ubuntu0.1) over (2.2.2-1) ...
Setting up libselinux1:amd64 (2.2.2-1ubuntu0.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
(Reading database ... 66984 files and directories currently installed.)
Preparing to unpack .../libssl-doc_1.0.1f-1ubuntu2.1_all.deb ...
Unpacking libssl-doc (1.0.1f-1ubuntu2.1) over (1.0.1f-1ubuntu2) ...
Preparing to unpack .../libssl-dev_1.0.1f-1ubuntu2.1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1f-1ubuntu2.1) over (1.0.1f-1ubuntu2) ...
Preparing to unpack .../libssl1.0.0_1.0.1f-1ubuntu2.1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1f-1ubuntu2.1) over (1.0.1f-1ubuntu2) ...
Preparing to unpack .../udev_204-5ubuntu20.2_amd64.deb ...
Adding 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'
Unpacking udev (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../libudev1_204-5ubuntu20.2_amd64.deb ...
Unpacking libudev1:amd64 (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../libasprintf-dev_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking libasprintf-dev:amd64 (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../libasprintf0c2_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking libasprintf0c2:amd64 (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../libpam-systemd_204-5ubuntu20.2_amd64.deb ...
systemd-logind stop/waiting
Unpacking libpam-systemd:amd64 (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../systemd-services_204-5ubuntu20.2_amd64.deb ...
Unpacking systemd-services (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../libsystemd-daemon0_204-5ubuntu20.2_amd64.deb ...
Unpacking libsystemd-daemon0:amd64 (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../libsystemd-login0_204-5ubuntu20.2_amd64.deb ...
Unpacking libsystemd-login0:amd64 (204-5ubuntu20.2) over (204-5ubuntu20) ...
Preparing to unpack .../libfreetype6_2.5.2-1ubuntu2.1_amd64.deb ...
Unpacking libfreetype6:amd64 (2.5.2-1ubuntu2.1) over (2.5.2-1ubuntu2) ...
Preparing to unpack .../libgettextpo-dev_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking libgettextpo-dev:amd64 (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../libgettextpo0_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking libgettextpo0:amd64 (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../libtiff5_4.0.3-7ubuntu0.1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.3-7ubuntu0.1) over (4.0.3-7) ...
Preparing to unpack .../initramfs-tools_0.103ubuntu4.1_all.deb ...
Unpacking initramfs-tools (0.103ubuntu4.1) over (0.103ubuntu4) ...
Preparing to unpack .../initramfs-tools-bin_0.103ubuntu4.1_amd64.deb ...
Unpacking initramfs-tools-bin (0.103ubuntu4.1) over (0.103ubuntu4) ...
Preparing to unpack .../linux-image-3.13.0-24-generic_3.13.0-24.47_amd64.deb ...
Unpacking linux-image-3.13.0-24-generic (3.13.0-24.47) over (3.13.0-24.46) ...
Preparing to unpack .../mariadb-server_10.0.11+maria-1~trusty_all.deb ...
Unpacking mariadb-server (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../mysql-common_10.0.11+maria-1~trusty_all.deb ...
Unpacking mysql-common (10.0.11+maria-1~trusty) over (5.5.37-0ubuntu0.14.04.1) ...
Preparing to unpack .../mariadb-common_10.0.11+maria-1~trusty_all.deb ...
Unpacking mariadb-common (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../libmariadbclient18_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking libmariadbclient18 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../libmysqlclient18_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking libmysqlclient18 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../mariadb-client-core-10.0_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking mariadb-client-core-10.0 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../mariadb-client-10.0_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking mariadb-client-10.0 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../mariadb-server-core-10.0_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking mariadb-server-core-10.0 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up mysql-common (10.0.11+maria-1~trusty) ...
Installing new version of config file /etc/mysql/my.cnf ...
Setting up mariadb-common (10.0.11+maria-1~trusty) ...
(Reading database ... 66990 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.0_10.0.11+maria-1~trusty_amd64.deb ...
Unpacking mariadb-server-10.0 (10.0.11+maria-1~trusty) over (10.0.10+maria-1~trusty) ...
Preparing to unpack .../tzdata_2014c-0ubuntu0.14.04_all.deb ...
Unpacking tzdata (2014c-0ubuntu0.14.04) over (2014b-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up tzdata (2014c-0ubuntu0.14.04) ...
(Reading database ... 66990 files and directories currently installed.)
Preparing to unpack .../php5-readline_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-readline (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-cli_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-cli (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-imap_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-imap (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-mcrypt_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-mcrypt (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-fpm_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-fpm (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-xmlrpc_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-xmlrpc (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-gd_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-gd (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-mysqlnd_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-mysqlnd (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-curl_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-curl (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-common_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-common (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../libjson-c2_0.11-4+deb.sury.org~trusty+1_amd64.deb ...
Unpacking libjson-c2:amd64 (0.11-4+deb.sury.org~trusty+1) over (0.11-3ubuntu1) ...
Preparing to unpack .../iputils-ping_3%3a20121221-4ubuntu1.1_amd64.deb ...
Unpacking iputils-ping (3:20121221-4ubuntu1.1) over (3:20121221-4ubuntu1) ...
Preparing to unpack .../gettext-base_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking gettext-base (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../libgirepository-1.0-1_1.40.0-1ubuntu0.1_amd64.deb ...
Unpacking libgirepository-1.0-1 (1.40.0-1ubuntu0.1) over (1.40.0-1) ...
Preparing to unpack .../gir1.2-glib-2.0_1.40.0-1ubuntu0.1_amd64.deb ...
Unpacking gir1.2-glib-2.0 (1.40.0-1ubuntu0.1) over (1.40.0-1) ...
Preparing to unpack .../iputils-tracepath_3%3a20121221-4ubuntu1.1_amd64.deb ...
Unpacking iputils-tracepath (3:20121221-4ubuntu1.1) over (3:20121221-4ubuntu1) ...
Preparing to unpack .../openssl_1.0.1f-1ubuntu2.1_amd64.deb ...
Unpacking openssl (1.0.1f-1ubuntu2.1) over (1.0.1f-1ubuntu2) ...
Preparing to unpack .../python3-update-manager_1%3a0.196.12_all.deb ...
Unpacking python3-update-manager (1:0.196.12) over (1:0.196.11) ...
Preparing to unpack .../update-manager-core_1%3a0.196.12_all.deb ...
Unpacking update-manager-core (1:0.196.12) over (1:0.196.11) ...
Preparing to unpack .../gettext_0.18.3.1-1ubuntu3_amd64.deb ...
Unpacking gettext (0.18.3.1-1ubuntu3) over (0.18.3.1-1ubuntu2) ...
Preparing to unpack .../linux-headers-3.13.0-24_3.13.0-24.47_all.deb ...
Unpacking linux-headers-3.13.0-24 (3.13.0-24.47) over (3.13.0-24.46) ...
Preparing to unpack .../linux-headers-3.13.0-24-generic_3.13.0-24.47_amd64.deb ...
Unpacking linux-headers-3.13.0-24-generic (3.13.0-24.47) over (3.13.0-24.46) ...
Preparing to unpack .../linux-libc-dev_3.13.0-24.47_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-24.47) over (3.13.0-24.46) ...
Preparing to unpack .../patch_2.7.1-4ubuntu1_amd64.deb ...
Unpacking patch (2.7.1-4ubuntu1) over (2.7.1-4) ...
Preparing to unpack .../php-pear_5.5.12+dfsg-2+deb.sury.org~trusty+1_all.deb ...
Unpacking php-pear (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../php5-composer_1.0.0-dev-20140505-36~ubuntu14.04.1_amd64.deb ...
Unpacking php5-composer (1.0.0-dev-20140505-36~ubuntu14.04.1) over (1.0.0-dev-20140428-35~ubuntu14.04.1) ...
Preparing to unpack .../php5-dev_5.5.12+dfsg-2+deb.sury.org~trusty+1_amd64.deb ...
Unpacking php5-dev (5.5.12+dfsg-2+deb.sury.org~trusty+1) over (5.5.11+dfsg-3+deb.sury.org~trusty+1) ...
Preparing to unpack .../libjson0_0.11-4+deb.sury.org~trusty+1_amd64.deb ...
Unpacking libjson0:amd64 (0.11-4+deb.sury.org~trusty+1) over (0.11-3ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Setting up libssl-doc (1.0.1f-1ubuntu2.1) ...
Setting up libssl1.0.0:amd64 (1.0.1f-1ubuntu2.1) ...
Setting up libssl-dev:amd64 (1.0.1f-1ubuntu2.1) ...
Setting up libudev1:amd64 (204-5ubuntu20.2) ...
Setting up udev (204-5ubuntu20.2) ...
udev stop/waiting
udev start/running, process 10709
Removing 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'
update-initramfs: deferring update (trigger activated)
Setting up libasprintf0c2:amd64 (0.18.3.1-1ubuntu3) ...
Setting up libasprintf-dev:amd64 (0.18.3.1-1ubuntu3) ...
Setting up libsystemd-daemon0:amd64 (204-5ubuntu20.2) ...
Setting up systemd-services (204-5ubuntu20.2) ...
Installing new version of config file /etc/systemd/logind.conf ...
Setting up libpam-systemd:amd64 (204-5ubuntu20.2) ...
systemd-logind start/running, process 10777
Setting up libsystemd-login0:amd64 (204-5ubuntu20.2) ...
Setting up libfreetype6:amd64 (2.5.2-1ubuntu2.1) ...
Setting up libgettextpo0:amd64 (0.18.3.1-1ubuntu3) ...
Setting up libgettextpo-dev:amd64 (0.18.3.1-1ubuntu3) ...
Setting up libtiff5:amd64 (4.0.3-7ubuntu0.1) ...
Setting up initramfs-tools-bin (0.103ubuntu4.1) ...
Setting up initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Setting up php5-common (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-cli (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-readline (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-imap (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-mcrypt (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-fpm (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
php5-fpm start/running, process 16550
Setting up php5-xmlrpc (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-gd (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-mysqlnd (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up php5-curl (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up libjson-c2:amd64 (0.11-4+deb.sury.org~trusty+1) ...
Setting up iputils-ping (3:20121221-4ubuntu1.1) ...
Setting up gettext-base (0.18.3.1-1ubuntu3) ...
Setting up libgirepository-1.0-1 (1.40.0-1ubuntu0.1) ...
Setting up gir1.2-glib-2.0 (1.40.0-1ubuntu0.1) ...
Setting up iputils-tracepath (3:20121221-4ubuntu1.1) ...
Setting up openssl (1.0.1f-1ubuntu2.1) ...
Setting up python3-update-manager (1:0.196.12) ...
Setting up update-manager-core (1:0.196.12) ...
Setting up gettext (0.18.3.1-1ubuntu3) ...
Setting up linux-headers-3.13.0-24 (3.13.0-24.47) ...
Setting up linux-headers-3.13.0-24-generic (3.13.0-24.47) ...
Setting up linux-libc-dev:amd64 (3.13.0-24.47) ...
Setting up patch (2.7.1-4ubuntu1) ...
Setting up php-pear (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Installing new version of config file /etc/pear/pear.conf ...
Setting up php5-composer (1.0.0-dev-20140505-36~ubuntu14.04.1) ...
Setting up php5-dev (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
Setting up libjson0:amd64 (0.11-4+deb.sury.org~trusty+1) ...
Setting up libmysqlclient18 (10.0.11+maria-1~trusty) ...
Setting up libmariadbclient18 (10.0.11+maria-1~trusty) ...
Setting up mariadb-client-core-10.0 (10.0.11+maria-1~trusty) ...
Setting up mariadb-client-10.0 (10.0.11+maria-1~trusty) ...
Setting up mariadb-server-core-10.0 (10.0.11+maria-1~trusty) ...
Setting up mariadb-server-10.0 (10.0.11+maria-1~trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for initramfs-tools (0.103ubuntu4.1) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Processing triggers for php5-fpm (5.5.12+dfsg-2+deb.sury.org~trusty+1) ...
php5-fpm start/running, process 22235
Setting up mariadb-server-10.0 (10.0.11+maria-1~trusty) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...

msg: '/usr/bin/aptitude full-upgrade' failed: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Done.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Stopping MariaDB database server mysqld
   ...done.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Stopping MariaDB database server mysqld
   ...done.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Current default time zone: 'Etc/UTC'
Local time is now:      Tue May 13 22:39:51 UTC 2014.
Universal Time is now:  Tue May 13 22:39:51 UTC 2014.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.13.0-24.46 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
done
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke pdo: already enabled for fpm SAPI
php5_invoke pdo: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke opcache: already enabled for fpm SAPI
php5_invoke opcache: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Replacing config file /etc/php5/cli/php.ini with new version
php5_invoke mysql: already enabled for cli SAPI
php5_invoke curl: already enabled for cli SAPI
php5_invoke mysqli: already enabled for cli SAPI
php5_invoke xmlrpc: already enabled for cli SAPI
php5_invoke mcrypt: already enabled for cli SAPI
php5_invoke pdo_mysql: already enabled for cli SAPI
php5_invoke imap: already enabled for cli SAPI
php5_invoke json: already enabled for cli SAPI
php5_invoke gd: already enabled for cli SAPI
php5_invoke opcache: already enabled for cli SAPI
php5_invoke readline: already enabled for cli SAPI
php5_invoke pdo: already enabled for cli SAPI
php5_invoke mysqlnd: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke readline: already enabled for fpm SAPI
php5_invoke readline: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke imap: already enabled for fpm SAPI
php5_invoke imap: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke mcrypt: already enabled for fpm SAPI
php5_invoke mcrypt: already enabled for cli SAPI

Configuration file '/etc/php5/fpm/pool.d/www.conf'
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
 ==> Keeping old config file as default.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Replacing config file /etc/php5/fpm/php.ini with new version
php5_invoke mysql: already enabled for fpm SAPI
php5_invoke curl: already enabled for fpm SAPI
php5_invoke mysqli: already enabled for fpm SAPI
php5_invoke xmlrpc: already enabled for fpm SAPI
php5_invoke mcrypt: already enabled for fpm SAPI
php5_invoke pdo_mysql: already enabled for fpm SAPI
php5_invoke imap: already enabled for fpm SAPI
php5_invoke json: already enabled for fpm SAPI
php5_invoke gd: already enabled for fpm SAPI
php5_invoke opcache: already enabled for fpm SAPI
php5_invoke readline: already enabled for fpm SAPI
php5_invoke pdo: already enabled for fpm SAPI
php5_invoke mysqlnd: already enabled for fpm SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke xmlrpc: already enabled for fpm SAPI
php5_invoke xmlrpc: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke gd: already enabled for fpm SAPI
php5_invoke gd: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke mysqlnd: already enabled for fpm SAPI
php5_invoke mysqlnd: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke mysql: already enabled for fpm SAPI
php5_invoke mysql: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke mysqli: already enabled for fpm SAPI
php5_invoke mysqli: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke pdo_mysql: already enabled for fpm SAPI
php5_invoke pdo_mysql: already enabled for cli SAPI
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
php5_invoke curl: already enabled for fpm SAPI
php5_invoke curl: already enabled for cli SAPI
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Stopping MariaDB database server mysqld
   ...done.
 * Starting MariaDB database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mariadb-server-10.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.0 (= 10.0.11+maria-1~trusty); however:
  Package mariadb-server-10.0 is not configured yet.

dpkg: error processing package mariadb-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
 mariadb-server-10.0
 mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Stopping MariaDB database server mysqld
   ...done.
 * Starting MariaDB database server mysqld
   ...fail!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mariadb-server-10.0 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.0 (= 10.0.11+maria-1~trusty); however:
  Package mariadb-server-10.0 is not configured yet.

dpkg: error processing package mariadb-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mariadb-server-10.0
 mariadb-server


FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/Users/ionutzp/site.retry

default                    : ok=2    changed=0    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
@starise
Copy link

starise commented May 14, 2014

Looks like the same dependency problem i'd here: #8
Try to use this command in the guest (using vagrant ssh):

sudo apt-get install -f

then restart provisioning using vagrant provision

@mwalters
Copy link

Thanks @starise this got me going in the right direction to get past this. I actually had to vagrant halt then vagrant up again, and then was able to vagrant ssh and run sudo apt-get install -f then exit out of SSH and run vagrant provision and it finally got it to provision correctly. Would definitely be nice to not have to do the extra steps though. Figured I'd leave my comment in case someone else comes across here with the same problem though.

@swalkinshaw
Copy link
Member

@mwalters @starise @ionutzp would be helpful to know if you're using the latest version/commit of this playbook. And also if you're using the (now) default base of roots/bedrock, or a default Ubuntu 14.04 Trusty, or the old Ubuntu 12.04.

Also what host you're running Ansible from (Linux or OSX) or if you're using it within a shell script from Windows.

@mwalters
Copy link

@swalkinshaw Sorry for the lack of detail in my previous post, hope this helps:

  • I'm using OSX
  • I just installed for the first time today, so I cloned the repository around 1-2 hours ago. Only changes I made to it were for setting the domain to testing.dev. I'm going super vanilla with this and the roots/bedrock repo just to learn how it works before I try implementing it.
  • I am using roots/bedrock for the default base box.

Not sure if it would help/matter, but I am on Vagrant 1.6.1. I also had to install Ansible on the host machine to get this all working, so that was just installed today as well and is on version 1.6.1.

When I initially ssh'd in to the VM to run sudo apt-get install -f I noticed it was saying a system restart was required, so that's why I halted and re-up'd. After the box came back up I tried to reprovision it before SSH'ing in, in case that fixed it, but it failed with the same error that @ionutzp mentions above. I then ssh'd in, ran the apt-get install, and then was able to successfully provision.

@ionutzp
Copy link
Author

ionutzp commented May 15, 2014

same as @mwalters here: osx, latest version, default roots/bedrock box

@swalkinshaw
Copy link
Member

This was a fairly dumb error looking back. Fixed as of a5962e9 and I also published a new 0.2.0 version.

apt-get upgrade was being run by default as part of the provision but it shouldn't be because it causes errors like this as packages get upgraded to different versions and could cause conflicts. Basically the goal of any project like this should be to have consistent/deterministic package states and upgrading them breaks that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants