perl: warning: Please check that your locale settings:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_HK:en",
        LC_ALL = (unset),
        LANG = "en_HK.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package iputils-ping.
(Reading database ... 11042 files and directories currently installed.)
Preparing to unpack .../iputils-ping_3%3a20161105-1ubuntu2_arm64.deb ...
Unpacking iputils-ping (3:20161105-1ubuntu2) ...
Setting up iputils-ping (3:20161105-1ubuntu2) ...
root@ubuntu:/# echo "export LC_ALL=C" >> /root/.bashrc
root@ubuntu:/# source /root/.bashrc
root@ubuntu:/# apt-get -y install ping
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'iputils-ping' instead of 'ping'
iputils-ping is already the newest version (3:20161105-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:/# apt-get -y install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libglib2.0-0 libglib2.0-data libicu60 libxml2 shared-mime-info xdg-user-dirs
The following NEW packages will be installed:
  libglib2.0-0 libglib2.0-data libicu60 libxml2 pkg-config shared-mime-info xdg-user-dirs
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 40.6 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libglib2.0-0 arm64 2.56.1-2ubuntu1 [981 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libglib2.0-data all 2.56.1-2ubuntu1 [4220 B]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libicu60 arm64 60.2-3ubuntu3 [7985 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libxml2 arm64 2.9.4+dfsg1-6.1ubuntu1 [547 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 shared-mime-info arm64 1.9-2 [423 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 xdg-user-dirs arm64 0.17-1ubuntu1 [47.0 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 pkg-config arm64 0.29.1-0ubuntu2 [42.8 kB]
Fetched 10.0 MB in 3s (3781 kB/s)     
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libglib2.0-0:arm64.
(Reading database ... 11054 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.56.1-2ubuntu1_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.56.1-2ubuntu1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.56.1-2ubuntu1_all.deb ...
Unpacking libglib2.0-data (2.56.1-2ubuntu1) ...
Selecting previously unselected package libicu60:arm64.
Preparing to unpack .../2-libicu60_60.2-3ubuntu3_arm64.deb ...
Unpacking libicu60:arm64 (60.2-3ubuntu3) ...
Selecting previously unselected package libxml2:arm64.
Preparing to unpack .../3-libxml2_2.9.4+dfsg1-6.1ubuntu1_arm64.deb ...
Unpacking libxml2:arm64 (2.9.4+dfsg1-6.1ubuntu1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../4-shared-mime-info_1.9-2_arm64.deb ...
Unpacking shared-mime-info (1.9-2) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../5-xdg-user-dirs_0.17-1ubuntu1_arm64.deb ...
Unpacking xdg-user-dirs (0.17-1ubuntu1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../6-pkg-config_0.29.1-0ubuntu2_arm64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu2) ...
Setting up libicu60:arm64 (60.2-3ubuntu3) ...
Setting up libglib2.0-0:arm64 (2.56.1-2ubuntu1) ...
No schema files found: doing nothing.
Setting up libxml2:arm64 (2.9.4+dfsg1-6.1ubuntu1) ...
Setting up pkg-config (0.29.1-0ubuntu2) ...
Setting up libglib2.0-data (2.56.1-2ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up shared-mime-info (1.9-2) ...
Setting up xdg-user-dirs (0.17-1ubuntu1) ...
原文地址:https://www.cnblogs.com/dream397/p/14052167.html