two dimensional DtatFrame indexing in panda

One of the important libraries in data science and data engineering is that Panda. Data in panada is defined as DataFrame class.

In this post, I want to speak about indexing in DataFrame.

If you define a DataFrame as follow:

import pandas as pd

K = pd.DataFrame(np.random.rand(5,6))

0 0.457355 0.695109 0.960173 0.895233 0.913107 0.997462
1 0.159627 0.006112 0.751829 0.641470 0.430603 0.005721
2 0.167967 0.232892 0.000698 0.646807 0.359331 0.859992
3 0.114184 0.332704 0.224112 0.058897 0.547509 0.734783
4 0.623049 0.403003 0.384613 0.663572 0.866130 0.084359

You can not index, the value of K similar to array in python.

K[0,0]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File “”, line 1, in
K[0,0]

File “/home/kazem/anaconda3/lib/python3.6/site-packages/pandas/core/frame.py”, line 2800, in getitem
indexer = self.columns.get_loc(key)

File “/home/kazem/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/range.py”, line 353, in get_loc
return super().get_loc(key, method=method, tolerance=tolerance)

File “/home/kazem/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py”, line 2648, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))

File “pandas/_libs/index.pyx”, line 111, in pandas._libs.index.IndexEngine.get_loc

File “pandas/_libs/index.pyx”, line 135, in pandas._libs.index.IndexEngine.get_loc

File “pandas/_libs/index_class_helper.pxi”, line 109, in pandas._libs.index.Int64Engine._check_type

KeyError: (0, 0)

Row selection :

Suppose, you want to extract first row, you must use iloc command.

K.iloc[0]

or

K.iloc[0,:]

Out[ ]:
0 0.457355
1 0.695109
2 0.960173
3 0.895233
4 0.913107
5 0.997462
Name: 0, dtype: float64

For selecting the first row, it is just enough to enter zero number in row indexing.

Multiple row selection :

If you want to extract the first and third row, you can use :

K.iloc[[0,2],:]


Out[14]:
0 1 2 3 4 5
0 0.457355 0.695109 0.960173 0.895233 0.913107 0.997462
2 0.167967 0.232892 0.000698 0.646807 0.359331 0.859992

As you see, the first and third row is extracted.

Now, if you want to extract the rows from first to third :

In [19]: K.iloc[range(0,3),:]


Out[19]:
0 1 2 3 4 5
0 0.457355 0.695109 0.960173 0.895233 0.913107 0.997462
1 0.159627 0.006112 0.751829 0.641470 0.430603 0.005721
2 0.167967 0.232892 0.000698 0.646807 0.359331 0.859992

This way is true for column too.

K.iloc[:,range(0,3)]


Out[20]:
0 1 2
0 0.457355 0.695109 0.960173
1 0.159627 0.006112 0.751829
2 0.167967 0.232892 0.000698
3 0.114184 0.332704 0.224112
4 0.623049 0.403003 0.384613

In the top code, we extract the first to third column.

Binary Indexing:

In some applications, it is necessary to index a DataFrame with a binary variable. The variable that is used for binary indexing must have the following conditions:

  • The size of the input vector must be the same with the number of rows or columns of DataFrame
  • The class of input vector must be bool.

Example :

import pandas as pd

K = pd.DataFrame(np.random.rand(5,6))

idx = [1,0,1,1,0]

We want to extract the first and third and fourth row of input DataFrame (K). Every place in idx that is one, shows the selected row. K has five rows, then idx has five cells too.

x = [bool(d) for d in idx]

Idx is a list and we must convert it to bool.

Now, we can simply apply the indexing as :

K.iloc[x,:]


Out[26]:
0 1 2 3 4 5
0 0.457355 0.695109 0.960173 0.895233 0.913107 0.997462
2 0.167967 0.232892 0.000698 0.646807 0.359331 0.859992
3 0.114184 0.332704 0.224112 0.058897 0.547509 0.734783

Binary Indexing in NumPy array :

import numpy as np

G = np.round(10*np.random.rand(6,3))

out :

array([[8., 7., 1.],
[9., 9., 6.],
[4., 9., 9.],
[3., 5., 5.],
[4., 2., 6.],
[2., 0., 9.]])

rb = G <= 5

out :

array([[False, False, True],
[False, False, False],
[ True, False, False],
[ True, True, True],
[ True, True, False],
[ True, True, False]])

G=0

out :

array([[8., 7., 0.],
[9., 9., 6.],
[0., 9., 9.],
[0., 0., 0.],
[0., 0., 6.],
[0., 0., 9.]])

array.shape[1] , IndexError: tuple index out of range

One of the problem in python, when you are working with array is that you want to find the number of column of an array, but it just give you the number of row.

For example :

I start with a list, suppose that you have a list :

A =[5,9,3,15]

This is a simple vector that you will use in most python code. It is a 4 in 1 matrix. If you want to find the number of row, it is enough to write :

num_row = np.shape(A)

The result is a tuple :

num_row
Out[ ]: (4,)

As you see, it just contain the number of row and the number of column is not claculated.

The number of rows can be extracted as

num_row[0]

But, if you want to extract the number of columns,

num_row[1]
Traceback (most recent call last):

File "", line 1, in
num_row[1]

IndexError: tuple index out of range

In Stachoverflow, there are some solution, but these ways can not help

https://stackoverflow.com/questions/7670226/python-numpy-how-to-get-2d-array-column-length

Some python programmer, suggest using Numpy and numpy.array

If you use this way,

z3 = np.array([0,2,0])

and then the number of row works well :

z3.shape[0]

But the number of columns get error agian:

z3.shape[1]
Traceback (most recent call last):

File "", line 1, in
z3.shape[1]

IndexError: tuple index out of range

Solution :

You just need to add a simple option when you create an array the the problem is solved.

z3 = np.array([0,2,0],ndmin = 2)

In this way, you can calculate the number of rows and columns well.

z3.shape[0]
Out[]: 1

z3.shape[1]
Out[]: 3

It is recommended to use this way to define an array then you have full control over your variable in your code.

You can use the size method too.

np.size(z3,0)
Out[ ]: 1

np.size(z3,1)
Out[ ]: 3

issues with cv2.imshow

One of the problems with cv2.imshow is that when you use it, the system will freeze.

This function shows a window but it does not continue and you need to restart the kernel in Ipython.

It happens sometimes in spyder ipython console and opencv.

Solution :

The best solution for this problem is using matplotlib for displaying the image.

For example :

plt.figure()
plt.imshow(cv2.cvtColor(host, cv2.COLOR_BGR2RGB))
plt.title('Cover Image')
plt.show()

In the top code, the host is our input image that we want to display.

If you have many imshow command and you want to give the output image in separated figures, add the following code to the first of your code

from IPython import get_ipython
get_ipython().run_line_magic('matplotlib', 'qt')

Install “libgtk2.0-dev” Package on Ubuntu

One of the error in using in Linux can be :

OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/highgui/src/window.cpp:632: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function ‘cvShowImage’

If you use the following commands, then you will face an error :

conda install libgtk2.0-dev

then you can install and you will get the following error :

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • libgtk2.0-dev

Current channels:

  • https://repo.anaconda.com/pkgs/main/linux-64
  • https://repo.anaconda.com/pkgs/main/noarch
  • https://repo.anaconda.com/pkgs/r/linux-64
  • https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Solution :

At first, you must update :

sudo apt-get update -y

Then you will give the following results :

Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Err:4 http://ppa.launchpad.net/dani.behzi/traktor/ubuntu bionic InRelease
403 Forbidden [IP: 91.189.95.83 80]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:6 http://ppa.launchpad.net/fossproject/ppa/ubuntu bionic InRelease
Get:7 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,123 B]
Hit:8 http://ppa.launchpad.net/noobslab/apps/ubuntu bionic InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:10 http://ppa.launchpad.net/ozmartian/apps/ubuntu bionic InRelease
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [727 kB]
Get:12 http://ppa.launchpad.net/persepolis/ppa/ubuntu bionic InRelease [15.9 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [685 kB]
Err:12 http://ppa.launchpad.net/persepolis/ppa/ubuntu bionic InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
Hit:14 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu bionic InRelease
Ign:15 http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu bionic InRelease
Get:16 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [474 kB]
Err:17 http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [951 kB]
Get:19 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [230 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [324 kB]
Get:21 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [43.7 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [306 kB]
Get:23 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48×48 Icons [25.7 kB]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64×64 Icons [58.0 kB]
Get:25 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [45.7 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48×48 Icons [81.9 kB]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [11.4 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64×64 Icons [157 kB]
Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [669 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [55.3 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [13.8 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,018 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [623 kB]
Get:34 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [222 kB]
Get:35 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,077 kB]
Get:36 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:37 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [335 kB]
Get:38 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48×48 Icons [18.6 kB]
Get:39 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64×64 Icons [107 kB]
Get:40 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4,288 B]
Get:41 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7,596 B]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,824 B]
Get:43 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:44 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:45 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48×48 Icons [213 kB]
Get:46 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64×64 Icons [462 kB]
Get:47 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [15.7 kB]
Get:48 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [8,720 B]
Get:49 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6,384 B]
Get:50 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:51 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,968 B]
Reading package lists… Done
E: Failed to fetch http://ppa.launchpad.net/dani.behzi/traktor/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 91.189.95.83 80]
E: The repository ‘http://ppa.launchpad.net/dani.behzi/traktor/ubuntu bionic InRelease’ is no longer signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ppa.launchpad.net/persepolis/ppa/ubuntu bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AC4E8D9CDCB0980D
E: The repository ‘http://ppa.launchpad.net/persepolis/ppa/ubuntu bionic InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository ‘http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu bionic Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Now, run the following Bash command :

sudo apt-get install -y libgtk2.0-dev

Reading package lists… Done
Building dependency tree… 50%
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libllvm8 python3-fire python3-stem
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 icu-devtools
libarchive-cpio-perl libatk1.0-dev libcairo-script-interpreter2 libcairo2-dev libfile-stripnondeterminism-perl libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgraphite2-dev libharfbuzz-dev libharfbuzz-gobject0
libicu-dev libicu-le-hb-dev libicu-le-hb0 libicu60 libiculx60 libltdl-dev libmail-sendmail-perl libpango1.0-dev libpcre16-3 libpcre3-dev
libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng-dev libpng-tools libsys-hostname-long-perl libtool libxcb-render0-dev libxcb-shm0-dev
libxcomposite-dev libxcursor-dev libxdamage-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-utils libxrandr-dev
libxrender-dev m4 pkg-config po-debconf x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-randr-dev
x11proto-xext-dev x11proto-xinerama-dev zlib1g-dev
Suggested packages:
autoconf-archive gnu-standards autoconf-doc dh-make dwz libcairo2-doc libglib2.0-doc libgraphite2-utils libgtk2.0-doc icu-doc libtool-doc
libpango1.0-doc gfortran | fortran95-compiler gcj-jdk libxext-doc m4-doc libmail-box-perl
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism gir1.2-gtk-2.0 gir1.2-harfbuzz-0.0 icu-devtools
libarchive-cpio-perl libatk1.0-dev libcairo-script-interpreter2 libcairo2-dev libfile-stripnondeterminism-perl libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libglib2.0-dev-bin libgraphite2-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libicu-dev
libicu-le-hb-dev libicu-le-hb0 libiculx60 libltdl-dev libmail-sendmail-perl libpango1.0-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5
libpixman-1-dev libpng-dev libpng-tools libsys-hostname-long-perl libtool libxcb-render0-dev libxcb-shm0-dev libxcomposite-dev libxcursor-dev
libxdamage-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev m4 pkg-config po-debconf
x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-randr-dev x11proto-xext-dev x11proto-xinerama-dev
zlib1g-dev
The following packages will be upgraded:
libglib2.0-0 libglib2.0-bin libicu60
3 upgraded, 64 newly installed, 0 to remove and 285 not upgraded.
Need to get 23.2 MB/32.5 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 m4 amd64 1.4.18-1 [197 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 autoconf all 2.69-11 [322 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 autotools-dev all 20180224.1 [39.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 automake all 1:1.15.1-3ubuntu2 [509 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 autopoint all 0.19.8.1-6ubuntu0.3 [426 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libtool all 2.4.6-2 [194 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 dh-autoreconf all 17 [15.8 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libfile-stripnondeterminism-perl all 0.040-1.1~build1 [13.8 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 dh-strip-nondeterminism all 0.040-1.1~build1 [5,208 B]
Get:10 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 po-debconf all 1.0.20 [232 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 debhelper all 11.1.6ubuntu2 [902 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-gtk-2.0 amd64 2.24.32-1ubuntu1 [172 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-harfbuzz-0.0 amd64 1.7.2-1ubuntu1 [18.6 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 icu-devtools amd64 60.2-3ubuntu3.1 [179 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libarchive-cpio-perl all 0.10-1 [9,644 B]
Get:16 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45.0 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-dev-bin amd64 2.56.4-0ubuntu0.18.04.6 [102 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre16-3 amd64 2:8.39-9 [147 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre32-3 amd64 2:8.39-9 [138 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpcrecpp0v5 amd64 2:8.39-9 [15.3 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpcre3-dev amd64 2:8.39-9 [537 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-dev amd64 2.56.4-0ubuntu0.18.04.6 [1,385 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libatk1.0-dev amd64 2.28.1-1 [79.9 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcairo-script-interpreter2 amd64 1.15.10-2ubuntu0.1 [53.5 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpng-dev amd64 1.6.34-1ubuntu0.18.04.2 [177 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libfreetype6-dev amd64 2.8.1-2ubuntu2 [2,539 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libfontconfig1-dev amd64 2.12.6-0ubuntu2 [689 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxrender-dev amd64 1:0.9.10-1 [24.9 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xext-dev all 2018.4-4 [2,620 B]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxext-dev amd64 2:1.3.3-1 [82.1 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libpixman-1-dev amd64 0.34.0-2 [244 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-render0-dev amd64 1.13-2~ubuntu18.04 [18.4 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shm0-dev amd64 1.13-2~ubuntu18.04 [6,684 B]
Get:35 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcairo2-dev amd64 1.15.10-2ubuntu0.1 [626 kB]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libgdk-pixbuf2.0-dev amd64 2.36.11-2 [46.8 kB]
Get:37 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libgraphite2-dev amd64 1.3.11-2 [14.5 kB]
Get:38 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libharfbuzz-gobject0 amd64 1.7.2-1ubuntu1 [13.4 kB]
Get:39 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libicu-le-hb0 amd64 1.0.3+git161113-4 [14.3 kB]
Get:40 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libiculx60 amd64 60.2-3ubuntu3.1 [19.0 kB]
Get:41 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libicu-le-hb-dev amd64 1.0.3+git161113-4 [29.5 kB]
Get:42 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libicu-dev amd64 60.2-3ubuntu3.1 [8,889 kB]
Get:43 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libharfbuzz-dev amd64 1.7.2-1ubuntu1 [302 kB]
Get:44 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxft-dev amd64 2.3.2-1 [45.7 kB]
Get:45 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpango1.0-dev amd64 1.40.14-1ubuntu0.1 [288 kB]
Get:46 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xinerama-dev all 2018.4-4 [2,628 B]
Get:47 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxinerama-dev amd64 2:1.1.3-1 [8,404 B]
Get:48 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-fixes-dev all 1:2018.4-4 [2,620 B]
Get:49 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxfixes-dev amd64 1:5.0.3-1 [11.0 kB]
Get:50 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-input-dev all 2018.4-4 [2,620 B]
Get:51 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxi-dev amd64 2:1.7.9-1 [186 kB]
Get:52 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-randr-dev all 2018.4-4 [2,620 B]
Get:53 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxrandr-dev amd64 2:1.5.1-1 [24.0 kB]
Get:54 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxcursor-dev amd64 1:1.1.15-1 [26.5 kB]
Get:55 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-composite-dev all 1:2018.4-4 [2,620 B]
Get:56 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxcomposite-dev amd64 1:0.4.4-2 [9,136 B]
Get:57 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-damage-dev all 1:2018.4-4 [2,620 B]
Get:58 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libxdamage-dev amd64 1:1.1.4-3 [5,028 B]
Get:59 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2-utils amd64 2.9.4+dfsg1-6.1ubuntu1.3 [35.9 kB]
Get:60 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libgtk2.0-dev amd64 2.24.32-1ubuntu1 [2,652 kB]
Get:61 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libltdl-dev amd64 2.4.6-2 [162 kB]
Get:62 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libsys-hostname-long-perl all 1.5-1 [11.7 kB]
Get:63 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libmail-sendmail-perl all 0.80-1 [22.6 kB]
Get:64 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpng-tools amd64 1.6.34-1ubuntu0.18.04.2 [25.6 kB]
Fetched 23.2 MB in 3min 26s (113 kB/s)
Extracting templates from packages: 100%
(Reading database … 203512 files and directories currently installed.)
Preparing to unpack …/00-libglib2.0-bin_2.56.4-0ubuntu0.18.04.6_amd64.deb …
Unpacking libglib2.0-bin (2.56.4-0ubuntu0.18.04.6) over (2.56.4-0ubuntu0.18.04.4) …
Preparing to unpack …/01-libglib2.0-0_2.56.4-0ubuntu0.18.04.6_amd64.deb …
Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) over (2.56.4-0ubuntu0.18.04.4) …
Preparing to unpack …/02-libicu60_60.2-3ubuntu3.1_amd64.deb …
Unpacking libicu60:amd64 (60.2-3ubuntu3.1) over (60.2-3ubuntu3) …
Selecting previously unselected package m4.
Preparing to unpack …/03-m4_1.4.18-1_amd64.deb …
Unpacking m4 (1.4.18-1) …
Selecting previously unselected package autoconf.
Preparing to unpack …/04-autoconf_2.69-11_all.deb …
Unpacking autoconf (2.69-11) …
Selecting previously unselected package autotools-dev.
Preparing to unpack …/05-autotools-dev_20180224.1_all.deb …
Unpacking autotools-dev (20180224.1) …
Selecting previously unselected package automake.
Preparing to unpack …/06-automake_1%3a1.15.1-3ubuntu2_all.deb …
Unpacking automake (1:1.15.1-3ubuntu2) …
Selecting previously unselected package autopoint.
Preparing to unpack …/07-autopoint_0.19.8.1-6ubuntu0.3_all.deb …
Unpacking autopoint (0.19.8.1-6ubuntu0.3) …
Selecting previously unselected package libtool.
Preparing to unpack …/08-libtool_2.4.6-2_all.deb …
Unpacking libtool (2.4.6-2) …
Selecting previously unselected package dh-autoreconf.
Preparing to unpack …/09-dh-autoreconf_17_all.deb …
Unpacking dh-autoreconf (17) …
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack …/10-libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb …
Unpacking libfile-stripnondeterminism-perl (0.040-1.1~build1) …
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack …/11-dh-strip-nondeterminism_0.040-1.1~build1_all.deb …
Unpacking dh-strip-nondeterminism (0.040-1.1~build1) …
Selecting previously unselected package po-debconf.
Preparing to unpack …/12-po-debconf_1.0.20_all.deb …
Unpacking po-debconf (1.0.20) …
Selecting previously unselected package debhelper.
Preparing to unpack …/13-debhelper_11.1.6ubuntu2_all.deb …
Unpacking debhelper (11.1.6ubuntu2) …
Selecting previously unselected package gir1.2-gtk-2.0.
Preparing to unpack …/14-gir1.2-gtk-2.0_2.24.32-1ubuntu1_amd64.deb …
Unpacking gir1.2-gtk-2.0 (2.24.32-1ubuntu1) …
Selecting previously unselected package gir1.2-harfbuzz-0.0:amd64.
Preparing to unpack …/15-gir1.2-harfbuzz-0.0_1.7.2-1ubuntu1_amd64.deb …
Unpacking gir1.2-harfbuzz-0.0:amd64 (1.7.2-1ubuntu1) …
Selecting previously unselected package icu-devtools.
Preparing to unpack …/16-icu-devtools_60.2-3ubuntu3.1_amd64.deb …
Unpacking icu-devtools (60.2-3ubuntu3.1) …
Selecting previously unselected package libarchive-cpio-perl.
Preparing to unpack …/17-libarchive-cpio-perl_0.10-1_all.deb …
Unpacking libarchive-cpio-perl (0.10-1) …
Selecting previously unselected package pkg-config.
Preparing to unpack …/18-pkg-config_0.29.1-0ubuntu2_amd64.deb …
Unpacking pkg-config (0.29.1-0ubuntu2) …
Selecting previously unselected package libglib2.0-dev-bin.
Preparing to unpack …/19-libglib2.0-dev-bin_2.56.4-0ubuntu0.18.04.6_amd64.deb …
Unpacking libglib2.0-dev-bin (2.56.4-0ubuntu0.18.04.6) …
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack …/20-libpcre16-3_2%3a8.39-9_amd64.deb …
Unpacking libpcre16-3:amd64 (2:8.39-9) …
Selecting previously unselected package libpcre32-3:amd64.
Preparing to unpack …/21-libpcre32-3_2%3a8.39-9_amd64.deb …
Unpacking libpcre32-3:amd64 (2:8.39-9) …
Selecting previously unselected package libpcrecpp0v5:amd64.
Preparing to unpack …/22-libpcrecpp0v5_2%3a8.39-9_amd64.deb …
Unpacking libpcrecpp0v5:amd64 (2:8.39-9) …
Selecting previously unselected package libpcre3-dev:amd64.
Preparing to unpack …/23-libpcre3-dev_2%3a8.39-9_amd64.deb …
Unpacking libpcre3-dev:amd64 (2:8.39-9) …
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack …/24-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb …
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) …
Selecting previously unselected package libglib2.0-dev:amd64.
Preparing to unpack …/25-libglib2.0-dev_2.56.4-0ubuntu0.18.04.6_amd64.deb …
Unpacking libglib2.0-dev:amd64 (2.56.4-0ubuntu0.18.04.6) …
Selecting previously unselected package libatk1.0-dev:amd64.
Preparing to unpack …/26-libatk1.0-dev_2.28.1-1_amd64.deb …
Unpacking libatk1.0-dev:amd64 (2.28.1-1) …
Selecting previously unselected package libcairo-script-interpreter2:amd64.
Preparing to unpack …/27-libcairo-script-interpreter2_1.15.10-2ubuntu0.1_amd64.deb …
Unpacking libcairo-script-interpreter2:amd64 (1.15.10-2ubuntu0.1) …
Selecting previously unselected package libpng-dev:amd64.
Preparing to unpack …/28-libpng-dev_1.6.34-1ubuntu0.18.04.2_amd64.deb …
Unpacking libpng-dev:amd64 (1.6.34-1ubuntu0.18.04.2) …
Selecting previously unselected package libfreetype6-dev:amd64.
Preparing to unpack …/29-libfreetype6-dev_2.8.1-2ubuntu2_amd64.deb …
Unpacking libfreetype6-dev:amd64 (2.8.1-2ubuntu2) …
Selecting previously unselected package libfontconfig1-dev:amd64.
Preparing to unpack …/30-libfontconfig1-dev_2.12.6-0ubuntu2_amd64.deb …
Unpacking libfontconfig1-dev:amd64 (2.12.6-0ubuntu2) …
Selecting previously unselected package libxrender-dev:amd64.
Preparing to unpack …/31-libxrender-dev_1%3a0.9.10-1_amd64.deb …
Unpacking libxrender-dev:amd64 (1:0.9.10-1) …
Selecting previously unselected package x11proto-xext-dev.
Preparing to unpack …/32-x11proto-xext-dev_2018.4-4_all.deb …
Unpacking x11proto-xext-dev (2018.4-4) …
Selecting previously unselected package libxext-dev:amd64.
Preparing to unpack …/33-libxext-dev_2%3a1.3.3-1_amd64.deb …
Unpacking libxext-dev:amd64 (2:1.3.3-1) …
Selecting previously unselected package libpixman-1-dev:amd64.
Preparing to unpack …/34-libpixman-1-dev_0.34.0-2_amd64.deb …
Unpacking libpixman-1-dev:amd64 (0.34.0-2) …
Selecting previously unselected package libxcb-render0-dev:amd64.
Preparing to unpack …/35-libxcb-render0-dev_1.13-2~ubuntu18.04_amd64.deb …
Unpacking libxcb-render0-dev:amd64 (1.13-2~ubuntu18.04) …
Selecting previously unselected package libxcb-shm0-dev:amd64.
Preparing to unpack …/36-libxcb-shm0-dev_1.13-2~ubuntu18.04_amd64.deb …
Unpacking libxcb-shm0-dev:amd64 (1.13-2~ubuntu18.04) …
Selecting previously unselected package libcairo2-dev:amd64.
Preparing to unpack …/37-libcairo2-dev_1.15.10-2ubuntu0.1_amd64.deb …
Unpacking libcairo2-dev:amd64 (1.15.10-2ubuntu0.1) …
Selecting previously unselected package libgdk-pixbuf2.0-dev.
Preparing to unpack …/38-libgdk-pixbuf2.0-dev_2.36.11-2_amd64.deb …
Unpacking libgdk-pixbuf2.0-dev (2.36.11-2) …
Selecting previously unselected package libgraphite2-dev:amd64.
Preparing to unpack …/39-libgraphite2-dev_1.3.11-2_amd64.deb …
Unpacking libgraphite2-dev:amd64 (1.3.11-2) …
Selecting previously unselected package libharfbuzz-gobject0:amd64.
Preparing to unpack …/40-libharfbuzz-gobject0_1.7.2-1ubuntu1_amd64.deb …
Unpacking libharfbuzz-gobject0:amd64 (1.7.2-1ubuntu1) …
Selecting previously unselected package libicu-le-hb0:amd64.
Preparing to unpack …/41-libicu-le-hb0_1.0.3+git161113-4_amd64.deb …
Unpacking libicu-le-hb0:amd64 (1.0.3+git161113-4) …
Selecting previously unselected package libiculx60:amd64.
Preparing to unpack …/42-libiculx60_60.2-3ubuntu3.1_amd64.deb …
Unpacking libiculx60:amd64 (60.2-3ubuntu3.1) …
Selecting previously unselected package libicu-le-hb-dev:amd64.
Preparing to unpack …/43-libicu-le-hb-dev_1.0.3+git161113-4_amd64.deb …
Unpacking libicu-le-hb-dev:amd64 (1.0.3+git161113-4) …
Selecting previously unselected package libicu-dev.
Preparing to unpack …/44-libicu-dev_60.2-3ubuntu3.1_amd64.deb …
Unpacking libicu-dev (60.2-3ubuntu3.1) …
Selecting previously unselected package libharfbuzz-dev:amd64.
Preparing to unpack …/45-libharfbuzz-dev_1.7.2-1ubuntu1_amd64.deb …
Unpacking libharfbuzz-dev:amd64 (1.7.2-1ubuntu1) …
Selecting previously unselected package libxft-dev.
Preparing to unpack …/46-libxft-dev_2.3.2-1_amd64.deb …
Unpacking libxft-dev (2.3.2-1) …
Selecting previously unselected package libpango1.0-dev.
Preparing to unpack …/47-libpango1.0-dev_1.40.14-1ubuntu0.1_amd64.deb …
Unpacking libpango1.0-dev (1.40.14-1ubuntu0.1) …
Selecting previously unselected package x11proto-xinerama-dev.
Preparing to unpack …/48-x11proto-xinerama-dev_2018.4-4_all.deb …
Unpacking x11proto-xinerama-dev (2018.4-4) …
Selecting previously unselected package libxinerama-dev:amd64.
Preparing to unpack …/49-libxinerama-dev_2%3a1.1.3-1_amd64.deb …
Unpacking libxinerama-dev:amd64 (2:1.1.3-1) …
Selecting previously unselected package x11proto-fixes-dev.
Preparing to unpack …/50-x11proto-fixes-dev_1%3a2018.4-4_all.deb …
Unpacking x11proto-fixes-dev (1:2018.4-4) …
Selecting previously unselected package libxfixes-dev:amd64.
Preparing to unpack …/51-libxfixes-dev_1%3a5.0.3-1_amd64.deb …
Unpacking libxfixes-dev:amd64 (1:5.0.3-1) …
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack …/52-x11proto-input-dev_2018.4-4_all.deb …
Unpacking x11proto-input-dev (2018.4-4) …
Selecting previously unselected package libxi-dev:amd64.
Preparing to unpack …/53-libxi-dev_2%3a1.7.9-1_amd64.deb …
Unpacking libxi-dev:amd64 (2:1.7.9-1) …
Selecting previously unselected package x11proto-randr-dev.
Preparing to unpack …/54-x11proto-randr-dev_2018.4-4_all.deb …
Unpacking x11proto-randr-dev (2018.4-4) …
Selecting previously unselected package libxrandr-dev:amd64.
Preparing to unpack …/55-libxrandr-dev_2%3a1.5.1-1_amd64.deb …
Unpacking libxrandr-dev:amd64 (2:1.5.1-1) …
Selecting previously unselected package libxcursor-dev:amd64.
Preparing to unpack …/56-libxcursor-dev_1%3a1.1.15-1_amd64.deb …
Unpacking libxcursor-dev:amd64 (1:1.1.15-1) …
Selecting previously unselected package x11proto-composite-dev.
Preparing to unpack …/57-x11proto-composite-dev_1%3a2018.4-4_all.deb …
Unpacking x11proto-composite-dev (1:2018.4-4) …
Selecting previously unselected package libxcomposite-dev:amd64.
Preparing to unpack …/58-libxcomposite-dev_1%3a0.4.4-2_amd64.deb …
Unpacking libxcomposite-dev:amd64 (1:0.4.4-2) …
Selecting previously unselected package x11proto-damage-dev.
Preparing to unpack …/59-x11proto-damage-dev_1%3a2018.4-4_all.deb …
Unpacking x11proto-damage-dev (1:2018.4-4) …
Selecting previously unselected package libxdamage-dev:amd64.
Preparing to unpack …/60-libxdamage-dev_1%3a1.1.4-3_amd64.deb …
Unpacking libxdamage-dev:amd64 (1:1.1.4-3) …
Selecting previously unselected package libxml2-utils.
Preparing to unpack …/61-libxml2-utils_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb …
Unpacking libxml2-utils (2.9.4+dfsg1-6.1ubuntu1.3) …
Selecting previously unselected package libgtk2.0-dev.
Preparing to unpack …/62-libgtk2.0-dev_2.24.32-1ubuntu1_amd64.deb …
Unpacking libgtk2.0-dev (2.24.32-1ubuntu1) …
Selecting previously unselected package libltdl-dev:amd64.
Preparing to unpack …/63-libltdl-dev_2.4.6-2_amd64.deb …
Unpacking libltdl-dev:amd64 (2.4.6-2) …
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack …/64-libsys-hostname-long-perl_1.5-1_all.deb …
Unpacking libsys-hostname-long-perl (1.5-1) …
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack …/65-libmail-sendmail-perl_0.80-1_all.deb …
Unpacking libmail-sendmail-perl (0.80-1) …
Selecting previously unselected package libpng-tools.
Preparing to unpack …/66-libpng-tools_1.6.34-1ubuntu0.18.04.2_amd64.deb …
Unpacking libpng-tools (1.6.34-1ubuntu0.18.04.2) …
Setting up gir1.2-gtk-2.0 (2.24.32-1ubuntu1) …
Setting up libicu60:amd64 (60.2-3ubuntu3.1) …
Setting up libltdl-dev:amd64 (2.4.6-2) …
Setting up po-debconf (1.0.20) …
Setting up libcairo-script-interpreter2:amd64 (1.15.10-2ubuntu0.1) …
Setting up libpng-tools (1.6.34-1ubuntu0.18.04.2) …
Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) …
Setting up x11proto-fixes-dev (1:2018.4-4) …
Setting up libicu-le-hb0:amd64 (1.0.3+git161113-4) …
Setting up libxcb-shm0-dev:amd64 (1.13-2~ubuntu18.04) …
Setting up libxml2-utils (2.9.4+dfsg1-6.1ubuntu1.3) …
Setting up libarchive-cpio-perl (0.10-1) …
Setting up libxrender-dev:amd64 (1:0.9.10-1) …
Setting up m4 (1.4.18-1) …
Setting up libxcb-render0-dev:amd64 (1.13-2~ubuntu18.04) …
Setting up libsys-hostname-long-perl (1.5-1) …
Setting up x11proto-damage-dev (1:2018.4-4) …
Setting up pkg-config (0.29.1-0ubuntu2) …
Setting up x11proto-xext-dev (2018.4-4) …
Setting up libmail-sendmail-perl (0.80-1) …
Setting up gir1.2-harfbuzz-0.0:amd64 (1.7.2-1ubuntu1) …
Setting up x11proto-xinerama-dev (2018.4-4) …
Setting up autotools-dev (20180224.1) …
Setting up libpixman-1-dev:amd64 (0.34.0-2) …
Setting up libxext-dev:amd64 (2:1.3.3-1) …
Setting up x11proto-randr-dev (2018.4-4) …
Setting up libxinerama-dev:amd64 (2:1.1.3-1) …
Setting up libiculx60:amd64 (60.2-3ubuntu3.1) …
Setting up libpcrecpp0v5:amd64 (2:8.39-9) …
Setting up libpcre32-3:amd64 (2:8.39-9) …
Setting up icu-devtools (60.2-3ubuntu3.1) …
Setting up libpcre16-3:amd64 (2:8.39-9) …
Setting up libxfixes-dev:amd64 (1:5.0.3-1) …
Setting up libglib2.0-bin (2.56.4-0ubuntu0.18.04.6) …
Setting up libgraphite2-dev:amd64 (1.3.11-2) …
Setting up x11proto-input-dev (2018.4-4) …
Setting up libharfbuzz-gobject0:amd64 (1.7.2-1ubuntu1) …
Setting up x11proto-composite-dev (1:2018.4-4) …
Setting up autopoint (0.19.8.1-6ubuntu0.3) …
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) …
Setting up libfile-stripnondeterminism-perl (0.040-1.1~build1) …
Setting up libtool (2.4.6-2) …
Setting up libxcursor-dev:amd64 (1:1.1.15-1) …
Setting up libpcre3-dev:amd64 (2:8.39-9) …
Setting up libxrandr-dev:amd64 (2:1.5.1-1) …
Setting up libglib2.0-dev-bin (2.56.4-0ubuntu0.18.04.6) …
Setting up libxcomposite-dev:amd64 (1:0.4.4-2) …
Setting up libxdamage-dev:amd64 (1:1.1.4-3) …
Setting up autoconf (2.69-11) …
Setting up libglib2.0-dev:amd64 (2.56.4-0ubuntu0.18.04.6) …
Setting up automake (1:1.15.1-3ubuntu2) …
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libxi-dev:amd64 (2:1.7.9-1) …
Setting up libpng-dev:amd64 (1.6.34-1ubuntu0.18.04.2) …
Setting up libatk1.0-dev:amd64 (2.28.1-1) …
Setting up libgdk-pixbuf2.0-dev (2.36.11-2) …
Setting up libfreetype6-dev:amd64 (2.8.1-2ubuntu2) …
Setting up libfontconfig1-dev:amd64 (2.12.6-0ubuntu2) …
Setting up libcairo2-dev:amd64 (1.15.10-2ubuntu0.1) …
Setting up libxft-dev (2.3.2-1) …
Setting up dh-autoreconf (17) …
Setting up libicu-le-hb-dev:amd64 (1.0.3+git161113-4) …
Setting up libicu-dev (60.2-3ubuntu3.1) …
Setting up libharfbuzz-dev:amd64 (1.7.2-1ubuntu1) …
Setting up debhelper (11.1.6ubuntu2) …
Setting up dh-strip-nondeterminism (0.040-1.1~build1) …
Setting up libpango1.0-dev (1.40.14-1ubuntu0.1) …
Setting up libgtk2.0-dev (2.24.32-1ubuntu1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Processing triggers for install-info (6.5.0.dfsg.1-2) …

Now the problem is solved.