CakePHP4を試す


環境構築 - Vagrant で LAMP 環境を構築 (1) -

Vagrant で仮想マシンを構築

Vagrant で Ubuntu Linux 18.04 の仮想マシンを構築します。

※ VagrantとVirtualBoxのインストールはすでに完了しているものとします。

まず、任意のディレクトリを新規作成してカレントディレクトリを作成したディレクトリに移動します。

> mkdir ○○ ↵
> cd ○○ ↵

CakePHPを展開するディレクトリを作成します。

> mkdir Source ↵

新しい仮想マシンを作成します。

> vagrant init ubuntu/bionic64 ↵

ゲストマシンにパッケージなどをインストールするスクリプトを作成します。

provisioning.sh
#!/bin/sh

sudo apt update && sudo apt -y upgrade
sudo apt -y install software-properties-common
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update

sudo apt -y install avahi-daemon

sudo apt -y install apache2
sudo apt -y install php7.4 libapache2-mod-php7.4
sudo a2enmod rewrite

sudo apt -y install php-pear php7.4-dev
sudo apt -y install mysql-server

sudo apt -y install php7.4-cli php7.4-mbstring php7.4-intl php7.4-sqlite3 composer

sudo hostnamectl set-hostname ○○○

sudo apt clean

いくつかのポイントを説明しておきます。

sudo apt -y install software-properties-common
sudo add-apt-repository -y ppa:ondrej/php

Ubuntu Linux 18.04の標準リポジトリが保持しているPHPのバージョンは7.2です。しかし、バージョン7.4をインストールしたいのでリポジトリを追加します。

sudo apt -y install avahi-daemon

mDNSをインストールします。
これによりホスト名.localで、名前解決ができるようになります。

sudo hostnamectl set-hostname ○○○

ホスト名を○○○に変更します。
これにより、mDNSを使うことでDHCPで割り当てられたIPアドレスを知る必要がなくなります。
しかしホスト名は、9文字以内である必要があるようです。

Vagrantfileを編集して仮想マシンの設定を行います。

Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/bionic64"
  config.vm.network "forwarded_port", guest: 22, host: 2223, id: "ssh"
  config.vm.network "public_network"
  config.vm.provider "virtualbox" do |vb|
    vb.gui = false
    vb.memory = "4096"
  end
  config.vm.provision "shell", path: "provisioning.sh"
  config.vm.synced_folder "./Source", "/vagrant_data", owner: "vagrant", group: "vagrant", type: "virtualbox"

  config.vm.boot_timeout = 900
end

いくつかのポイントを説明しておきます。

  config.vm.network "forwarded_port", guest: 22, host: 2223, id: "ssh"

ここでSSHで接続する際のポートを変更します。
ホストマシンの2223番ポートにアクセスするとゲストマシンの22番ポートに転送する設定です。

    vb.memory = "4096"

仮想マシンに割り当てるメモリを4096MBに設定します。

  config.vm.provision "shell", path: "provisioning.sh"

ゲストマシンにインストールするパッケージなどを記載したスクリプトを指定します。
ここでは、shellを指定していますので、スクリプトファイルのパスを記載していますが、他の方法もあります。詳しくはVagrantのマニュアルを参照してください。

  config.vm.synced_folder "./Source", "/vagrant_data", owner: "vagrant", group: "vagrant", type: "virtualbox"

ホストマシンとゲストマシンの間でファイルを共有する際のディレクトリを指定します。
ここでは、先程作成したSourceディレクトリをゲストマシンの/vagrant_dataでアクセスできるようにしています。

  config.vm.boot_timeout = 900

default: SSH auth method: private keyを出力した後しばらくしてエラーになる場合は、タイムアウト時間を指定して回避でき場合があります。
ここでは、タイムアウトまで900秒(15分)に設定しています。

仮想マシンを作成します。

> vagrant up ↵
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/bionic64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/bionic64' version '20200416.0.0' is up to date...
==> default: Setting the name of the VM: ○○_default_1587551412229_39399
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: bridged
==> default: Forwarding ports...
    default: 22 (guest) => 2223 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2223
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default: Warning: Connection aborted. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.8
VBoxService inside the vm claims: 5.2.34
Going on, assuming VBoxService is correct...
[default] GuestAdditions versions on your host (6.0.14) and guest (5.2.34) do not match.
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.2.8
VBoxService inside the vm claims: 5.2.34
Going on, assuming VBoxService is correct...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'virtualbox-guest-x11' is not installed, so not removed
The following packages will be REMOVED:
  virtualbox-guest-utils*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 2850 kB disk space will be freed.
(Reading database ... 59744 files and directories currently installed.)
Removing virtualbox-guest-utils (5.2.34-dfsg-0~ubuntu18.04.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
(Reading database ... 59731 files and directories currently installed.)
Purging configuration files for virtualbox-guest-utils (5.2.34-dfsg-0~ubuntu18.04.1) ...
Processing triggers for systemd (237-3ubuntu10.39) ...
Processing triggers for ureadahead (0.100.0-21) ...
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-4.15.0-96-generic is already the newest version (4.15.0-96.97).
linux-headers-4.15.0-96-generic set to manually installed.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7
  dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1
  libbinutils libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
  libfakeroot libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19 libitm1
  liblsan0 libmpc3 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0
  linux-libc-dev make manpages-dev
Suggested packages:
  binutils-doc cpp-doc gcc-7-locales menu debian-keyring g++-multilib
  g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf automake
  libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg
  libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg libtsan0-dbg
  libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc bzr
  libstdc++-7-doc make-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7
  dkms dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1
  libbinutils libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl
  libfakeroot libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19 libitm1
  liblsan0 libmpc3 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0
  linux-libc-dev make manpages-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.1 MB of archives.
After this operation, 166 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.2 [193 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.2 [503 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.2 [1856 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.2 [3396 B]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-96.97 [1021 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2587 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dkms all 2.3-3ubuntu9.7 [68.1 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 43.1 MB in 9min 4s (79.2 kB/s)
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 59730 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.30-21ubuntu1~18.04.2_amd64.deb ...
Unpacking binutils (2.30-21ubuntu1~18.04.2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../04-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../05-linux-libc-dev_4.15.0-96.97_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-96.97) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../07-gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../08-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../10-cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking cpp (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../16-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../19-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../20-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../21-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../22-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../23-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../24-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../25-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking gcc (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../26-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../27-g++-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking g++-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../28-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking g++ (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package make.
Preparing to unpack .../29-make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../30-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.19.0.5ubuntu2.3_all.deb ...
Unpacking dpkg-dev (1.19.0.5ubuntu2.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../33-dkms_2.3-3ubuntu9.7_all.deb ...
Unpacking dkms (2.3-3ubuntu9.7) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../34-libfakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../35-fakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../36-libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../37-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../38-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../39-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../40-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up make (4.1-9.1ubuntu1) ...
Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up linux-libc-dev:amd64 (4.15.0-96.97) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2.3) ...
Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.2) ...
Setting up libfile-fcntllock-perl (0.22-3build2) ...
Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.2) ...
Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up cpp-7 (7.5.0-3ubuntu1~18.04) ...
Setting up libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-5) ...
Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.2) ...
Setting up cpp (4:7.4.0-1ubuntu2.3) ...
Setting up binutils (2.30-21ubuntu1~18.04.2) ...
Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ...
Setting up g++-7 (7.5.0-3ubuntu1~18.04) ...
Setting up gcc (4:7.4.0-1ubuntu2.3) ...
Setting up dpkg-dev (1.19.0.5ubuntu2.3) ...
Setting up dkms (2.3-3ubuntu9.7) ...
Setting up g++ (4:7.4.0-1ubuntu2.3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /mnt: WARNING: device write-protected, mounted read-only.
Installing Virtualbox Guest Additions 6.0.14 - guest version is 5.2.34
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.14 Guest Additions for Linux........
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup 
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.15.0-96-generic.
update-initramfs: Generating /boot/initrd.img-4.15.0-96-generic
Unmounting Virtualbox Guest Additions ISO from: /mnt
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => E:/MyDocuments/Project/○○
    default: /vagrant_data => E:/MyDocuments/Project/○○/Source
==> default: Running provisioner: shell...
    default: Running: C:/Users/ユーザ名/AppData/Local/Temp/vagrant-shell20200422-12380-1ejckzk.sh
    default:
    default: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    default: Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    default: Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    default: Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [692 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    default: Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [657 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
    default: Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [218 kB]
    default: Get:9 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7176 B]
    default: Get:10 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2764 B]
    default: Get:11 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
    default: Get:12 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
    default: Get:13 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
    default: Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [915 kB]
    default: Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [315 kB]
    default: Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1065 kB]
    default: Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [331 kB]
    default: Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [10.8 kB]
    default: Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [4728 B]
    default: Get:20 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [7516 B]
    default: Get:21 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4764 B]
    default: Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7060 B]
    default: Get:23 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4188 B]
    default: Fetched 18.3 MB in 2min 52s (106 kB/s)
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: 8 packages can be upgraded. Run 'apt list --upgradable' to see them.
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: Calculating upgrade...
    default: The following packages will be upgraded:
    default:   git git-man libpython3.6 libpython3.6-minimal libpython3.6-stdlib
    default:   open-vm-tools python3.6 python3.6-minimal
    default: 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    default: Need to get 10.7 MB of archives.
    default: After this operation, 11.3 kB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1 [1414 kB]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1 [203 kB]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1 [1710 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1 [1609 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1 [533 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 open-vm-tools amd64 2:11.0.5-4ubuntu0.18.04.1 [543 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 10.7 MB in 4min 3s (44.1 kB/s)
    default: (Reading database ...
(Reading database ... 60%abase ... 5%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 65270 files and directories currently installed.)
    default: Preparing to unpack .../0-libpython3.6_3.6.9-1~18.04ubuntu1_amd64.deb ...
    default: Unpacking libpython3.6:amd64 (3.6.9-1~18.04ubuntu1) over (3.6.9-1~18.04) ...
    default: Preparing to unpack .../1-python3.6_3.6.9-1~18.04ubuntu1_amd64.deb ...
    default: Unpacking python3.6 (3.6.9-1~18.04ubuntu1) over (3.6.9-1~18.04) ...
    default: Preparing to unpack .../2-libpython3.6-stdlib_3.6.9-1~18.04ubuntu1_amd64.deb ...
    default: Unpacking libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1) over (3.6.9-1~18.04) ...
    default: Preparing to unpack .../3-python3.6-minimal_3.6.9-1~18.04ubuntu1_amd64.deb ...
    default: Unpacking python3.6-minimal (3.6.9-1~18.04ubuntu1) over (3.6.9-1~18.04) ...
    default: Preparing to unpack .../4-libpython3.6-minimal_3.6.9-1~18.04ubuntu1_amd64.deb ...
    default: Unpacking libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1) over (3.6.9-1~18.04) ...
    default: Preparing to unpack .../5-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ...
    default: Unpacking git-man (1:2.17.1-1ubuntu0.7) over (1:2.17.1-1ubuntu0.6) ...
    default: Preparing to unpack .../6-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ...
    default: Unpacking git (1:2.17.1-1ubuntu0.7) over (1:2.17.1-1ubuntu0.6) ...
    default: Preparing to unpack .../7-open-vm-tools_2%3a11.0.5-4ubuntu0.18.04.1_amd64.deb ...
    default: Unpacking open-vm-tools (2:11.0.5-4ubuntu0.18.04.1) over (2:11.0.1-2ubuntu0.18.04.2) ...
    default: Setting up git-man (1:2.17.1-1ubuntu0.7) ...
    default: Setting up open-vm-tools (2:11.0.5-4ubuntu0.18.04.1) ...
    default: Installing new version of config file /etc/vmware-tools/tools.conf.example ...
    default: Setting up libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1) ...
    default: Setting up git (1:2.17.1-1ubuntu0.7) ...
    default: Setting up libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1) ...
    default: Setting up python3.6-minimal (3.6.9-1~18.04ubuntu1) ...
    default: Setting up libpython3.6:amd64 (3.6.9-1~18.04ubuntu1) ...
    default: Setting up python3.6 (3.6.9-1~18.04ubuntu1) ...
    default: Processing triggers for ureadahead (0.100.0-21) ...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for systemd (237-3ubuntu10.39) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for mime-support (3.60ubuntu1) ...
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: software-properties-common is already the newest version (0.96.24.32.12).
    default: software-properties-common set to manually installed.
    default: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    default: Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease [20.8 kB]
    default: Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
    default: Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
    default: Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages [52.1 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
    default: Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main Translation-en [24.9 kB]
    default: Fetched 350 kB in 10s (35.6 kB/s)
    default: Reading package lists...
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
    default: Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
    default: Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
    default: Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
    default: Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: 6 packages can be upgraded. Run 'apt list --upgradable' to see them.
    default:
    default: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default:
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   libavahi-common-data libavahi-common3 libavahi-core7 libdaemon0 libnss-mdns
    default: Suggested packages:
    default:   avahi-autoipd avahi-autoipd | zeroconf
    default: The following NEW packages will be installed:
    default:   avahi-daemon libavahi-common-data libavahi-common3 libavahi-core7 libdaemon0
    default:   libnss-mdns
    default: 0 upgraded, 6 newly installed, 0 to remove and 6 not upgraded.
    default: Need to get 225 kB of archives.
    default: After this operation, 962 kB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdaemon0 amd64 0.14-6 [16.6 kB]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libavahi-common-data amd64 0.7-3.1ubuntu1.2 [22.1 kB]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libavahi-common3 amd64 0.7-3.1ubuntu1.2 [21.6 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libavahi-core7 amd64 0.7-3.1ubuntu1.2 [81.1 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 avahi-daemon amd64 0.7-3.1ubuntu1.2 [62.3 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnss-mdns amd64 0.10-8ubuntu1 [21.2 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 225 kB in 4s (53.5 kB/s)
    default: Selecting previously unselected package libdaemon0:amd64.
(Reading database ... 60%abase ...
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 65270 files and directories currently installed.)
    default: Preparing to unpack .../0-libdaemon0_0.14-6_amd64.deb ...
    default: Unpacking libdaemon0:amd64 (0.14-6) ...
    default: Selecting previously unselected package libavahi-common-data:amd64.
    default: Preparing to unpack .../1-libavahi-common-data_0.7-3.1ubuntu1.2_amd64.deb ...
    default: Unpacking libavahi-common-data:amd64 (0.7-3.1ubuntu1.2) ...
    default: Selecting previously unselected package libavahi-common3:amd64.
    default: Preparing to unpack .../2-libavahi-common3_0.7-3.1ubuntu1.2_amd64.deb ...
    default: Unpacking libavahi-common3:amd64 (0.7-3.1ubuntu1.2) ...
    default: Selecting previously unselected package libavahi-core7:amd64.
    default: Preparing to unpack .../3-libavahi-core7_0.7-3.1ubuntu1.2_amd64.deb ...
    default: Unpacking libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ...
    default: Selecting previously unselected package avahi-daemon.
    default: Preparing to unpack .../4-avahi-daemon_0.7-3.1ubuntu1.2_amd64.deb ...
    default: Unpacking avahi-daemon (0.7-3.1ubuntu1.2) ...
    default: Selecting previously unselected package libnss-mdns:amd64.
    default: Preparing to unpack .../5-libnss-mdns_0.10-8ubuntu1_amd64.deb ...
    default: Unpacking libnss-mdns:amd64 (0.10-8ubuntu1) ...
    default: Setting up libdaemon0:amd64 (0.14-6) ...
    default: Setting up libavahi-common-data:amd64 (0.7-3.1ubuntu1.2) ...
    default: Setting up libavahi-common3:amd64 (0.7-3.1ubuntu1.2) ...
    default: Setting up libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ...
    default: Setting up avahi-daemon (0.7-3.1ubuntu1.2) ...
    default: Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service → /lib/systemd/system/avahi-daemon.service.
    default: Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service → /lib/systemd/system/avahi-daemon.service.
    default: Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket → /lib/systemd/system/avahi-daemon.socket.
    default: Setting up libnss-mdns:amd64 (0.10-8ubuntu1) ...
    default: First installation detected...
    default: Checking NSS setup...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for systemd (237-3ubuntu10.39) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
    default: Processing triggers for ureadahead (0.100.0-21) ...
    default:
    default: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default:
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   apache2-bin apache2-data apache2-utils libapr1 libaprutil1
    default:   libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 ssl-cert
    default: Suggested packages:
    default:   www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
    default:   openssl-blacklist
    default: The following NEW packages will be installed:
    default:   apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
    default:   libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 ssl-cert
    default: 0 upgraded, 10 newly installed, 0 to remove and 6 not upgraded.
    default: Need to get 1729 kB of archives.
    default: After this operation, 6986 kB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libapr1 amd64 1.6.3-2 [90.9 kB]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaprutil1 amd64 1.6.1-2 [84.4 kB]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-2 [10.6 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaprutil1-ldap amd64 1.6.1-2 [8764 B]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1 [108 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-bin amd64 2.4.29-1ubuntu4.13 [1070 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-utils amd64 2.4.29-1ubuntu4.13 [83.8 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2-data all 2.4.29-1ubuntu4.13 [160 kB]
    default: Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2 amd64 2.4.29-1ubuntu4.13 [95.1 kB]
    default: Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 ssl-cert all 1.0.39 [17.0 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 1729 kB in 18s (96.2 kB/s)
    default: Selecting previously unselected package libapr1:amd64.
(Reading database ... 55%abase ...
    default: (Reading database ... 60%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 65353 files and directories currently installed.)
    default: Preparing to unpack .../0-libapr1_1.6.3-2_amd64.deb ...
    default: Unpacking libapr1:amd64 (1.6.3-2) ...
    default: Selecting previously unselected package libaprutil1:amd64.
    default: Preparing to unpack .../1-libaprutil1_1.6.1-2_amd64.deb ...
    default: Unpacking libaprutil1:amd64 (1.6.1-2) ...
    default: Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
    default: Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-2_amd64.deb ...
    default: Unpacking libaprutil1-dbd-sqlite3:amd64 (1.6.1-2) ...
    default: Selecting previously unselected package libaprutil1-ldap:amd64.
    default: Preparing to unpack .../3-libaprutil1-ldap_1.6.1-2_amd64.deb ...
    default: Unpacking libaprutil1-ldap:amd64 (1.6.1-2) ...
    default: Selecting previously unselected package liblua5.2-0:amd64.
    default: Preparing to unpack .../4-liblua5.2-0_5.2.4-1.1build1_amd64.deb ...
    default: Unpacking liblua5.2-0:amd64 (5.2.4-1.1build1) ...
    default: Selecting previously unselected package apache2-bin.
    default: Preparing to unpack .../5-apache2-bin_2.4.29-1ubuntu4.13_amd64.deb ...
    default: Unpacking apache2-bin (2.4.29-1ubuntu4.13) ...
    default: Selecting previously unselected package apache2-utils.
    default: Preparing to unpack .../6-apache2-utils_2.4.29-1ubuntu4.13_amd64.deb ...
    default: Unpacking apache2-utils (2.4.29-1ubuntu4.13) ...
    default: Selecting previously unselected package apache2-data.
    default: Preparing to unpack .../7-apache2-data_2.4.29-1ubuntu4.13_all.deb ...
    default: Unpacking apache2-data (2.4.29-1ubuntu4.13) ...
    default: Selecting previously unselected package apache2.
    default: Preparing to unpack .../8-apache2_2.4.29-1ubuntu4.13_amd64.deb ...
    default: Unpacking apache2 (2.4.29-1ubuntu4.13) ...
    default: Selecting previously unselected package ssl-cert.
    default: Preparing to unpack .../9-ssl-cert_1.0.39_all.deb ...
    default: Unpacking ssl-cert (1.0.39) ...
    default: Setting up libapr1:amd64 (1.6.3-2) ...
    default: Setting up apache2-data (2.4.29-1ubuntu4.13) ...
    default: Setting up ssl-cert (1.0.39) ...
    default: Setting up libaprutil1:amd64 (1.6.1-2) ...
    default: Setting up liblua5.2-0:amd64 (5.2.4-1.1build1) ...
    default: Setting up libaprutil1-ldap:amd64 (1.6.1-2) ...
    default: Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.1-2) ...
    default: Setting up apache2-utils (2.4.29-1ubuntu4.13) ...
    default: Setting up apache2-bin (2.4.29-1ubuntu4.13) ...
    default: Setting up apache2 (2.4.29-1ubuntu4.13) ...
    default: Enabling module mpm_event.
    default: Enabling module authz_core.
    default: Enabling module authz_host.
    default: Enabling module authn_core.
    default: Enabling module auth_basic.
    default: Enabling module access_compat.
    default: Enabling module authn_file.
    default: Enabling module authz_user.
    default: Enabling module alias.
    default: Enabling module dir.
    default: Enabling module autoindex.
    default: Enabling module env.
    default: Enabling module mime.
    default: Enabling module negotiation.
    default: Enabling module setenvif.
    default: Enabling module filter.
    default: Enabling module deflate.
    default: Enabling module status.
    default: Enabling module reqtimeout.
    default: Enabling conf charset.
    default: Enabling conf localized-error-pages.
    default: Enabling conf other-vhosts-access-log.
    default: Enabling conf security.
    default: Enabling conf serve-cgi-bin.
    default: Enabling site 000-default.
    default: Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
    default: Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for systemd (237-3ubuntu10.39) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
    default: Processing triggers for ureadahead (0.100.0-21) ...
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   libpcre2-8-0 libsodium23 php-common php7.4-cli php7.4-common php7.4-json
    default:   php7.4-opcache php7.4-readline
    default: Suggested packages:
    default:   php-pear
    default: The following NEW packages will be installed:
    default:   libapache2-mod-php7.4 libpcre2-8-0 libsodium23 php-common php7.4 php7.4-cli
    default:   php7.4-common php7.4-json php7.4-opcache php7.4-readline
    default: 0 upgraded, 10 newly installed, 0 to remove and 6 not upgraded.
    default: Need to get 4353 kB of archives.
    default: After this operation, 18.6 MB of additional disk space will be used.
    default: Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php-common all 2:75+ubuntu18.04.1+deb.sury.org+1 [15.6 kB]
    default: Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-common amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [999 kB]
    default: Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-json amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [18.7 kB]
    default: Get:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-opcache amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [196 kB]
    default: Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-readline amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [12.2 kB]
    default: Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libpcre2-8-0 amd64 10.34-7+ubuntu18.04.1+deb.sury.org+1 [196 kB]
    default: Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libsodium23 amd64 1.0.18-1+ubuntu18.04.1+deb.sury.org+1 [150 kB]
    default: Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-cli amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [1392 kB]
    default: Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libapache2-mod-php7.4 amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [1336 kB]
    default: Get:10 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4 all 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [38.1 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 4353 kB in 2min 29s (29.2 kB/s)
    default: Selecting previously unselected package php-common.
    default: (Reading database ...
(Reading database ... 60%abase ... 5%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 66068 files and directories currently installed.)
    default: Preparing to unpack .../0-php-common_2%3a75+ubuntu18.04.1+deb.sury.org+1_all.deb ...
    default: Unpacking php-common (2:75+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-common.
    default: Preparing to unpack .../1-php7.4-common_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-common (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-json.
    default: Preparing to unpack .../2-php7.4-json_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-json (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-opcache.
    default: Preparing to unpack .../3-php7.4-opcache_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-opcache (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-readline.
    default: Preparing to unpack .../4-php7.4-readline_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-readline (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libpcre2-8-0:amd64.
    default: Preparing to unpack .../5-libpcre2-8-0_10.34-7+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libpcre2-8-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libsodium23:amd64.
    default: Preparing to unpack .../6-libsodium23_1.0.18-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libsodium23:amd64 (1.0.18-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-cli.
    default: Preparing to unpack .../7-php7.4-cli_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-cli (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libapache2-mod-php7.4.
    default: Preparing to unpack .../8-libapache2-mod-php7.4_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libapache2-mod-php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4.
    default: Preparing to unpack .../9-php7.4_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_all.deb ...
    default: Unpacking php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up libsodium23:amd64 (1.0.18-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up php-common (2:75+ubuntu18.04.1+deb.sury.org+1) ...
    default: Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
    default: Setting up libpcre2-8-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up php7.4-common (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/calendar.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/ctype.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/exif.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/fileinfo.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/ffi.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/ftp.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/gettext.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/iconv.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/pdo.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/phar.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/posix.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/shmop.ini with new version
    default: Creating config file /etc/php/7.4/mods-available/sockets.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/sysvmsg.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/sysvsem.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/sysvshm.ini with new version
    default: Creating config file /etc/php/7.4/mods-available/tokenizer.ini with new version
    default: Setting up php7.4-opcache (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/opcache.ini with new version
    default: Setting up php7.4-readline (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Creating config file /etc/php/7.4/mods-available/readline.ini with new version
    default: Setting up php7.4-json (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/json.ini with new version
    default: Setting up php7.4-cli (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: update-alternatives: using /usr/bin/php7.4 to provide /usr/bin/php (php) in auto mode
    default: update-alternatives: using /usr/bin/phar7.4 to provide /usr/bin/phar (phar) in auto mode
    default: update-alternatives: using /usr/bin/phar.phar7.4 to provide /usr/bin/phar.phar (phar.phar) in auto mode
    default: Creating config file /etc/php/7.4/cli/php.ini with new version
    default: Setting up libapache2-mod-php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Creating config file /etc/php/7.4/apache2/php.ini with new version
    default: Module mpm_event disabled.
    default: Enabling module mpm_prefork.
    default: apache2_switch_mpm Switch to prefork
    default: apache2_invoke: Enable module php7.4
    default: Setting up php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for php7.4-cli (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Processing triggers for libapache2-mod-php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Enabling module rewrite.
    default: To activate the new configuration, you need to run:
    default:   systemctl restart apache2
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   autoconf automake autopoint autotools-dev debhelper dh-autoreconf
    default:   dh-strip-nondeterminism gettext intltool-debian libarchive-cpio-perl
    default:   libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libltdl-dev
    default:   libltdl7 libmail-sendmail-perl libpcre2-16-0 libpcre2-32-0 libpcre2-dev
    default:   libpcre2-posix2 libssl-dev libssl1.1 libsys-hostname-long-perl
    default:   libtimedate-perl libtool m4 php-xml php7.4-xml pkg-php-tools po-debconf
    default:   shtool
    default: Suggested packages:
    default:   autoconf-archive gnu-standards autoconf-doc dh-make dwz gettext-doc
    default:   libasprintf-dev libgettextpo-dev libtool-doc libssl-doc gfortran
    default:   | fortran95-compiler gcj-jdk m4-doc dh-php libmail-box-perl
    default: The following NEW packages will be installed:
    default:   autoconf automake autopoint autotools-dev debhelper dh-autoreconf
    default:   dh-strip-nondeterminism gettext intltool-debian libarchive-cpio-perl
    default:   libarchive-zip-perl libcroco3 libfile-stripnondeterminism-perl libltdl-dev
    default:   libltdl7 libmail-sendmail-perl libpcre2-16-0 libpcre2-32-0 libpcre2-dev
    default:   libpcre2-posix2 libssl-dev libsys-hostname-long-perl libtimedate-perl
    default:   libtool m4 php-pear php-xml php7.4-dev php7.4-xml pkg-php-tools po-debconf
    default:   shtool
    default: The following packages will be upgraded:
    default:   libssl1.1
    default: 1 upgraded, 32 newly installed, 0 to remove and 5 not upgraded.
    default: Need to get 10.1 MB of archives.
    default: After this operation, 37.2 MB of additional disk space will be used.
    default: Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libpcre2-16-0 amd64 10.34-7+ubuntu18.04.1+deb.sury.org+1 [183 kB]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 m4 amd64 1.4.18-1 [197 kB]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 autoconf all 2.69-11 [322 kB]
    default: Get:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libpcre2-32-0 amd64 10.34-7+ubuntu18.04.1+deb.sury.org+1 [172 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 autotools-dev all 20180224.1 [39.6 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 automake all 1:1.15.1-3ubuntu2 [509 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 autopoint all 0.19.8.1-6ubuntu0.3 [426 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtool all 2.4.6-2 [194 kB]
    default: Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 dh-autoreconf all 17 [15.8 kB]
    default: Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libarchive-zip-perl all 1.60-1ubuntu0.1 [84.6 kB]
    default: Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB]
    default: Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]
    default: Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 dh-strip-nondeterminism all 0.040-1.1~build1 [5208 B]
    default: Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcroco3 amd64 0.6.12-2 [81.3 kB]
    default: Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gettext amd64 0.19.8.1-6ubuntu0.3 [1293 kB]
    default: Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 intltool-debian all 0.35.0+20060710.4 [24.9 kB]
    default: Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 po-debconf all 1.0.20 [232 kB]
    default: Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 debhelper all 11.1.6ubuntu2 [902 kB]
    default: Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libarchive-cpio-perl all 0.10-1 [9644 B]
    default: Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libltdl7 amd64 2.4.6-2 [38.8 kB]
    default: Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 libltdl-dev amd64 2.4.6-2 [162 kB]
    default: Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsys-hostname-long-perl all 1.5-1 [11.7 kB]
    default: Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmail-sendmail-perl all 0.80-1 [22.6 kB]
    default: Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 shtool all 2.0.8-9 [121 kB]
    default: Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 pkg-php-tools all 1.35ubuntu1 [27.8 kB]
    default: Get:26 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libpcre2-posix2 amd64 10.34-7+ubuntu18.04.1+deb.sury.org+1 [7808 B]
    default: Get:27 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libpcre2-dev amd64 10.34-7+ubuntu18.04.1+deb.sury.org+1 [676 kB]
    default: Get:28 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libssl1.1 amd64 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1 [1529 kB]
    default: Get:29 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libssl-dev amd64 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1 [1797 kB]
    default: Get:30 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-xml amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [95.6 kB]
    default: Get:31 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php-xml all 2:7.4+75+ubuntu18.04.1+deb.sury.org+1 [6360 B]
    default: Get:32 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php-pear all 1:1.10.8+submodules+notgz-1+ubuntu18.04.1+deb.sury.org+1 [286 kB]
    default: Get:33 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-dev amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [538 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 10.1 MB in 1min 8s (149 kB/s)
    default: Selecting previously unselected package m4.
(Reading database ... 60%abase ...
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 66220 files and directories currently installed.)
    default: Preparing to unpack .../00-m4_1.4.18-1_amd64.deb ...
    default: Unpacking m4 (1.4.18-1) ...
    default: Selecting previously unselected package autoconf.
    default: Preparing to unpack .../01-autoconf_2.69-11_all.deb ...
    default: Unpacking autoconf (2.69-11) ...
    default: Selecting previously unselected package autotools-dev.
    default: Preparing to unpack .../02-autotools-dev_20180224.1_all.deb ...
    default: Unpacking autotools-dev (20180224.1) ...
    default: Selecting previously unselected package automake.
    default: Preparing to unpack .../03-automake_1%3a1.15.1-3ubuntu2_all.deb ...
    default: Unpacking automake (1:1.15.1-3ubuntu2) ...
    default: Selecting previously unselected package autopoint.
    default: Preparing to unpack .../04-autopoint_0.19.8.1-6ubuntu0.3_all.deb ...
    default: Unpacking autopoint (0.19.8.1-6ubuntu0.3) ...
    default: Selecting previously unselected package libtool.
    default: Preparing to unpack .../05-libtool_2.4.6-2_all.deb ...
    default: Unpacking libtool (2.4.6-2) ...
    default: Selecting previously unselected package dh-autoreconf.
    default: Preparing to unpack .../06-dh-autoreconf_17_all.deb ...
    default: Unpacking dh-autoreconf (17) ...
    default: Selecting previously unselected package libarchive-zip-perl.
    default: Preparing to unpack .../07-libarchive-zip-perl_1.60-1ubuntu0.1_all.deb ...
    default: Unpacking libarchive-zip-perl (1.60-1ubuntu0.1) ...
    default: Selecting previously unselected package libfile-stripnondeterminism-perl.
    default: Preparing to unpack .../08-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb ...
    default: Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
    default: Selecting previously unselected package libtimedate-perl.
    default: Preparing to unpack .../09-libtimedate-perl_2.3000-2_all.deb ...
    default: Unpacking libtimedate-perl (2.3000-2) ...
    default: Selecting previously unselected package dh-strip-nondeterminism.
    default: Preparing to unpack .../10-dh-strip-nondeterminism_0.040-1.1~build1_all.deb ...
    default: Unpacking dh-strip-nondeterminism (0.040-1.1~build1) ...
    default: Selecting previously unselected package libcroco3:amd64.
    default: Preparing to unpack .../11-libcroco3_0.6.12-2_amd64.deb ...
    default: Unpacking libcroco3:amd64 (0.6.12-2) ...
    default: Selecting previously unselected package gettext.
    default: Preparing to unpack .../12-gettext_0.19.8.1-6ubuntu0.3_amd64.deb ...
    default: Unpacking gettext (0.19.8.1-6ubuntu0.3) ...
    default: Selecting previously unselected package intltool-debian.
    default: Preparing to unpack .../13-intltool-debian_0.35.0+20060710.4_all.deb ...
    default: Unpacking intltool-debian (0.35.0+20060710.4) ...
    default: Selecting previously unselected package po-debconf.
    default: Preparing to unpack .../14-po-debconf_1.0.20_all.deb ...
    default: Unpacking po-debconf (1.0.20) ...
    default: Selecting previously unselected package debhelper.
    default: Preparing to unpack .../15-debhelper_11.1.6ubuntu2_all.deb ...
    default: Unpacking debhelper (11.1.6ubuntu2) ...
    default: Selecting previously unselected package libarchive-cpio-perl.
    default: Preparing to unpack .../16-libarchive-cpio-perl_0.10-1_all.deb ...
    default: Unpacking libarchive-cpio-perl (0.10-1) ...
    default: Selecting previously unselected package libltdl7:amd64.
    default: Preparing to unpack .../17-libltdl7_2.4.6-2_amd64.deb ...
    default: Unpacking libltdl7:amd64 (2.4.6-2) ...
    default: Selecting previously unselected package libltdl-dev:amd64.
    default: Preparing to unpack .../18-libltdl-dev_2.4.6-2_amd64.deb ...
    default: Unpacking libltdl-dev:amd64 (2.4.6-2) ...
    default: Selecting previously unselected package libsys-hostname-long-perl.
    default: Preparing to unpack .../19-libsys-hostname-long-perl_1.5-1_all.deb ...
    default: Unpacking libsys-hostname-long-perl (1.5-1) ...
    default: Selecting previously unselected package libmail-sendmail-perl.
    default: Preparing to unpack .../20-libmail-sendmail-perl_0.80-1_all.deb ...
    default: Unpacking libmail-sendmail-perl (0.80-1) ...
    default: Selecting previously unselected package libpcre2-16-0:amd64.
    default: Preparing to unpack .../21-libpcre2-16-0_10.34-7+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libpcre2-16-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libpcre2-32-0:amd64.
    default: Preparing to unpack .../22-libpcre2-32-0_10.34-7+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libpcre2-32-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libpcre2-posix2:amd64.
    default: Preparing to unpack .../23-libpcre2-posix2_10.34-7+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libpcre2-posix2:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libpcre2-dev:amd64.
    default: Preparing to unpack .../24-libpcre2-dev_10.34-7+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libpcre2-dev:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Preparing to unpack .../25-libssl1.1_1.1.1g-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libssl1.1:amd64 (1.1.1g-1+ubuntu18.04.1+deb.sury.org+1) over (1.1.1-1ubuntu2.1~18.04.5) ...
    default: Selecting previously unselected package libssl-dev:amd64.
    default: Preparing to unpack .../26-libssl-dev_1.1.1g-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libssl-dev:amd64 (1.1.1g-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-xml.
    default: Preparing to unpack .../27-php7.4-xml_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-xml (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php-xml.
    default: Preparing to unpack .../28-php-xml_2%3a7.4+75+ubuntu18.04.1+deb.sury.org+1_all.deb ...
    default: Unpacking php-xml (2:7.4+75+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php-pear.
    default: Preparing to unpack .../29-php-pear_1%3a1.10.8+submodules+notgz-1+ubuntu18.04.1+deb.sury.org+1_all.deb ...
    default: Unpacking php-pear (1:1.10.8+submodules+notgz-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package shtool.
    default: Preparing to unpack .../30-shtool_2.0.8-9_all.deb ...
    default: Unpacking shtool (2.0.8-9) ...
    default: Selecting previously unselected package php7.4-dev.
    default: Preparing to unpack .../31-php7.4-dev_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-dev (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package pkg-php-tools.
    default: Preparing to unpack .../32-pkg-php-tools_1.35ubuntu1_all.deb ...
    default: Unpacking pkg-php-tools (1.35ubuntu1) ...
    default: Setting up libarchive-zip-perl (1.60-1ubuntu0.1) ...
    default: Setting up libtimedate-perl (2.3000-2) ...
    default: Setting up shtool (2.0.8-9) ...
    default: Setting up libarchive-cpio-perl (0.10-1) ...
    default: Setting up libpcre2-posix2:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up m4 (1.4.18-1) ...
    default: Setting up libcroco3:amd64 (0.6.12-2) ...
    default: Setting up libsys-hostname-long-perl (1.5-1) ...
    default: Setting up libmail-sendmail-perl (0.80-1) ...
    default: Setting up autotools-dev (20180224.1) ...
    default: Setting up libssl1.1:amd64 (1.1.1g-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up libltdl7:amd64 (2.4.6-2) ...
    default: Setting up libpcre2-32-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up php7.4-xml (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/dom.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/simplexml.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/xml.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/xmlreader.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/xmlwriter.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/xsl.ini with new version
    default: Setting up libpcre2-16-0:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up autopoint (0.19.8.1-6ubuntu0.3) ...
    default: Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) ...
    default: Setting up libtool (2.4.6-2) ...
    default: Setting up libltdl-dev:amd64 (2.4.6-2) ...
    default: Setting up gettext (0.19.8.1-6ubuntu0.3) ...
    default: Setting up libssl-dev:amd64 (1.1.1g-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up autoconf (2.69-11) ...
    default: Setting up php-xml (2:7.4+75+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up intltool-debian (0.35.0+20060710.4) ...
    default: Setting up libpcre2-dev:amd64 (10.34-7+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up automake (1:1.15.1-3ubuntu2) ...
    default: update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
    default: Setting up php-pear (1:1.10.8+submodules+notgz-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up po-debconf (1.0.20) ...
    default: Setting up php7.4-dev (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: update-alternatives: using /usr/bin/php-config7.4 to provide /usr/bin/php-config (php-config) in auto mode
    default: update-alternatives: using /usr/bin/phpize7.4 to provide /usr/bin/phpize (phpize) in auto mode
    default: Setting up dh-autoreconf (17) ...
    default: Setting up dh-strip-nondeterminism (0.040-1.1~build1) ...
    default: Setting up debhelper (11.1.6ubuntu2) ...
    default: Setting up pkg-php-tools (1.35ubuntu1) ...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for libapache2-mod-php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Processing triggers for install-info (6.5.0.dfsg.1-2) ...
    default: Processing triggers for php7.4-cli (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default:
    default: Reading state information...
    default: The following additional packages will be installed:
    default:   libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl
    default:   libevent-core-2.1-6 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl
    default:   libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl
    default:   liblwp-mediatypes-perl liburi-perl mysql-client-5.7 mysql-client-core-5.7
    default:   mysql-common mysql-server-5.7 mysql-server-core-5.7
    default: Suggested packages:
    default:   libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca
    default: The following NEW packages will be installed:
    default:   libaio1 libcgi-fast-perl libcgi-pm-perl libencode-locale-perl
    default:   libevent-core-2.1-6 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl
    default:   libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl
    default:   liblwp-mediatypes-perl liburi-perl mysql-client-5.7 mysql-client-core-5.7
    default:   mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7
    default: 0 upgraded, 20 newly installed, 0 to remove and 5 not upgraded.
    default: Need to get 19.6 MB of archives.
    default: After this operation, 156 MB of additional disk space will be used.
    default: Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7308 B]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaio1 amd64 0.3.110-5ubuntu0.1 [6476 B]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-core-5.7 amd64 5.7.29-0ubuntu0.18.04.1 [6642 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client-5.7 amd64 5.7.29-0ubuntu0.18.04.1 [1942 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-core-5.7 amd64 5.7.29-0ubuntu0.18.04.1 [7430 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-5.7 amd64 5.7.29-0ubuntu0.18.04.1 [2933 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]
    default: Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 liburi-perl all 1.73-1 [77.2 kB]
    default: Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]
    default: Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-pm-perl all 4.38-1 [185 kB]
    default: Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfcgi-perl amd64 0.78-2build1 [32.8 kB]
    default: Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcgi-fast-perl all 1:2.13-1 [9940 B]
    default: Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]
    default: Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-template-perl all 2.97-1 [59.0 kB]
    default: Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]
    default: Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-html-perl all 1.001-1 [14.9 kB]
    default: Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]
    default: Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-message-perl all 6.14-1 [72.1 kB]
    default: Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server all 5.7.29-0ubuntu0.18.04.1 [9944 B]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 19.6 MB in 3min 59s (82.3 kB/s)
    default: Selecting previously unselected package mysql-common.
    default: (Reading database ...
(Reading database ... 60%abase ... 5%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 68422 files and directories currently installed.)
    default: Preparing to unpack .../0-mysql-common_5.8+1.0.4_all.deb ...
    default: Unpacking mysql-common (5.8+1.0.4) ...
    default: Selecting previously unselected package libaio1:amd64.
    default: Preparing to unpack .../1-libaio1_0.3.110-5ubuntu0.1_amd64.deb ...
    default: Unpacking libaio1:amd64 (0.3.110-5ubuntu0.1) ...
    default: Selecting previously unselected package mysql-client-core-5.7.
    default: Preparing to unpack .../2-mysql-client-core-5.7_5.7.29-0ubuntu0.18.04.1_amd64.deb ...
    default: Unpacking mysql-client-core-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Selecting previously unselected package mysql-client-5.7.
    default: Preparing to unpack .../3-mysql-client-5.7_5.7.29-0ubuntu0.18.04.1_amd64.deb ...
    default: Unpacking mysql-client-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Selecting previously unselected package mysql-server-core-5.7.
    default: Preparing to unpack .../4-mysql-server-core-5.7_5.7.29-0ubuntu0.18.04.1_amd64.deb ...
    default: Unpacking mysql-server-core-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Selecting previously unselected package libevent-core-2.1-6:amd64.
    default: Preparing to unpack .../5-libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
    default: Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
    default: Setting up mysql-common (5.8+1.0.4) ...
    default: update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
    default: Selecting previously unselected package mysql-server-5.7.
    default: (Reading database ...
(Reading database ... 60%abase ... 5%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
(Reading database ... 68590 files and directories currently installed.)
    default: Preparing to unpack .../00-mysql-server-5.7_5.7.29-0ubuntu0.18.04.1_amd64.deb ...
    default: Unpacking mysql-server-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Selecting previously unselected package libhtml-tagset-perl.
    default: Preparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...
    default: Unpacking libhtml-tagset-perl (3.20-3) ...
    default: Selecting previously unselected package liburi-perl.
    default: Preparing to unpack .../02-liburi-perl_1.73-1_all.deb ...
    default: Unpacking liburi-perl (1.73-1) ...
    default: Selecting previously unselected package libhtml-parser-perl.
    default: Preparing to unpack .../03-libhtml-parser-perl_3.72-3build1_amd64.deb ...
    default: Unpacking libhtml-parser-perl (3.72-3build1) ...
    default: Selecting previously unselected package libcgi-pm-perl.
    default: Preparing to unpack .../04-libcgi-pm-perl_4.38-1_all.deb ...
    default: Unpacking libcgi-pm-perl (4.38-1) ...
    default: Selecting previously unselected package libfcgi-perl.
    default: Preparing to unpack .../05-libfcgi-perl_0.78-2build1_amd64.deb ...
    default: Unpacking libfcgi-perl (0.78-2build1) ...
    default: Selecting previously unselected package libcgi-fast-perl.
    default: Preparing to unpack .../06-libcgi-fast-perl_1%3a2.13-1_all.deb ...
    default: Unpacking libcgi-fast-perl (1:2.13-1) ...
    default: Selecting previously unselected package libencode-locale-perl.
    default: Preparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...
    default: Unpacking libencode-locale-perl (1.05-1) ...
    default: Selecting previously unselected package libhtml-template-perl.
    default: Preparing to unpack .../08-libhtml-template-perl_2.97-1_all.deb ...
    default: Unpacking libhtml-template-perl (2.97-1) ...
    default: Selecting previously unselected package libhttp-date-perl.
    default: Preparing to unpack .../09-libhttp-date-perl_6.02-1_all.deb ...
    default: Unpacking libhttp-date-perl (6.02-1) ...
    default: Selecting previously unselected package libio-html-perl.
    default: Preparing to unpack .../10-libio-html-perl_1.001-1_all.deb ...
    default: Unpacking libio-html-perl (1.001-1) ...
    default: Selecting previously unselected package liblwp-mediatypes-perl.
    default: Preparing to unpack .../11-liblwp-mediatypes-perl_6.02-1_all.deb ...
    default: Unpacking liblwp-mediatypes-perl (6.02-1) ...
    default: Selecting previously unselected package libhttp-message-perl.
    default: Preparing to unpack .../12-libhttp-message-perl_6.14-1_all.deb ...
    default: Unpacking libhttp-message-perl (6.14-1) ...
    default: Selecting previously unselected package mysql-server.
    default: Preparing to unpack .../13-mysql-server_5.7.29-0ubuntu0.18.04.1_all.deb ...
    default: Unpacking mysql-server (5.7.29-0ubuntu0.18.04.1) ...
    default: Setting up libhtml-tagset-perl (3.20-3) ...
    default: Setting up libhttp-date-perl (6.02-1) ...
    default: Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
    default: Setting up libencode-locale-perl (1.05-1) ...
    default: Setting up libio-html-perl (1.001-1) ...
    default: Setting up liblwp-mediatypes-perl (6.02-1) ...
    default: Setting up libaio1:amd64 (0.3.110-5ubuntu0.1) ...
    default: Setting up liburi-perl (1.73-1) ...
    default: Setting up libhtml-parser-perl (3.72-3build1) ...
    default: Setting up libcgi-pm-perl (4.38-1) ...
    default: Setting up libhttp-message-perl (6.14-1) ...
    default: Setting up mysql-client-core-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Setting up libfcgi-perl (0.78-2build1) ...
    default: Setting up libhtml-template-perl (2.97-1) ...
    default: Setting up mysql-server-core-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Setting up libcgi-fast-perl (1:2.13-1) ...
    default: Setting up mysql-client-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: Setting up mysql-server-5.7 (5.7.29-0ubuntu0.18.04.1) ...
    default: update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
    default: Renaming removed key_buffer and myisam-recover options (if present)
    default: Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
    default: Setting up mysql-server (5.7.29-0ubuntu0.18.04.1) ...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for systemd (237-3ubuntu10.39) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for ureadahead (0.100.0-21) ...
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.
    default: Reading package lists...
    default: Building dependency tree...
    default: Reading state information...
    default: php7.4-cli is already the newest version (7.4.5-1+ubuntu18.04.1+deb.sury.org+1).
    default: php7.4-cli set to manually installed.
    default: The following additional packages will be installed:
    default:   jsonlint libicu65 libonig4 php-cli-prompt php-composer-ca-bundle
    default:   php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log
    default:   php-symfony-console php-symfony-debug php-symfony-filesystem
    default:   php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
    default: Suggested packages:
    default:   fossil mercurial subversion php-zip php-symfony-event-dispatcher
    default:   php-symfony-lock
    default: The following NEW packages will be installed:
    default:   composer jsonlint libicu65 libonig4 php-cli-prompt php-composer-ca-bundle
    default:   php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log
    default:   php-symfony-console php-symfony-debug php-symfony-filesystem
    default:   php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
    default:   php7.4-intl php7.4-mbstring php7.4-sqlite3
    default: 0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
    default: Need to get 9719 kB of archives.
    default: After this operation, 39.0 MB of additional disk space will be used.
    default: Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libicu65 amd64 65.1-1+ubuntu18.04.1+deb.sury.org+1 [8467 kB]
    default: Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-json-schema all 5.2.6-1 [32.5 kB]
    default: Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-ca-bundle all 1.1.0-1 [13.7 kB]
    default: Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-semver all 1.4.2-1 [10.6 kB]
    default: Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-composer-spdx-licenses all 1.3.0-1 [10.4 kB]
    default: Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 jsonlint all 1.7.1-1 [11.2 kB]
    default: Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-symfony-polyfill-mbstring all 1.6.0-2 [12.1 kB]
    default: Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-psr-log all 1.0.2-1 [6976 B]
    default: Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-debug all 3.4.6+dfsg-1ubuntu0.1 [36.4 kB]
    default: Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-console all 3.4.6+dfsg-1ubuntu0.1 [65.6 kB]
    default: Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-finder all 3.4.6+dfsg-1ubuntu0.1 [21.9 kB]
    default: Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-process all 3.4.6+dfsg-1ubuntu0.1 [28.8 kB]
    default: Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php-symfony-filesystem all 3.4.6+dfsg-1ubuntu0.1 [18.7 kB]
    default: Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 php-cli-prompt all 1.0.3+dfsg-1 [4620 B]
    default: Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 composer all 1.6.3-1 [313 kB]
    default: Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libonig4 amd64 6.7.0-1 [119 kB]
    default: Get:17 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-intl amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [124 kB]
    default: Get:18 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-mbstring amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [396 kB]
    default: Get:19 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.4-sqlite3 amd64 7.4.5-1+ubuntu18.04.1+deb.sury.org+1 [26.3 kB]
    default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
    default: Fetched 9719 kB in 2min 51s (57.0 kB/s)
    default: Selecting previously unselected package php-json-schema.
    default: (Reading database ...
    default: (Reading database ... 5%
    default: (Reading database ... 10%
    default: (Reading database ... 15%
    default: (Reading database ... 20%
    default: (Reading database ... 25%
    default: (Reading database ... 30%
    default: (Reading database ... 35%
    default: (Reading database ... 40%
    default: (Reading database ... 45%
    default: (Reading database ... 50%
    default: (Reading database ... 55%
    default: (Reading database ... 60%
    default: (Reading database ... 65%
    default: (Reading database ... 70%
    default: (Reading database ... 75%
    default: (Reading database ... 80%
    default: (Reading database ... 85%
    default: (Reading database ... 90%
    default: (Reading database ... 95%
    default: (Reading database ... 100%
    default: (Reading database ...
    default: 68900 files and directories currently installed.)
    default: Preparing to unpack .../00-php-json-schema_5.2.6-1_all.deb ...
    default: Unpacking php-json-schema (5.2.6-1) ...
    default: Selecting previously unselected package php-composer-ca-bundle.
    default: Preparing to unpack .../01-php-composer-ca-bundle_1.1.0-1_all.deb ...
    default: Unpacking php-composer-ca-bundle (1.1.0-1) ...
    default: Selecting previously unselected package php-composer-semver.
    default: Preparing to unpack .../02-php-composer-semver_1.4.2-1_all.deb ...
    default: Unpacking php-composer-semver (1.4.2-1) ...
    default: Selecting previously unselected package php-composer-spdx-licenses.
    default: Preparing to unpack .../03-php-composer-spdx-licenses_1.3.0-1_all.deb ...
    default: Unpacking php-composer-spdx-licenses (1.3.0-1) ...
    default: Selecting previously unselected package jsonlint.
    default: Preparing to unpack .../04-jsonlint_1.7.1-1_all.deb ...
    default: Unpacking jsonlint (1.7.1-1) ...
    default: Selecting previously unselected package php-symfony-polyfill-mbstring.
    default: Preparing to unpack .../05-php-symfony-polyfill-mbstring_1.6.0-2_all.deb ...
    default: Unpacking php-symfony-polyfill-mbstring (1.6.0-2) ...
    default: Selecting previously unselected package php-psr-log.
    default: Preparing to unpack .../06-php-psr-log_1.0.2-1_all.deb ...
    default: Unpacking php-psr-log (1.0.2-1) ...
    default: Selecting previously unselected package php-symfony-debug.
    default: Preparing to unpack .../07-php-symfony-debug_3.4.6+dfsg-1ubuntu0.1_all.deb ...
    default: Unpacking php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
    default: Selecting previously unselected package php-symfony-console.
    default: Preparing to unpack .../08-php-symfony-console_3.4.6+dfsg-1ubuntu0.1_all.deb ...
    default: Unpacking php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
    default: Selecting previously unselected package php-symfony-finder.
    default: Preparing to unpack .../09-php-symfony-finder_3.4.6+dfsg-1ubuntu0.1_all.deb ...
    default: Unpacking php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
    default: Selecting previously unselected package php-symfony-process.
    default: Preparing to unpack .../10-php-symfony-process_3.4.6+dfsg-1ubuntu0.1_all.deb ...
    default: Unpacking php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
    default: Selecting previously unselected package php-symfony-filesystem.
    default:
    default: Preparing to unpack .../11-php-symfony-filesystem_3.4.6+dfsg-1ubuntu0.1_all.deb ...
    default: Unpacking php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
    default: Selecting previously unselected package php-cli-prompt.
    default: Preparing to unpack .../12-php-cli-prompt_1.0.3+dfsg-1_all.deb ...
    default: Unpacking php-cli-prompt (1.0.3+dfsg-1) ...
    default: Selecting previously unselected package composer.
    default: Preparing to unpack .../13-composer_1.6.3-1_all.deb ...
    default: Unpacking composer (1.6.3-1) ...
    default: Selecting previously unselected package libicu65:amd64.
    default: Preparing to unpack .../14-libicu65_65.1-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking libicu65:amd64 (65.1-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package libonig4:amd64.
    default: Preparing to unpack .../15-libonig4_6.7.0-1_amd64.deb ...
    default: Unpacking libonig4:amd64 (6.7.0-1) ...
    default: Selecting previously unselected package php7.4-intl.
    default: Preparing to unpack .../16-php7.4-intl_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-intl (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-mbstring.
    default: Preparing to unpack .../17-php7.4-mbstring_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-mbstring (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Selecting previously unselected package php7.4-sqlite3.
    default: Preparing to unpack .../18-php7.4-sqlite3_7.4.5-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
    default: Unpacking php7.4-sqlite3 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up php-psr-log (1.0.2-1) ...
    default: Setting up php-symfony-finder (3.4.6+dfsg-1ubuntu0.1) ...
    default: Setting up php-composer-ca-bundle (1.1.0-1) ...
    default: Setting up php-json-schema (5.2.6-1) ...
    default: Setting up libonig4:amd64 (6.7.0-1) ...
    default: Setting up php7.4-mbstring (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/mbstring.ini with new version
    default: Setting up php-composer-semver (1.4.2-1) ...
    default: Setting up libicu65:amd64 (65.1-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Setting up php-cli-prompt (1.0.3+dfsg-1) ...
    default: Setting up php7.4-sqlite3 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/sqlite3.ini with new version
    default:
    default: Creating config file /etc/php/7.4/mods-available/pdo_sqlite.ini with new version
    default: Setting up php-composer-spdx-licenses (1.3.0-1) ...
    default: Setting up php-symfony-filesystem (3.4.6+dfsg-1ubuntu0.1) ...
    default: Setting up php7.4-intl (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default:
    default: Creating config file /etc/php/7.4/mods-available/intl.ini with new version
    default: Setting up php-symfony-polyfill-mbstring (1.6.0-2) ...
    default: Setting up jsonlint (1.7.1-1) ...
    default: Setting up php-symfony-process (3.4.6+dfsg-1ubuntu0.1) ...
    default: Setting up php-symfony-debug (3.4.6+dfsg-1ubuntu0.1) ...
    default: Setting up php-symfony-console (3.4.6+dfsg-1ubuntu0.1) ...
    default: Setting up composer (1.6.3-1) ...
    default: Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
    default: Processing triggers for libapache2-mod-php7.4 (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: Processing triggers for libc-bin (2.27-3ubuntu1) ...
    default: Processing triggers for php7.4-cli (7.4.5-1+ubuntu18.04.1+deb.sury.org+1) ...
    default: WARNING:
    default: apt
    default:
    default: does not have a stable CLI interface.
    default: Use with caution in scripts.

ゲストマシンが構築できたようなので、pingで起動確認をしてみます。

> ping ○○.local ↵
ping 要求ではホスト ○○.local が見つかりませんでした。ホスト名を確認してもう一度実行してください。

おや?
pingが通りません。
sshで接続して確認してみます。

> vagrant ssh ↵
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-96-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-96-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Apr 22 11:11:16 UTC 2020

  System load:  0.0               Processes:             106
  Usage of /:   16.7% of 9.63GB   Users logged in:       0
  Memory usage: 9%                IP address for enp0s3: 10.0.2.15
  Swap usage:   0%                IP address for enp0s8: 192.168.0.8


5 packages can be updated.
0 updates are security updates.

DHCPからIPアドレスも割り当てられているので、どうやら名前解決ができていないだけのようです。念のため、再起動してみます。

$ sudo shutdown -r now ↵
Connection to 127.0.0.1 closed by remote host.
Connection to 127.0.0.1 closed.
> ping ○○.local ↵

○○.local [2001:c90:8220:5098:a00:27ff:fe06:bb2c]に ping を送信しています 32 バイトのデータ:
2001:c90:8220:5098:a00:27ff:fe06:bb2c からの応答: 時間 <1ms
2001:c90:8220:5098:a00:27ff:fe06:bb2c からの応答: 時間 <1ms
2001:c90:8220:5098:a00:27ff:fe06:bb2c からの応答: 時間 <1ms
2001:c90:8220:5098:a00:27ff:fe06:bb2c からの応答: 時間 <1ms

2001:c90:8220:5098:a00:27ff:fe06:bb2c の ping 統計:
    パケット数: 送信 = 4、受信 = 4、損失 = 0 (0% の損失)、
ラウンド トリップの概算時間 (ミリ秒):
    最小 = 0ms、最大 = 0ms、平均 = 0ms

pingも通りましたので、Apache2.4が動作していることを確認したいと思います。
任意のブラウザで、http://○○.local/にアクセスしてみます。
Apache2.4のアクセス結果
デフォルトの画面が取得できましたのでApache2.4がインストールできたことが確認できました。
次にPHPの状態を確認したいと思います。
次のような/var/www/html/info.phpを作成します。

info.php
<?php
echo phpinfo();
?>

ブラウザで、http://○○.local/info.phpにアクセスしてみます。
phpinfo()の結果
PHPモジュールも動作していることが確認できました。

ApacheとPHPのインストールができました。
次は、MySQLの設定になります。