Created
December 14, 2017 18:38
-
-
Save morloderex/201a4074816104c0aefd0ca5ec6f7ad6 to your computer and use it in GitHub Desktop.
installing of ppa:php-qa on ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install -y language-pack-en-base | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following package was automatically installed and is no longer required: | |
grub-pc-bin | |
Use 'apt autoremove' to remove it. | |
The following additional packages will be installed: | |
language-pack-en | |
The following NEW packages will be installed: | |
language-pack-en language-pack-en-base | |
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 596 kB of archives. | |
After this operation, 5321 kB of additional disk space will be used. | |
Get:1 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 language-pack-en-base all 1:16.04+20160627 [451 kB] | |
Get:2 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 language-pack-en all 1:16.04+20161009 [145 kB] | |
Fetched 596 kB in 0s (5633 kB/s) | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "da_DK.UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Selecting previously unselected package language-pack-en-base. | |
(Reading database ... 54278 files and directories currently installed.) | |
Preparing to unpack .../language-pack-en-base_1%3a16.04+20160627_all.deb ... | |
Unpacking language-pack-en-base (1:16.04+20160627) ... | |
Selecting previously unselected package language-pack-en. | |
Preparing to unpack .../language-pack-en_1%3a16.04+20161009_all.deb ... | |
Unpacking language-pack-en (1:16.04+20161009) ... | |
Replacing files in old package language-pack-en-base (1:16.04+20160627) ... | |
Setting up language-pack-en (1:16.04+20161009) ... | |
Setting up language-pack-en-base (1:16.04+20160627) ... | |
Generating locales (this might take a while)... | |
en_AG.UTF-8... done | |
en_AU.UTF-8... done | |
en_BW.UTF-8... done | |
en_CA.UTF-8... done | |
en_DK.UTF-8... done | |
en_GB.UTF-8... done | |
en_HK.UTF-8... done | |
en_IE.UTF-8... done | |
en_IN.UTF-8... done | |
en_NG.UTF-8... done | |
en_NZ.UTF-8... done | |
en_PH.UTF-8... done | |
en_SG.UTF-8... done | |
en_ZA.UTF-8... done | |
en_ZM.UTF-8... done | |
en_ZW.UTF-8... done | |
Generation complete. | |
root@ubuntu-2gb-fra1-01:~# LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for Supported Ubuntu Releases (https://wiki.ubuntu.com/Releases) are provided. Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided. | |
Debian oldstable and stable packages are provided as well: https://deb.sury.org/#debian-dpa | |
You can get more information about the packages at https://deb.sury.org | |
BUGS&FEATURES: This PPA now has a issue tracker: | |
https://deb.sury.org/#bug-reporting | |
CAVEATS: | |
1. If you are using php-gearman, you need to add ppa:ondrej/pkg-gearman | |
2. If you are using apache2, you are advised to add ppa:ondrej/apache2 | |
3. If you are using nginx, you are advise to add ppa:ondrej/nginx-mainline | |
or ppa:ondrej/nginx | |
PLEASE READ: If you like my work and want to give me a little motivation, please consider donating regularly: https://donate.sury.org/ | |
WARNING: add-apt-repository is broken with non-UTF-8 locales, see | |
https://github.com/oerdnj/deb.sury.org/issues/56 for workaround: | |
# LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php | |
Press [ENTER] to continue or ctrl-c to cancel adding it | |
gpg: keyring `/tmp/tmpcw_6qxud/secring.gpg' created | |
gpg: keyring `/tmp/tmpcw_6qxud/pubring.gpg' created | |
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com | |
gpg: /tmp/tmpcw_6qxud/trustdb.gpg: trustdb created | |
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported | |
gpg: Total number processed: 1 | |
gpg: imported: 1 (RSA: 1) | |
OK | |
root@ubuntu-2gb-fra1-01:~# LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php-qa | |
This is area for experimenting with future releases of PHP and future release of packaging. | |
You need both ppa:ondrej/php and ppa:ondrej/php-qa, e.g.: | |
# apt-get install -y language-pack-en-base | |
# LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
# LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php-qa | |
BEWARE: This experimental repository only builds packages for amd64. | |
More info: https://launchpad.net/~ondrej/+archive/ubuntu/php-qa | |
Press [ENTER] to continue or ctrl-c to cancel adding it | |
gpg: keyring `/tmp/tmpj63yo_uk/secring.gpg' created | |
gpg: keyring `/tmp/tmpj63yo_uk/pubring.gpg' created | |
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com | |
gpg: /tmp/tmpj63yo_uk/trustdb.gpg: trustdb created | |
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported | |
gpg: Total number processed: 1 | |
gpg: imported: 1 (RSA: 1) | |
OK | |
root@ubuntu-2gb-fra1-01:~# apt-get update | |
Hit:1 http://mirrors.digitalocean.com/ubuntu xenial InRelease | |
Get:2 http://mirrors.digitalocean.com/ubuntu xenial-updates InRelease [102 kB] | |
Get:3 http://ppa.launchpad.net/ondrej/php-qa/ubuntu xenial InRelease [23.8 kB] | |
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-backports InRelease [102 kB] | |
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB] | |
Get:6 http://mirrors.digitalocean.com/ubuntu xenial/main Sources [868 kB] | |
Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] | |
Get:8 http://mirrors.digitalocean.com/ubuntu xenial/restricted Sources [4808 B] | |
Get:9 http://mirrors.digitalocean.com/ubuntu xenial/universe Sources [7728 kB] | |
Get:10 http://ppa.launchpad.net/ondrej/php-qa/ubuntu xenial/main amd64 Packages [16.4 kB] | |
Get:11 http://mirrors.digitalocean.com/ubuntu xenial/multiverse Sources [179 kB] | |
Get:12 http://mirrors.digitalocean.com/ubuntu xenial/universe amd64 Packages [7532 kB] | |
Get:13 http://ppa.launchpad.net/ondrej/php-qa/ubuntu xenial/main Translation-en [6956 B] | |
Get:14 http://mirrors.digitalocean.com/ubuntu xenial/universe Translation-en [4354 kB] | |
Get:15 http://mirrors.digitalocean.com/ubuntu xenial/multiverse amd64 Packages [144 kB] | |
Get:16 http://mirrors.digitalocean.com/ubuntu xenial/multiverse Translation-en [106 kB] | |
Get:17 http://mirrors.digitalocean.com/ubuntu xenial-updates/main Sources [286 kB] | |
Get:18 http://mirrors.digitalocean.com/ubuntu xenial-updates/restricted Sources [3404 B] | |
Get:19 http://mirrors.digitalocean.com/ubuntu xenial-updates/universe Sources [185 kB] | |
Get:20 http://mirrors.digitalocean.com/ubuntu xenial-updates/multiverse Sources [7968 B] | |
Get:21 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [47.0 kB] | |
Get:22 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 Packages [678 kB] | |
Get:23 http://mirrors.digitalocean.com/ubuntu xenial-updates/universe amd64 Packages [565 kB] | |
Get:24 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main Translation-en [26.7 kB] | |
Get:25 http://mirrors.digitalocean.com/ubuntu xenial-updates/universe Translation-en [229 kB] | |
Get:26 http://mirrors.digitalocean.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB] | |
Get:27 http://mirrors.digitalocean.com/ubuntu xenial-updates/multiverse Translation-en [8052 B] | |
Get:28 http://mirrors.digitalocean.com/ubuntu xenial-backports/main Sources [3428 B] | |
Get:29 http://mirrors.digitalocean.com/ubuntu xenial-backports/universe Sources [4904 B] | |
Get:30 http://mirrors.digitalocean.com/ubuntu xenial-backports/main amd64 Packages [4860 B] | |
Get:31 http://mirrors.digitalocean.com/ubuntu xenial-backports/main Translation-en [3220 B] | |
Get:32 http://mirrors.digitalocean.com/ubuntu xenial-backports/universe amd64 Packages [6616 B] | |
Get:33 http://mirrors.digitalocean.com/ubuntu xenial-backports/universe Translation-en [3768 B] | |
Get:34 http://security.ubuntu.com/ubuntu xenial-security/main Sources [104 kB] | |
Get:35 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2600 B] | |
Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [48.9 kB] | |
Get:37 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1520 B] | |
Get:38 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [404 kB] | |
Get:39 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [190 kB] | |
Get:40 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [98.8 kB] | |
Get:41 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3208 B] | |
Get:42 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1408 B] | |
Fetched 24.2 MB in 4s (5270 kB/s) | |
Reading package lists... Done | |
root@ubuntu-2gb-fra1-01:~# apt-get dist-upgrade -y | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Calculating upgrade... Done | |
The following package was automatically installed and is no longer required: | |
grub-pc-bin | |
Use 'apt autoremove' to remove it. | |
The following NEW packages will be installed: | |
libssl1.1 | |
The following packages have been kept back: | |
curl | |
The following packages will be upgraded: | |
cloud-init grub-legacy-ec2 libpcre3 libssl1.0.0 libxml2 openssl | |
6 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. | |
Need to get 4769 kB of archives. | |
After this operation, 3816 kB of additional disk space will be used. | |
Get:1 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 libssl1.0.0 amd64 1.0.2g-1ubuntu4.10 [1083 kB] | |
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre3 amd64 2:8.41-1.1+ubuntu16.04.1+deb.sury.org+4 [337 kB] | |
Get:3 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 cloud-init all 17.1-46-g7acc9e68-0ubuntu1~16.04.1 [340 kB] | |
Get:4 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 grub-legacy-ec2 all 17.1-46-g7acc9e68-0ubuntu1~16.04.1 [27.4 kB] | |
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libssl1.1 amd64 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1 [1334 kB] | |
Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libxml2 amd64 2.9.4-1+deb.sury.org~xenial+2 [917 kB] | |
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 openssl amd64 1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1 [731 kB] | |
Fetched 4769 kB in 1s (3312 kB/s) | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "da_DK.UTF-8", | |
LANG = "en_US.UTF-8" | |
are supported and installed on your system. | |
perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Preconfiguring packages ... | |
(Reading database ... 54919 files and directories currently installed.) | |
Preparing to unpack .../libpcre3_2%3a8.41-1.1+ubuntu16.04.1+deb.sury.org+4_amd64.deb ... | |
Unpacking libpcre3:amd64 (2:8.41-1.1+ubuntu16.04.1+deb.sury.org+4) over (2:8.38-3.1) ... | |
Processing triggers for libc-bin (2.23-0ubuntu9) ... | |
Processing triggers for man-db (2.7.5-1) ... | |
Setting up libpcre3:amd64 (2:8.41-1.1+ubuntu16.04.1+deb.sury.org+4) ... | |
Processing triggers for libc-bin (2.23-0ubuntu9) ... | |
(Reading database ... 54920 files and directories currently installed.) | |
Preparing to unpack .../libssl1.0.0_1.0.2g-1ubuntu4.10_amd64.deb ... | |
Unpacking libssl1.0.0:amd64 (1.0.2g-1ubuntu4.10) over (1.0.2g-1ubuntu4.9) ... | |
Selecting previously unselected package libssl1.1:amd64. | |
Preparing to unpack .../libssl1.1_1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ... | |
Unpacking libssl1.1:amd64 (1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) ... | |
Preparing to unpack .../libxml2_2.9.4-1+deb.sury.org~xenial+2_amd64.deb ... | |
Unpacking libxml2:amd64 (2.9.4-1+deb.sury.org~xenial+2) over (2.9.3+dfsg1-1ubuntu0.4) ... | |
Preparing to unpack .../openssl_1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ... | |
Unpacking openssl (1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) over (1.0.2g-1ubuntu4.9) ... | |
Preparing to unpack .../cloud-init_17.1-46-g7acc9e68-0ubuntu1~16.04.1_all.deb ... | |
Unpacking cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) over (17.1-27-geb292c18-0ubuntu1~16.04.1) ... | |
Preparing to unpack .../grub-legacy-ec2_17.1-46-g7acc9e68-0ubuntu1~16.04.1_all.deb ... | |
Leaving 'diversion of /usr/sbin/grub-set-default to /usr/sbin/grub-set-default.real by grub-legacy-ec2' | |
Unpacking grub-legacy-ec2 (17.1-46-g7acc9e68-0ubuntu1~16.04.1) over (17.1-27-geb292c18-0ubuntu1~16.04.1) ... | |
Processing triggers for libc-bin (2.23-0ubuntu9) ... | |
Processing triggers for man-db (2.7.5-1) ... | |
Processing triggers for ureadahead (0.100.0-19) ... | |
Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.10) ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Setting up libssl1.1:amd64 (1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Setting up libxml2:amd64 (2.9.4-1+deb.sury.org~xenial+2) ... | |
Setting up openssl (1.1.0g-2.1+ubuntu16.04.1+deb.sury.org+1) ... | |
Installing new version of config file /etc/ssl/openssl.cnf ... | |
Setting up cloud-init (17.1-46-g7acc9e68-0ubuntu1~16.04.1) ... | |
Installing new version of config file /etc/cloud/templates/hosts.suse.tmpl ... | |
Installing new version of config file /etc/cloud/templates/ntp.conf.sles.tmpl ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init' | |
Setting up grub-legacy-ec2 (17.1-46-g7acc9e68-0ubuntu1~16.04.1) ... | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
Searching for GRUB installation directory ... found: /boot/grub | |
Searching for default file ... found: /boot/grub/default | |
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst | |
Searching for splash image ... none found, skipping ... | |
Found kernel: /boot/vmlinuz-4.4.0-103-generic | |
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory | |
Replacing config file /run/grub/menu.lst with new version | |
Found kernel: /boot/vmlinuz-4.4.0-103-generic | |
Updating /boot/grub/menu.lst ... done | |
Processing triggers for libc-bin (2.23-0ubuntu9) ... | |
root@ubuntu-2gb-fra1-01:~# apt-get upgrade curl | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Calculating upgrade... Done | |
Some packages could not be installed. This may mean that you have | |
requested an impossible situation or if you are using the unstable | |
distribution that some required packages have not yet been created | |
or been moved out of Incoming. | |
The following information may help to resolve the situation: | |
The following packages have unmet dependencies: | |
curl : Depends: libcurl3 (= 7.57.0-1+ubuntu16.04.1+deb.sury.org+3) but it is not going to be installed | |
E: Broken packages | |
root@ubuntu-2gb-fra1-01:~# sudo apt-get install libcurl3=7.57.0-1+ubuntu16.04.1+deb.sury.org+3 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Some packages could not be installed. This may mean that you have | |
requested an impossible situation or if you are using the unstable | |
distribution that some required packages have not yet been created | |
or been moved out of Incoming. | |
The following information may help to resolve the situation: | |
The following packages have unmet dependencies: | |
libcurl3 : Depends: libnghttp2-14 (>= 1.12.0) but it is not going to be installed | |
E: Unable to correct problems, you have held broken packages. | |
root@ubuntu-2gb-fra1-01:~# apt-cache policy libnghttp2-14 | |
libnghttp2-14: | |
Installed: (none) | |
Candidate: 1.7.1-1 | |
Version table: | |
1.7.1-1 500 | |
500 http://mirrors.digitalocean.com/ubuntu xenial/universe amd64 Packages |
@oerdnj had same issue with nghttp2-14 package, using nginx. Adding the apache2 ppa fixed it, but I assume this won't be needed when it's outside of QA :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, try adding one more repository: