1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294 | root@ns398848:~# sudo add-apt-repository ppa:ondrej/php
Co-installable PHP versions: PHP 5.5, 5.6, PHP 7.0 and batteries included.
You can get more information about the packages at https://deb.sury.org
For PHP 5.4 on Ubuntu 12.04 use: ppa:ondrej/php5-oldstable
BUGS&FEATURES: This PPA now has a issue tracker: https://deb.sury.org/#bug-reporting
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/tmp61pwlb2a/secring.gpg' created
gpg: keyring `/tmp/tmp61pwlb2a/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp61pwlb2a/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@ns398848:~# apt-get update
Hit:1 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Get:4 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [43.9 kB]
Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main i386 Packages [43.9 kB]
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main Translation-en [23.9 kB]
Hit:8 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [220 kB]
Get:10 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main i386 Packages [216 kB]
Get:11 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [99.5 kB]
Get:12 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [96.4 kB]
Fetched 956 kB in 1s (684 kB/s)
Reading package lists... Done
root@ns398848:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
dh-php libapache2-mod-php7.0 libssl-dev openssl php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-imap php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-pspell
php7.0-readline php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc
The following packages will be upgraded:
bison initramfs-tools initramfs-tools-bin initramfs-tools-core libbison-dev libexpat1 libexpat1-dev libgd-dev libgd3 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libhashkit-dev libhashkit2 libjbig-dev
libjbig0 libmemcached-dev libmemcached11 libmemcachedutil2 libmysqlclient-dev libmysqlclient20 libpcre16-3 libpcre3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libssl-doc libwebp5 libwebpmux1 libxml2 libxml2-dev
mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7 php-common php-gettext php-imagick php-memcache php-pear php-xml php7.0 php7.0-xsl pkg-php-tools
python3-software-properties shared-mime-info software-properties-common wget
51 to upgrade, 0 to newly install, 0 to remove and 23 not to upgrade.
Need to get 30.5 MB of archives.
After this operation, 1,318 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@ns398848:~# php -v
PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
root@ns398848:~# mysql -V
mysql Ver 14.14 Distrib 5.7.12, for Linux (x86_64) using EditLine wrapper
root@ns398848:~# apt-get install php5-zts
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php5-zts
root@ns398848:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
dh-php libapache2-mod-php7.0 libssl-dev openssl php7.0-cli php7.0-common php7.0-curl php7.0-dev php7.0-gd php7.0-imap php7.0-intl php7.0-json php7.0-mbstring php7.0-mcrypt php7.0-mysql php7.0-opcache php7.0-pspell
php7.0-readline php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc
The following packages will be upgraded:
bison initramfs-tools initramfs-tools-bin initramfs-tools-core libbison-dev libexpat1 libexpat1-dev libgd-dev libgd3 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libhashkit-dev libhashkit2 libjbig-dev
libjbig0 libmemcached-dev libmemcached11 libmemcachedutil2 libmysqlclient-dev libmysqlclient20 libpcre16-3 libpcre3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libssl-doc libwebp5 libwebpmux1 libxml2 libxml2-dev
mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7 php-common php-gettext php-imagick php-memcache php-pear php-xml php7.0 php7.0-xsl pkg-php-tools
python3-software-properties shared-mime-info software-properties-common wget
51 to upgrade, 0 to newly install, 0 to remove and 23 not to upgrade.
Need to get 30.5 MB of archives.
After this operation, 1,318 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-core-5.7 amd64 5.7.12-0ubuntu1.1 [6,120 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre3-dev amd64 2:8.38-3.1+deb.sury.org~xenial+4 [633 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre16-3 amd64 2:8.38-3.1+deb.sury.org~xenial+4 [252 kB]
Get:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre32-3 amd64 2:8.38-3.1+deb.sury.org~xenial+4 [244 kB]
Get:5 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.12-0ubuntu1.1 [17.0 kB]
Get:6 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-5.7 amd64 5.7.12-0ubuntu1.1 [1,695 kB]
Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1+deb.sury.org~xenial+4 [150 kB]
Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre3 amd64 2:8.38-3.1+deb.sury.org~xenial+4 [331 kB]
Get:9 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-5.7 amd64 5.7.12-0ubuntu1.1 [2,587 kB]
Get:10 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libxml2-dev amd64 2.9.4-1+deb.sury.org~xenial+2 [812 kB]
Get:11 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libxml2 amd64 2.9.4-1+deb.sury.org~xenial+2 [917 kB]
Get:12 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-core-5.7 amd64 5.7.12-0ubuntu1.1 [7,503 kB]
Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libgd-dev amd64 2.1.1-4.1+deb.sury.org~xenial+1 [280 kB]
Get:14 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libgd3 amd64 2.1.1-4.1+deb.sury.org~xenial+1 [138 kB]
Get:15 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libhashkit-dev amd64 1.0.18-5+deb.sury.org~xenial+2 [38.3 kB]
Get:16 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libmemcached-dev amd64 1.0.18-5+deb.sury.org~xenial+2 [253 kB]
Get:17 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libmemcached11 amd64 1.0.18-5+deb.sury.org~xenial+2 [94.9 kB]
Get:18 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libmemcachedutil2 amd64 1.0.18-5+deb.sury.org~xenial+2 [23.5 kB]
Get:19 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libhashkit2 amd64 1.0.18-5+deb.sury.org~xenial+2 [47.7 kB]
Get:20 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libjbig-dev amd64 2.1-3.1+deb.sury.org~xenial+1 [25.9 kB]
Get:21 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1+deb.sury.org~xenial+1 [26.4 kB]
Get:22 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libssl-doc all 1.0.2h-1+deb.sury.org~xenial+1 [1,270 kB]
Get:23 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libwebp5 amd64 0.4.4-1+deb.sury.org~xenial+1 [166 kB]
Get:24 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libwebpmux1 amd64 0.4.4-1+deb.sury.org~xenial+1 [16.1 kB]
Get:25 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-imagick amd64 3.4.2-2+donate.sury.org~xenial+1 [169 kB]
Get:26 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-common all 1:42+deb.sury.org~xenial+1 [12.8 kB]
Get:27 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-xml all 1:7.0+42+deb.sury.org~xenial+1 [4,642 B]
Get:28 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-pear all 1:1.10.1+submodules+notgz-8+donate.sury.org~xenial+2 [283 kB]
Get:29 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-gettext all 1.0.11-2+deb.sury.org~xenial+1 [15.9 kB]
Get:30 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-memcache amd64 3.0.9~20160311.4991c2f-5+donate.sury.org~xenial+1 [79.0 kB]
Get:31 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0 all 7.0.7-4+deb.sury.org~xenial+1 [34.5 kB]
Get:32 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-xsl all 7.0.7-4+deb.sury.org~xenial+1 [34.2 kB]
Get:33 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 pkg-php-tools all 1.33+deb.sury.org~xenial+1 [38.2 kB]
Get:34 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.1 [8,602 B]
Get:35 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.1 [42.2 kB]
Get:36 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.1 [10.8 kB]
Get:37 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.2 [115 kB]
Get:38 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1 amd64 2.1.0-7ubuntu0.16.04.2 [71.3 kB]
Get:39 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-data all 2.48.1-1~ubuntu16.04.1 [132 kB]
Get:40 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-dev amd64 2.48.1-1~ubuntu16.04.1 [1,377 kB]
Get:41 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-bin amd64 2.48.1-1~ubuntu16.04.1 [39.4 kB]
Get:42 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.1-1~ubuntu16.04.1 [1,118 kB]
Get:43 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 shared-mime-info amd64 1.5-2ubuntu0.1 [405 kB]
Get:44 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 wget amd64 1.17.1-1ubuntu1.1 [298 kB]
Get:45 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB]
Get:46 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB]
Get:47 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient-dev amd64 5.7.12-0ubuntu1.1 [1,156 kB]
Get:48 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.12-0ubuntu1.1 [811 kB]
Get:49 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server all 5.7.12-0ubuntu1.1 [10.1 kB]
Get:50 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.1 [9,428 B]
Get:51 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.1 [19.6 kB]
Fetched 30.5 MB in 2s (14.2 MB/s)
Extract templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: files list file for package 'python-docutils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-sphinx' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-gevent' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-jinja2' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-markupsafe' missing; assuming package has no files currently installed
(Reading database ... 55834 files and directories currently installed.)
Preparing to unpack .../libpcre3-dev_2%3a8.38-3.1+deb.sury.org~xenial+4_amd64.deb ...
Unpacking libpcre3-dev:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) over (2:8.38-3.1) ...
Preparing to unpack .../libpcre16-3_2%3a8.38-3.1+deb.sury.org~xenial+4_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) over (2:8.38-3.1) ...
Preparing to unpack .../libpcre32-3_2%3a8.38-3.1+deb.sury.org~xenial+4_amd64.deb ...
Unpacking libpcre32-3:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) over (2:8.38-3.1) ...
Preparing to unpack .../libpcrecpp0v5_2%3a8.38-3.1+deb.sury.org~xenial+4_amd64.deb ...
Unpacking libpcrecpp0v5:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) over (2:8.38-3.1) ...
Preparing to unpack .../libpcre3_2%3a8.38-3.1+deb.sury.org~xenial+4_amd64.deb ...
Unpacking libpcre3:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) over (2:8.38-3.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libpcre3:amd64 (2:8.38-3.1+deb.sury.org~xenial+4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
dpkg: warning: files list file for package 'python-docutils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-sphinx' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-gevent' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-jinja2' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-markupsafe' missing; assuming package has no files currently installed
(Reading database ... 55839 files and directories currently installed.)
Preparing to unpack .../mysql-client-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../mysql-common_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-common (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../mysql-client-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-common (5.7.12-0ubuntu1.1) ...
dpkg: warning: files list file for package 'python-docutils' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-sphinx' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-gevent' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-jinja2' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'python-markupsafe' missing; assuming package has no files currently installed
(Reading database ... 55839 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../mysql-server-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../initramfs-tools_0.122ubuntu8.1_all.deb ...
Unpacking initramfs-tools (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../initramfs-tools-core_0.122ubuntu8.1_all.deb ...
Unpacking initramfs-tools-core (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../initramfs-tools-bin_0.122ubuntu8.1_amd64.deb ...
Unpacking initramfs-tools-bin (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) over (2.1.0-7ubuntu0.16.04.1) ...
Preparing to unpack .../libexpat1_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2) over (2.1.0-7ubuntu0.16.04.1) ...
Preparing to unpack .../libglib2.0-data_2.48.1-1~ubuntu16.04.1_all.deb ...
Unpacking libglib2.0-data (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-dev_2.48.1-1~ubuntu16.04.1_amd64.deb ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/apt/archives/libglib2.0-dev_2.48.1-1~ubuntu16.04.1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../libglib2.0-bin_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-0_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libxml2-dev_2.9.4-1+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.4-1+deb.sury.org~xenial+2) over (2.9.3+dfsg1-1ubuntu0.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.1) ...
Preparing to unpack .../shared-mime-info_1.5-2ubuntu0.1_amd64.deb ...
Unpacking shared-mime-info (1.5-2ubuntu0.1) over (1.5-2) ...
Preparing to unpack .../wget_1.17.1-1ubuntu1.1_amd64.deb ...
Unpacking wget (1.17.1-1ubuntu1.1) over (1.17.1-1ubuntu1) ...
Preparing to unpack .../bison_2%3a3.0.4.dfsg-1_amd64.deb ...
Unpacking bison (2:3.0.4.dfsg-1) over (2:2.7.1.dfsg-1) ...
Preparing to unpack .../libbison-dev_2%3a3.0.4.dfsg-1_amd64.deb ...
Unpacking libbison-dev:amd64 (2:3.0.4.dfsg-1) over (2:2.7.1.dfsg-1) ...
Preparing to unpack .../libgd-dev_2.1.1-4.1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libgd-dev:amd64 (2.1.1-4.1+deb.sury.org~xenial+1) over (2.1.1-4ubuntu0.16.04.1) ...
Preparing to unpack .../libgd3_2.1.1-4.1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libgd3:amd64 (2.1.1-4.1+deb.sury.org~xenial+1) over (2.1.1-4ubuntu0.16.04.1) ...
Preparing to unpack .../libhashkit-dev_1.0.18-5+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libhashkit-dev (1.0.18-5+deb.sury.org~xenial+2) over (1.0.18-4.1) ...
Preparing to unpack .../libmemcached-dev_1.0.18-5+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libmemcached-dev (1.0.18-5+deb.sury.org~xenial+2) over (1.0.18-4.1) ...
Preparing to unpack .../libmemcached11_1.0.18-5+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libmemcached11:amd64 (1.0.18-5+deb.sury.org~xenial+2) over (1.0.18-4.1) ...
Preparing to unpack .../libmemcachedutil2_1.0.18-5+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libmemcachedutil2:amd64 (1.0.18-5+deb.sury.org~xenial+2) over (1.0.18-4.1) ...
Preparing to unpack .../libhashkit2_1.0.18-5+deb.sury.org~xenial+2_amd64.deb ...
Unpacking libhashkit2:amd64 (1.0.18-5+deb.sury.org~xenial+2) over (1.0.18-4.1) ...
Preparing to unpack .../libjbig-dev_2.1-3.1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libjbig-dev:amd64 (2.1-3.1+deb.sury.org~xenial+1) over (2.1-3.1) ...
Preparing to unpack .../libjbig0_2.1-3.1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1+deb.sury.org~xenial+1) over (2.1-3.1) ...
Preparing to unpack .../libmysqlclient-dev_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking libmysqlclient-dev (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../libmysqlclient20_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../libssl-doc_1.0.2h-1+deb.sury.org~xenial+1_all.deb ...
Unpacking libssl-doc (1.0.2h-1+deb.sury.org~xenial+1) over (1.0.2g-1ubuntu4.1) ...
Preparing to unpack .../libwebp5_0.4.4-1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libwebp5:amd64 (0.4.4-1+deb.sury.org~xenial+1) over (0.4.4-1) ...
Preparing to unpack .../libwebpmux1_0.4.4-1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libwebpmux1:amd64 (0.4.4-1+deb.sury.org~xenial+1) over (0.4.4-1) ...
Preparing to unpack .../mysql-server_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-server (5.7.12-0ubuntu1.1) over (5.7.12-0ubuntu1) ...
Preparing to unpack .../php-imagick_3.4.2-2+donate.sury.org~xenial+1_amd64.deb ...
Unpacking php-imagick (3.4.2-2+donate.sury.org~xenial+1) over (3.4.0~rc6-1ubuntu3) ...
Preparing to unpack .../php-common_1%3a42+deb.sury.org~xenial+1_all.deb ...
Unpacking php-common (1:42+deb.sury.org~xenial+1) over (1:35ubuntu6) ...
Preparing to unpack .../php-xml_1%3a7.0+42+deb.sury.org~xenial+1_all.deb ...
Unpacking php-xml (1:7.0+42+deb.sury.org~xenial+1) over (1:7.0+35ubuntu6) ...
Preparing to unpack .../php-pear_1%3a1.10.1+submodules+notgz-8+donate.sury.org~xenial+2_all.deb ...
Unpacking php-pear (1:1.10.1+submodules+notgz-8+donate.sury.org~xenial+2) over (1:1.10.1+submodules+notgz-6) ...
Preparing to unpack .../php-gettext_1.0.11-2+deb.sury.org~xenial+1_all.deb ...
Unpacking php-gettext (1.0.11-2+deb.sury.org~xenial+1) over (1.0.11-2build1) ...
Preparing to unpack .../php-memcache_3.0.9~20160311.4991c2f-5+donate.sury.org~xenial+1_amd64.deb ...
Unpacking php-memcache (3.0.9~20160311.4991c2f-5+donate.sury.org~xenial+1) over (3.0.9~20151130.fdbd46b-2) ...
Preparing to unpack .../php7.0_7.0.7-4+deb.sury.org~xenial+1_all.deb ...
Unpacking php7.0 (7.0.7-4+deb.sury.org~xenial+1) over (7.0.4-7ubuntu2.1) ...
Preparing to unpack .../php7.0-xsl_7.0.7-4+deb.sury.org~xenial+1_all.deb ...
Unpacking php7.0-xsl (7.0.7-4+deb.sury.org~xenial+1) over (7.0.4-7ubuntu2.1) ...
Preparing to unpack .../software-properties-common_0.96.20.1_all.deb ...
Unpacking software-properties-common (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../python3-software-properties_0.96.20.1_all.deb ...
Unpacking python3-software-properties (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../pkg-php-tools_1.33+deb.sury.org~xenial+1_all.deb ...
Unpacking pkg-php-tools (1.33+deb.sury.org~xenial+1) over (1.32ubuntu2) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/libglib2.0-dev_2.48.1-1~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
|