基于StatefulSet控制器运行Redis Cluster
redis集群架构
一、准备centos基础镜像
1.1、准备构建centos7镜像文件
[root@easzlab-images centos]# ll -h total 32M drwxr-xr-x 2 root root 4.0K Aug 17 15:05 ./ drwx------ 9 root root 4.0K Aug 18 01:11 ../ -rwxr-xr-x 1 root root 336 Aug 6 13:00 build-command.sh* -rw-r--r-- 1 root root 170 Aug 17 15:05 Dockerfile -rw-r--r-- 1 root root 32M May 18 2021 filebeat-7.12.1-x86_64.rpm [root@easzlab-images centos]# [root@easzlab-images centos]# cat Dockerfile #自定义Centos 基础镜像 FROM centos:7.9.2009 ADD filebeat-7.12.1-x86_64.rpm /tmp RUN yum install -y tree net-tools lrzsz [root@easzlab-images centos]# [root@easzlab-images centos]# cat build-command.sh #!/bin/bash /usr/local/bin/nerdctl build -t harbor.magedu.net/baseimages/magedu-centos-base:7.9.2009 . /usr/local/bin/nerdctl push harbor.magedu.net/baseimages/magedu-centos-base:7.9.2009 [root@easzlab-images centos]#
1.2、构建centos7镜像
二、创建redis镜像
2.1、准备redis镜像文件
[root@easzlab-images-02 redis]# ll -h total 33M drwxr-xr-x 2 root root 4.0K Aug 20 02:58 ./ drwxrwxr-x 11 root root 4.0K Aug 20 06:34 ../ -rwxr-xr-x 1 root root 129 Aug 19 15:53 build-command.sh* -rw-r--r-- 1 root root 896 Aug 20 02:58 Dockerfile -rw-r--r-- 1 root root 32M Aug 20 02:57 filebeat-7.12.1-x86_64.rpm -rw-r--r-- 1 root root 1.7M Aug 19 15:53 redis-4.0.14.tar.gz -rw-r--r-- 1 root root 58K Aug 19 15:53 redis.conf -rwxr-xr-x 1 root root 85 Aug 19 15:53 run_redis.sh* [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# cat build-command.sh #!/bin/bash TAG=$1 nerdctl build -t harbor.magedu.net/magedu/redis:${TAG} . nerdctl push harbor.magedu.net/magedu/redis:${TAG} [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# cat Dockerfile FROM harbor.magedu.net/baseimages/magedu-centos-base:7.9.2009 ADD filebeat-7.12.1-x86_64.rpm /tmp RUN yum install -y /tmp/filebeat-7.12.1-x86_64.rpm vim wget tree lrzsz gcc gcc-c++ automake pcre pcre-devel zlib zlib-devel openssl openssl-devel iproute net-tools iotop && rm -rf /etc/localtime /tmp/filebeat-7.12.1-x86_64.rpm && ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && useradd nginx -u 2088 #Redis Image ADD redis-4.0.14.tar.gz /usr/local/src RUN ln -sv /usr/local/src/redis-4.0.14 /usr/local/redis && cd /usr/local/redis && make && cp src/redis-cli /usr/sbin/ && cp src/redis-server /usr/sbin/ && mkdir -pv /data/redis-data ADD redis.conf /usr/local/redis/redis.conf EXPOSE 6379
ADD run_redis.sh /usr/local/redis/entrypoint.sh ENTRYPOINT ["/usr/local/redis/entrypoint.sh"] [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# egrep -v '^$|^#' redis.conf bind 0.0.0.0 protected-mode yes port 6379 tcp-backlog 511 timeout 0 tcp-keepalive 300 daemonize yes supervised no pidfile /var/run/redis_6379.pid loglevel notice logfile "" databases 16 always-show-logo yes save 900 1 save 5 1 save 300 10 save 60 10000 stop-writes-on-bgsave-error no rdbcompression yes rdbchecksum yes dbfilename dump.rdb dir /data/redis-data slave-serve-stale-data yes slave-read-only yes repl-diskless-sync no repl-diskless-sync-delay 5 repl-disable-tcp-nodelay no slave-priority 100 requirepass 123456 lazyfree-lazy-eviction no lazyfree-lazy-expire no lazyfree-lazy-server-del no slave-lazy-flush no appendonly no appendfilename "appendonly.aof" appendfsync everysec no-appendfsync-on-rewrite no auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb aof-load-truncated yes aof-use-rdb-preamble no lua-time-limit 5000 slowlog-log-slower-than 10000 slowlog-max-len 128 latency-monitor-threshold 0 notify-keyspace-events "" hash-max-ziplist-entries 512 hash-max-ziplist-value 64 list-max-ziplist-size -2 list-compress-depth 0 set-max-intset-entries 512 zset-max-ziplist-entries 128 zset-max-ziplist-value 64 hll-sparse-max-bytes 3000 activerehashing yes client-output-buffer-limit normal 0 0 0 client-output-buffer-limit slave 256mb 64mb 60 client-output-buffer-limit pubsub 32mb 8mb 60 hz 10 aof-rewrite-incremental-fsync yes [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# [root@easzlab-images-02 redis]# cat run_redis.sh #!/bin/bash /usr/sbin/redis-server /usr/local/redis/redis.conf tail -f /etc/hosts [root@easzlab-images-02 redis]#
2.2、构建redis镜像
2.3、检查是否成功上传
2.4、测试镜像
2.5、准备redis压测脚本
[root@easzlab-images-02 ~]# cat redis_cli.py #!/usr/bin/env python #coding:utf-8 #Author:cyh import redis import time pool = redis.ConnectionPool(host="172.16.88.172", port=6379,db=0,password="123456") r = redis.Redis(connection_pool=pool) for i in range(200): r.set("key%s" % i,"value-n70%s"% i) #time.sleep(0.1) data=r.get("key%s" % i) print(data) [root@easzlab-images-02 ~]#
2.5.1、安装redis_cli.py运行所需环境
apt-get install python apt install python3-pip pip install redis 执行redis_cli.py测试数据写入 python redis_cli.py
执行redis_cli.py脚本运行详情
[root@easzlab-images-02 ~]# cd /usr/bin/ [root@easzlab-images-02 bin]# rm -fr python [root@easzlab-images-02 bin]# [root@easzlab-images-02 bin]# ln -s /usr/bin/python3.8 python [root@easzlab-images-02 bin]# ll -h python* lrwxrwxrwx 1 root root 18 Aug 20 06:46 python -> /usr/bin/python3.8* lrwxrwxrwx 1 root root 9 Mar 13 2020 python2 -> python2.7* -rwxr-xr-x 1 root root 3.5M Jul 1 12:27 python2.7* lrwxrwxrwx 1 root root 9 Mar 13 2020 python3 -> python3.8* -rwxr-xr-x 1 root root 5.3M Jun 22 20:18 python3.8* lrwxrwxrwx 1 root root 33 Jun 22 20:18 python3.8-config -> x86_64-linux-gnu-python3.8-config* lrwxrwxrwx 1 root root 16 Mar 13 2020 python3-config -> python3.8-config* [root@easzlab-images-02 bin]# cd [root@easzlab-images-02 ~]# python redis_cli.py b'value-n700' b'value-n701' b'value-n702' b'value-n703' b'value-n704' b'value-n705' b'value-n706' b'value-n707' b'value-n708' b'value-n709' b'value-n7010' b'value-n7011' b'value-n7012' b'value-n7013' b'value-n7014' b'value-n7015' b'value-n7016' b'value-n7017' b'value-n7018' b'value-n7019' b'value-n7020' b'value-n7021' b'value-n7022' b'value-n7023' b'value-n7024' b'value-n7025' b'value-n7026' b'value-n7027' b'value-n7028' b'value-n7029' b'value-n7030' b'value-n7031' b'value-n7032' b'value-n7033' b'value-n7034' b'value-n7035' b'value-n7036' b'value-n7037' b'value-n7038' b'value-n7039' b'value-n7040' b'value-n7041' b'value-n7042' b'value-n7043' b'value-n7044' b'value-n7045' b'value-n7046' b'value-n7047' b'value-n7048' b'value-n7049' b'value-n7050' b'value-n7051' b'value-n7052' b'value-n7053' b'value-n7054' b'value-n7055' b'value-n7056' b'value-n7057' b'value-n7058' b'value-n7059' b'value-n7060' b'value-n7061' b'value-n7062' b'value-n7063' b'value-n7064' b'value-n7065' b'value-n7066' b'value-n7067' b'value-n7068' b'value-n7069' b'value-n7070' b'value-n7071' b'value-n7072' b'value-n7073' b'value-n7074' b'value-n7075' b'value-n7076' b'value-n7077' b'value-n7078' b'value-n7079' b'value-n7080' b'value-n7081' b'value-n7082' b'value-n7083' b'value-n7084' b'value-n7085' b'value-n7086' b'value-n7087' b'value-n7088' b'value-n7089' b'value-n7090' b'value-n7091' b'value-n7092' b'value-n7093' b'value-n7094' b'value-n7095' b'value-n7096' b'value-n7097' b'value-n7098' b'value-n7099' b'value-n70100' b'value-n70101' b'value-n70102' b'value-n70103' b'value-n70104' b'value-n70105' b'value-n70106' b'value-n70107' b'value-n70108' b'value-n70109' b'value-n70110' b'value-n70111' b'value-n70112' b'value-n70113' b'value-n70114' b'value-n70115' b'value-n70116' b'value-n70117' b'value-n70118' b'value-n70119' b'value-n70120' b'value-n70121' b'value-n70122' b'value-n70123' b'value-n70124' b'value-n70125' b'value-n70126' b'value-n70127' b'value-n70128' b'value-n70129' b'value-n70130' b'value-n70131' b'value-n70132' b'value-n70133' b'value-n70134' b'value-n70135' b'value-n70136' b'value-n70137' b'value-n70138' b'value-n70139' b'value-n70140' b'value-n70141' b'value-n70142' b'value-n70143' b'value-n70144' b'value-n70145' b'value-n70146' b'value-n70147' b'value-n70148' b'value-n70149' b'value-n70150' b'value-n70151' b'value-n70152' b'value-n70153' b'value-n70154' b'value-n70155' b'value-n70156' b'value-n70157' b'value-n70158' b'value-n70159' b'value-n70160' b'value-n70161' b'value-n70162' b'value-n70163' b'value-n70164' b'value-n70165' b'value-n70166' b'value-n70167' b'value-n70168' b'value-n70169' b'value-n70170' b'value-n70171' b'value-n70172' b'value-n70173' b'value-n70174' b'value-n70175' b'value-n70176' b'value-n70177' b'value-n70178' b'value-n70179' b'value-n70180' b'value-n70181' b'value-n70182' b'value-n70183' b'value-n70184' b'value-n70185' b'value-n70186' b'value-n70187' b'value-n70188' b'value-n70189' b'value-n70190' b'value-n70191' b'value-n70192' b'value-n70193' b'value-n70194' b'value-n70195' b'value-n70196' b'value-n70197' b'value-n70198' b'value-n70199' [root@easzlab-images-02 ~]#
2.5.2、测试是否写成功
三、基于StatefulSet控制器运行Redis Cluster
3.1、配置redis nfs静态目录
mkdir -pv /nfs_share/k8sdata/magedu/redis{0..5}
3.2、创建redis集群pv
root@easzlab-deploy:~/redis-cluster/pv# cat redis-cluster-pv.yaml apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv0 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis0 --- apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv1 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis1 --- apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv2 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis2 --- apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv3 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis3 --- apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv4 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis4 --- apiVersion: v1 kind: PersistentVolume metadata: name: redis-cluster-pv5 spec: capacity: storage: 5Gi accessModes: - ReadWriteOnce nfs: server: 172.16.88.169 path: /nfs_share/k8sdata/magedu/redis5 root@easzlab-deploy:~/redis-cluster/pv#
3.3、安装redis集群
3.3.1、将redis.conf 文件存放到configmap中
使用kubectl get configmaps -o yaml -n magedu命令查看创建的redis configmap详情
root@easzlab-deploy:~/redis-cluster# kubectl get configmaps -o yaml -n magedu apiVersion: v1 items: - apiVersion: v1 data: ca.crt: | -----BEGIN CERTIFICATE----- MIIDlDCCAnygAwIBAgIUbTJj7btX+/MOd3f7rxyTynvhdkYwDQYJKoZIhvcNAQEL BQAwYTELMAkGA1UEBhMCQ04xETAPBgNVBAgTCEhhbmdaaG91MQswCQYDVQQHEwJY UzEMMAoGA1UEChMDazhzMQ8wDQYDVQQLEwZTeXN0ZW0xEzARBgNVBAMTCmt1YmVy bmV0ZXMwIBcNMjIwNzI2MTUxNDAwWhgPMjEyMjA3MDIxNTE0MDBaMGExCzAJBgNV BAYTAkNOMREwDwYDVQQIEwhIYW5nWmhvdTELMAkGA1UEBxMCWFMxDDAKBgNVBAoT A2s4czEPMA0GA1UECxMGU3lzdGVtMRMwEQYDVQQDEwprdWJlcm5ldGVzMIIBIjAN BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAueJJv8HeO4fIFo0HTZpLD5GS3e1K +gvIa5C/hUmDl9ywIqnbhb/qBnQmpiGpilDOXnFmd2oLNyHcJF8Ytg7fP8HTx65B BsqxtQZ8opZO4cqdfLQzAAfWFpWhyQPgFkyP4wscwMMXZbX1yhxopyNjOA5dlI6J a8LFFErQrp2CrP7ihXbmmn0k+fH6ySOQLb3fVf8oKjHjyI/y4m8vGfuVr7b1TcbG yPk2CnZID1XmfVbS29DRyJG1yqO/jA1FWCJxc8NqfXAJKwT+n1L0l+FlgUsK/rSw fBqu+EXMHtGi0T2HYigpex4bzSDeAbSpvhvAl6SMhGhoZ3GPmHq8Q7GM5wIDAQAB o0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU XNWMG3vAmEmNOcfDkE1EQLhthrAwDQYJKoZIhvcNAQELBQADggEBABnNN1vUROOg amYMdiKM/ZoYg8Js1cqB9zZ7Lw/l4PfS3Kdnp0JucMq3naEukTdiFEspgxIUBuJ8 94OhNNMDLyY1QHUea/7khP84ebtp/f0q7WLrI/PnNQBMFlv/bOinzUx6hFf/04SD UfDjTA1TCrcFD4pi0LHCWXM1IMIG9SDKtiveYrTqM3qJuVm8odklPaagMk5/UJss wl+Jkk3oIDbT0HtEYTnZ+W9qVqjqDXFZJv/3rDZmsEFpyNIBjXcaEwgxddTRw4Pr GalkhW78Jn+8Svxe+VB1g88mYj9a0wqy5JkC+3UH9gNwaO3/1xGTD09FgGeoE8vL wI6kQsJ4HYA= -----END CERTIFICATE----- kind: ConfigMap metadata: annotations: kubernetes.io/description: Contains a CA bundle that can be used to verify the kube-apiserver when using internal endpoints such as the internal service IP or kubernetes.default.svc. No other usage is guaranteed across distributions of Kubernetes clusters. creationTimestamp: "2022-08-20T07:28:22Z" name: kube-root-ca.crt namespace: magedu resourceVersion: "4189387" uid: 133a97e4-46b5-4eae-a9cb-7f4d5701c0e4 - apiVersion: v1 data: redis.conf: | appendonly yes cluster-enabled yes cluster-config-file /var/lib/redis/nodes.conf cluster-node-timeout 5000 dir /var/lib/redis port 6379 kind: ConfigMap metadata: creationTimestamp: "2022-08-20T15:25:38Z" name: redis-conf namespace: magedu resourceVersion: "4266424" uid: 98eb3ad1-f5ef-4574-a8c5-5e43cc760f2b kind: List metadata: resourceVersion: "" root@easzlab-deploy:~/redis-cluster#
3.3.2、创建StatefulSet控制器
root@easzlab-deploy:~/redis-cluster# cat redis.yaml apiVersion: v1 kind: Service metadata: name: redis namespace: magedu labels: app: redis spec: selector: app: redis appCluster: redis-cluster ports: - name: redis port: 6379 clusterIP: None --- apiVersion: v1 kind: Service metadata: name: redis-access namespace: magedu labels: app: redis spec: selector: app: redis appCluster: redis-cluster ports: - name: redis-access protocol: TCP port: 6379 targetPort: 6379 --- apiVersion: apps/v1 kind: StatefulSet metadata: name: redis namespace: magedu spec: serviceName: redis replicas: 6 selector: matchLabels: app: redis appCluster: redis-cluster template: metadata: labels: app: redis appCluster: redis-cluster spec: terminationGracePeriodSeconds: 20 affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchExpressions: - key: app operator: In values: - redis topologyKey: kubernetes.io/hostname containers: - name: redis image: harbor.magedu.net/magedu/redis:v4.0.14 command: - "redis-server" args: - "/etc/redis/redis.conf" - "--protected-mode" - "no" resources: requests: cpu: "500m" memory: "500Mi" ports: - containerPort: 6379 name: redis protocol: TCP - containerPort: 16379 name: cluster protocol: TCP volumeMounts: - name: conf mountPath: /etc/redis - name: data mountPath: /var/lib/redis volumes: - name: conf configMap: name: redis-conf items: - key: redis.conf path: redis.conf volumeClaimTemplates: - metadata: name: data namespace: magedu spec: accessModes: [ "ReadWriteOnce" ] resources: requests: storage: 5Gi root@easzlab-deploy:~/redis-cluster#
3.3.3、创建redis集群
3.3.4、对redis集群进行初始化
注意:redis4及之前的版本需要使用redis-tribe工具进行初始化,redis5开始用redis-cli
kubectl run -it ubuntu1804 --image=ubuntu:18.04 --restart=Never -n magedu bash
apt install python2.7 python-pip redis-tools dnsutils iputils-ping net-tools
pip install --upgrade pip
pip install redis-trib==0.5.1
操作详细过程:
root@easzlab-deploy:~/redis-cluster# root@easzlab-deploy:~/redis-cluster# kubectl run -it ubuntu1804 --image=ubuntu:18.04 --restart=Never -n magedu bash If you don't see a command prompt, try pressing enter. root@ubuntu1804:/# root@ubuntu1804:/# apt update Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [22.8 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2937 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1100 kB] Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1533 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3369 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2311 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1141 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [29.9 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [12.9 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [12.2 kB] Fetched 25.8 MB in 11s (2285 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 21 packages can be upgraded. Run 'apt list --upgradable' to see them. root@ubuntu1804:/# apt install python2.7 python-pip redis-tools dnsutils iputils-ping net-tools Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: bind9-host binutils binutils-common binutils-x86-64-linux-gnu build-essential ca-certificates cpp cpp-7 dbus dirmngr dpkg-dev fakeroot file g++ g++-7 gcc gcc-7 gcc-7-base geoip-database gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libapparmor1 libasan4 libasn1-8-heimdal libassuan0 libatomic1 libbind9-160 libbinutils libc-dev-bin libc6 libc6-dev libcap2 libcap2-bin libcc1-0 libcilkrts5 libdbus-1-3 libdns1100 libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-7-dev libgdbm-compat4 libgdbm5 libgeoip1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu60 libidn11 libirs160 libisc169 libisccc160 libisccfg160 libisl19 libitm1 libjemalloc1 libjson-c3 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblsan0 liblwres160 libmagic-mgc libmagic1 libmpc3 libmpfr6 libmpx2 libnpth0 libpam-cap libperl5.26 libpython-all-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libquadmath0 libreadline7 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libstdc++-7-dev libtsan0 libubsan0 libwind0-heimdal libxml2 linux-libc-dev make manpages manpages-dev mime-support netbase openssl patch perl perl-modules-5.26 pinentry-curses python python-all python-all-dev python-asn1crypto python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-minimal python-pip-whl python-pkg-resources python-secretstorage python-setuptools python-six python-wheel python-xdg python2.7-dev python2.7-minimal readline-common shared-mime-info xdg-user-dirs xz-utils Suggested packages: binutils-doc cpp-doc gcc-7-locales default-dbus-session-bus | dbus-session-bus dbus-user-session libpam-systemd pinentry-gnome3 tor rblcheck 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 parcimonie xloadimage scdaemon glibc-doc locales git bzr gdbm-l10n geoip-bin krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql libstdc++-7-doc make-doc man-browser ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl pinentry-doc python-doc python-tk python-crypto-doc python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs python-gdata python-keyczar python-secretstorage-doc python-setuptools-doc python2.7-doc binfmt-support readline-doc ruby-redis The following NEW packages will be installed: bind9-host binutils binutils-common binutils-x86-64-linux-gnu build-essential ca-certificates cpp cpp-7 dbus dirmngr dnsutils dpkg-dev fakeroot file g++ g++-7 gcc gcc-7 gcc-7-base geoip-database gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm iputils-ping krb5-locales libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libapparmor1 libasan4 libasn1-8-heimdal libassuan0 libatomic1 libbind9-160 libbinutils libc-dev-bin libc6-dev libcap2 libcap2-bin libcc1-0 libcilkrts5 libdbus-1-3 libdns1100 libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-7-dev libgdbm-compat4 libgdbm5 libgeoip1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu60 libidn11 libirs160 libisc169 libisccc160 libisccfg160 libisl19 libitm1 libjemalloc1 libjson-c3 libk5crypto3 libkeyutils1 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblsan0 liblwres160 libmagic-mgc libmagic1 libmpc3 libmpfr6 libmpx2 libnpth0 libpam-cap libperl5.26 libpython-all-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libquadmath0 libreadline7 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libstdc++-7-dev libtsan0 libubsan0 libwind0-heimdal libxml2 linux-libc-dev make manpages manpages-dev mime-support net-tools netbase openssl patch perl perl-modules-5.26 pinentry-curses python python-all python-all-dev python-asn1crypto python-cffi-backend python-crypto python-cryptography python-dbus python-dev python-enum34 python-gi python-idna python-ipaddress python-keyring python-keyrings.alt python-minimal python-pip python-pip-whl python-pkg-resources python-secretstorage python-setuptools python-six python-wheel python-xdg python2.7 python2.7-dev python2.7-minimal readline-common redis-tools shared-mime-info xdg-user-dirs xz-utils The following packages will be upgraded: gpgv libc6 2 upgraded, 162 newly installed, 0 to remove and 19 not upgraded. Need to get 114 MB of archives. After this operation, 372 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.6 [2831 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblocale-gettext-perl amd64 1.07-3build2 [16.6 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1.8 [336 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1.8 [1289 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1~18.04.20 [1302 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 mime-support all 3.60ubuntu1 [30.1 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.7 [82.6 kB] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 readline-common all 7.0-3 [52.9 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 libreadline7 amd64 7.0-3 [124 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsqlite3-0 amd64 3.22.0-1ubuntu0.5 [499 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1.8 [1916 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1.8 [248 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7620 B] Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgv amd64 2.2.4-1ubuntu1.6 [198 kB] Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssl amd64 1.1.1-1ubuntu2.1~18.04.20 [614 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ca-certificates all 20211016~18.04.1 [144 kB] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libapparmor1 amd64 2.12-4ubuntu5.1 [31.3 kB] Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdbus-1-3 amd64 1.12.2-1ubuntu1.3 [175 kB] Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dbus amd64 1.12.2-1ubuntu1.3 [150 kB] Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.4 [184 kB] Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.4 [68.6 kB] Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.4 [22.1 kB] Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-0 amd64 2.56.4-0ubuntu0.18.04.9 [1169 kB] Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgirepository-1.0-1 amd64 1.56.1-1 [82.0 kB] Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-glib-2.0 amd64 1.56.1-1 [131 kB] Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcap2 amd64 1:2.25-1.2 [13.0 kB] Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libidn11 amd64 1.33-2.1ubuntu1.2 [46.6 kB] Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 iputils-ping amd64 3:20161105-1ubuntu3 [54.2 kB] Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcap2-bin amd64 1:2.25-1.2 [20.6 kB] Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-data all 2.56.4-0ubuntu0.18.04.9 [4728 B] Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libicu60 amd64 60.2-3ubuntu3.2 [8050 kB] Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libjson-c3 amd64 0.12.1-1.3ubuntu0.3 [21.7 kB] Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpam-cap amd64 1:2.25-1.2 [7268 B] Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1ubuntu1.7 [663 kB] Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 shared-mime-info amd64 1.9-2 [426 kB] Get:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 xdg-user-dirs amd64 0.17-1ubuntu1 [48.0 kB] Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 xz-utils amd64 5.2.2-1.3ubuntu0.1 [83.8 kB] Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libisc169 amd64 1:9.11.3+dfsg-1ubuntu1.17 [237 kB] Get:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgeoip1 amd64 1.6.12-1 [71.8 kB] Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5support0 amd64 1.16-2ubuntu0.2 [30.8 kB] Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libk5crypto3 amd64 1.16-2ubuntu0.2 [85.5 kB] Get:50 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkeyutils1 amd64 1.5.9-9.2ubuntu2.1 [8764 B] Get:51 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libkrb5-3 amd64 1.16-2ubuntu0.2 [279 kB] Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgssapi-krb5-2 amd64 1.16-2ubuntu0.2 [122 kB] Get:53 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdns1100 amd64 1:9.11.3+dfsg-1ubuntu1.17 [959 kB] Get:54 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libisccc160 amd64 1:9.11.3+dfsg-1ubuntu1.17 [17.9 kB] Get:55 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libisccfg160 amd64 1:9.11.3+dfsg-1ubuntu1.17 [48.4 kB] Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbind9-160 amd64 1:9.11.3+dfsg-1ubuntu1.17 [27.6 kB] Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblwres160 amd64 1:9.11.3+dfsg-1ubuntu1.17 [34.4 kB] Get:58 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 bind9-host amd64 1:9.11.3+dfsg-1ubuntu1.17 [53.5 kB] Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libirs160 amd64 1:9.11.3+dfsg-1ubuntu1.17 [19.1 kB] Get:60 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dnsutils amd64 1:9.11.3+dfsg-1ubuntu1.17 [145 kB] Get:61 http://archive.ubuntu.com/ubuntu bionic/main amd64 geoip-database all 20180315-1 [2090 kB] Get:62 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 krb5-locales all 1.16-2ubuntu0.2 [13.4 kB] Get:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages all 4.15-1 [1234 kB] Get:64 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.7 [197 kB] Get:65 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.7 [489 kB] Get:66 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.7 [1839 kB] Get:67 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.7 [3388 B] Get:68 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.6 [71.9 kB] Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-191.202 [984 kB] Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.6 [2587 kB] Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB] Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB] Get:73 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpfr6 amd64 4.0.1-1 [243 kB] Get:74 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB] Get:75 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB] Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB] Get:77 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB] Get:78 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB] Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB] Get:80 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B] Get:81 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB] Get:82 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB] Get:83 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB] Get:84 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB] Get:85 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB] Get:86 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB] Get:87 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB] Get:88 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB] Get:89 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB] Get:90 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B] Get:91 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB] Get:92 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB] Get:93 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B] Get:94 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] Get:95 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.4 [212 kB] Get:96 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] Get:97 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.4 [607 kB] Get:98 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B] Get:99 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan0 amd64 2.5.1-2 [35.0 kB] Get:100 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgconf amd64 2.2.4-1ubuntu1.6 [124 kB] Get:101 http://archive.ubuntu.com/ubuntu bionic/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB] Get:102 http://archive.ubuntu.com/ubuntu bionic/main amd64 libroken18-heimdal amd64 7.5.0+dfsg-1 [41.3 kB] Get:103 http://archive.ubuntu.com/ubuntu bionic/main amd64 libasn1-8-heimdal amd64 7.5.0+dfsg-1 [175 kB] Get:104 http://archive.ubuntu.com/ubuntu bionic/main amd64 libheimbase1-heimdal amd64 7.5.0+dfsg-1 [29.3 kB] Get:105 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhcrypto4-heimdal amd64 7.5.0+dfsg-1 [85.9 kB] Get:106 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwind0-heimdal amd64 7.5.0+dfsg-1 [47.8 kB] Get:107 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhx509-5-heimdal amd64 7.5.0+dfsg-1 [107 kB] Get:108 http://archive.ubuntu.com/ubuntu bionic/main amd64 libkrb5-26-heimdal amd64 7.5.0+dfsg-1 [206 kB] Get:109 http://archive.ubuntu.com/ubuntu bionic/main amd64 libheimntlm0-heimdal amd64 7.5.0+dfsg-1 [14.8 kB] Get:110 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgssapi3-heimdal amd64 7.5.0+dfsg-1 [96.5 kB] Get:111 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsasl2-modules-db amd64 2.1.27~101-g0780600+dfsg-3ubuntu2.4 [15.0 kB] Get:112 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsasl2-2 amd64 2.1.27~101-g0780600+dfsg-3ubuntu2.4 [49.2 kB] Get:113 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-common all 2.4.45+dfsg-1ubuntu1.11 [15.8 kB] Get:114 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldap-2.4-2 amd64 2.4.45+dfsg-1ubuntu1.11 [154 kB] Get:115 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnpth0 amd64 1.5-3 [7668 B] Get:116 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dirmngr amd64 2.2.4-1ubuntu1.6 [317 kB] Get:117 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB] Get:118 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB] Get:119 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-l10n all 2.2.4-1ubuntu1.6 [50.1 kB] Get:120 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-utils amd64 2.2.4-1ubuntu1.6 [128 kB] Get:121 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg amd64 2.2.4-1ubuntu1.6 [468 kB] Get:122 http://archive.ubuntu.com/ubuntu bionic/main amd64 pinentry-curses amd64 1.1.0-1 [35.8 kB] Get:123 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-agent amd64 2.2.4-1ubuntu1.6 [227 kB] Get:124 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-client amd64 2.2.4-1ubuntu1.6 [91.8 kB] Get:125 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-server amd64 2.2.4-1ubuntu1.6 [85.0 kB] Get:126 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgsm amd64 2.2.4-1ubuntu1.6 [215 kB] Get:127 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg amd64 2.2.4-1ubuntu1.6 [249 kB] Get:128 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB] Get:129 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB] Get:130 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB] Get:131 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.7 [124 kB] Get:132 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB] Get:133 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7 amd64 2.7.17-1~18.04ubuntu1.8 [1054 kB] Get:134 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-dev amd64 2.7.17-1~18.04ubuntu1.8 [28.3 MB] Get:135 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpython-dev amd64 2.7.15~rc1-1 [7684 B] Get:136 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpython-all-dev amd64 2.7.15~rc1-1 [1092 B] Get:137 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsasl2-modules amd64 2.1.27~101-g0780600+dfsg-3ubuntu2.4 [48.9 kB] Get:138 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2217 kB] Get:139 http://archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1 [194 kB] Get:140 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-all amd64 2.7.15~rc1-1 [1076 B] Get:141 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-dev amd64 2.7.17-1~18.04ubuntu1.8 [284 kB] Get:142 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-dev amd64 2.7.15~rc1-1 [1256 B] Get:143 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-all-dev amd64 2.7.15~rc1-1 [1100 B] Get:144 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-asn1crypto all 0.24.0-1 [72.7 kB] Get:145 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63.4 kB] Get:146 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-crypto amd64 2.6.1-8ubuntu2 [244 kB] Get:147 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-enum34 all 1.1.6-2 [34.8 kB] Get:148 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-idna all 2.6-1 [32.4 kB] Get:149 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB] Get:150 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11.3 kB] Get:151 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.4 [276 kB] Get:152 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-dbus amd64 1.2.6-1 [90.2 kB] Get:153 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-gi amd64 3.26.1-2ubuntu1 [197 kB] Get:154 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-secretstorage all 2.3.1-2 [11.8 kB] Get:155 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-keyring all 10.6.0-1 [30.6 kB] Get:156 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-keyrings.alt all 3.0-1 [16.7 kB] Get:157 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.5 [1653 kB] Get:158 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip all 9.0.1-2.3~ubuntu1.18.04.5 [151 kB] Get:159 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB] Get:160 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB] Get:161 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python-wheel all 0.30.0-0.2 [36.4 kB] Get:162 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-xdg all 0.25-4ubuntu1.1 [31.2 kB] Get:163 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjemalloc1 amd64 3.6.0-11 [82.4 kB] Get:164 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 redis-tools amd64 5:4.0.9-1ubuntu0.2 [516 kB] Fetched 114 MB in 42s (2684 kB/s) debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 4051 files and directories currently installed.) Preparing to unpack .../libc6_2.27-3ubuntu1.6_amd64.deb ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Unpacking libc6:amd64 (2.27-3ubuntu1.6) over (2.27-3ubuntu1.4) ... Setting up libc6:amd64 (2.27-3ubuntu1.6) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Selecting previously unselected package liblocale-gettext-perl. (Reading database ... 4051 files and directories currently installed.) Preparing to unpack .../00-liblocale-gettext-perl_1.07-3build2_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-3build2) ... Selecting previously unselected package perl-modules-5.26. Preparing to unpack .../01-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... Selecting previously unselected package libgdbm5:amd64. Preparing to unpack .../02-libgdbm5_1.14.1-6_amd64.deb ... Unpacking libgdbm5:amd64 (1.14.1-6) ... Selecting previously unselected package libgdbm-compat4:amd64. Preparing to unpack .../03-libgdbm-compat4_1.14.1-6_amd64.deb ... Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... Selecting previously unselected package libperl5.26:amd64. Preparing to unpack .../04-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... Selecting previously unselected package perl. Preparing to unpack .../05-perl_5.26.1-6ubuntu0.5_amd64.deb ... Unpacking perl (5.26.1-6ubuntu0.5) ... Selecting previously unselected package libpython2.7-minimal:amd64. Preparing to unpack .../06-libpython2.7-minimal_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../07-python2.7-minimal_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package python-minimal. Preparing to unpack .../08-python-minimal_2.7.15~rc1-1_amd64.deb ... Unpacking python-minimal (2.7.15~rc1-1) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../09-libssl1.1_1.1.1-1ubuntu2.1~18.04.20_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.20) ... Selecting previously unselected package mime-support. Preparing to unpack .../10-mime-support_3.60ubuntu1_all.deb ... Unpacking mime-support (3.60ubuntu1) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../11-libexpat1_2.2.5-3ubuntu0.7_amd64.deb ... Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.7) ... Selecting previously unselected package readline-common. Preparing to unpack .../12-readline-common_7.0-3_all.deb ... Unpacking readline-common (7.0-3) ... Selecting previously unselected package libreadline7:amd64. Preparing to unpack .../13-libreadline7_7.0-3_amd64.deb ... Unpacking libreadline7:amd64 (7.0-3) ... Selecting previously unselected package libsqlite3-0:amd64. Preparing to unpack .../14-libsqlite3-0_3.22.0-1ubuntu0.5_amd64.deb ... Unpacking libsqlite3-0:amd64 (3.22.0-1ubuntu0.5) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../15-libpython2.7-stdlib_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking python2.7 (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../17-libpython-stdlib_2.7.15~rc1-1_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ... Setting up libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1.8) ... Setting up python2.7-minimal (2.7.17-1~18.04ubuntu1.8) ... Linking and byte-compiling packages for runtime python2.7... Setting up python-minimal (2.7.15~rc1-1) ... Selecting previously unselected package python. (Reading database ... 6798 files and directories currently installed.) Preparing to unpack .../python_2.7.15~rc1-1_amd64.deb ... Unpacking python (2.7.15~rc1-1) ... Preparing to unpack .../gpgv_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpgv (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1.4) ... Setting up gpgv (2.2.4-1ubuntu1.6) ... Selecting previously unselected package openssl. (Reading database ... 6857 files and directories currently installed.) Preparing to unpack .../000-openssl_1.1.1-1ubuntu2.1~18.04.20_amd64.deb ... Unpacking openssl (1.1.1-1ubuntu2.1~18.04.20) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../001-ca-certificates_20211016~18.04.1_all.deb ... Unpacking ca-certificates (20211016~18.04.1) ... Selecting previously unselected package libapparmor1:amd64. Preparing to unpack .../002-libapparmor1_2.12-4ubuntu5.1_amd64.deb ... Unpacking libapparmor1:amd64 (2.12-4ubuntu5.1) ... Selecting previously unselected package libdbus-1-3:amd64. Preparing to unpack .../003-libdbus-1-3_1.12.2-1ubuntu1.3_amd64.deb ... Unpacking libdbus-1-3:amd64 (1.12.2-1ubuntu1.3) ... Selecting previously unselected package dbus. Preparing to unpack .../004-dbus_1.12.2-1ubuntu1.3_amd64.deb ... Unpacking dbus (1.12.2-1ubuntu1.3) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../005-libmagic-mgc_1%3a5.32-2ubuntu0.4_amd64.deb ... Unpacking libmagic-mgc (1:5.32-2ubuntu0.4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../006-libmagic1_1%3a5.32-2ubuntu0.4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.4) ... Selecting previously unselected package file. Preparing to unpack .../007-file_1%3a5.32-2ubuntu0.4_amd64.deb ... Unpacking file (1:5.32-2ubuntu0.4) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../008-libglib2.0-0_2.56.4-0ubuntu0.18.04.9_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ... Selecting previously unselected package libgirepository-1.0-1:amd64. Preparing to unpack .../009-libgirepository-1.0-1_1.56.1-1_amd64.deb ... Unpacking libgirepository-1.0-1:amd64 (1.56.1-1) ... Selecting previously unselected package gir1.2-glib-2.0:amd64. Preparing to unpack .../010-gir1.2-glib-2.0_1.56.1-1_amd64.deb ... Unpacking gir1.2-glib-2.0:amd64 (1.56.1-1) ... Selecting previously unselected package libcap2:amd64. Preparing to unpack .../011-libcap2_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2:amd64 (1:2.25-1.2) ... Selecting previously unselected package libidn11:amd64. Preparing to unpack .../012-libidn11_1.33-2.1ubuntu1.2_amd64.deb ... Unpacking libidn11:amd64 (1.33-2.1ubuntu1.2) ... Selecting previously unselected package iputils-ping. Preparing to unpack .../013-iputils-ping_3%3a20161105-1ubuntu3_amd64.deb ... Unpacking iputils-ping (3:20161105-1ubuntu3) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../014-libcap2-bin_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2-bin (1:2.25-1.2) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../015-libglib2.0-data_2.56.4-0ubuntu0.18.04.9_all.deb ... Unpacking libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ... Selecting previously unselected package libicu60:amd64. Preparing to unpack .../016-libicu60_60.2-3ubuntu3.2_amd64.deb ... Unpacking libicu60:amd64 (60.2-3ubuntu3.2) ... Selecting previously unselected package libjson-c3:amd64. Preparing to unpack .../017-libjson-c3_0.12.1-1.3ubuntu0.3_amd64.deb ... Unpacking libjson-c3:amd64 (0.12.1-1.3ubuntu0.3) ... Selecting previously unselected package libpam-cap:amd64. Preparing to unpack .../018-libpam-cap_1%3a2.25-1.2_amd64.deb ... Unpacking libpam-cap:amd64 (1:2.25-1.2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../019-libxml2_2.9.4+dfsg1-6.1ubuntu1.7_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.7) ... Selecting previously unselected package netbase. Preparing to unpack .../020-netbase_5.4_all.deb ... Unpacking netbase (5.4) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../021-shared-mime-info_1.9-2_amd64.deb ... Unpacking shared-mime-info (1.9-2) ... Selecting previously unselected package xdg-user-dirs. Preparing to unpack .../022-xdg-user-dirs_0.17-1ubuntu1_amd64.deb ... Unpacking xdg-user-dirs (0.17-1ubuntu1) ... Selecting previously unselected package xz-utils. Preparing to unpack .../023-xz-utils_5.2.2-1.3ubuntu0.1_amd64.deb ... Unpacking xz-utils (5.2.2-1.3ubuntu0.1) ... Selecting previously unselected package libisc169:amd64. Preparing to unpack .../024-libisc169_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package libgeoip1:amd64. Preparing to unpack .../025-libgeoip1_1.6.12-1_amd64.deb ... Unpacking libgeoip1:amd64 (1.6.12-1) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../026-libkrb5support0_1.16-2ubuntu0.2_amd64.deb ... Unpacking libkrb5support0:amd64 (1.16-2ubuntu0.2) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../027-libk5crypto3_1.16-2ubuntu0.2_amd64.deb ... Unpacking libk5crypto3:amd64 (1.16-2ubuntu0.2) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../028-libkeyutils1_1.5.9-9.2ubuntu2.1_amd64.deb ... Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../029-libkrb5-3_1.16-2ubuntu0.2_amd64.deb ... Unpacking libkrb5-3:amd64 (1.16-2ubuntu0.2) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../030-libgssapi-krb5-2_1.16-2ubuntu0.2_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.16-2ubuntu0.2) ... Selecting previously unselected package libdns1100:amd64. Preparing to unpack .../031-libdns1100_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package libisccc160:amd64. Preparing to unpack .../032-libisccc160_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package libisccfg160:amd64. Preparing to unpack .../033-libisccfg160_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package libbind9-160:amd64. Preparing to unpack .../034-libbind9-160_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package liblwres160:amd64. Preparing to unpack .../035-liblwres160_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package bind9-host. Preparing to unpack .../036-bind9-host_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking bind9-host (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package libirs160:amd64. Preparing to unpack .../037-libirs160_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking libirs160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package dnsutils. Preparing to unpack .../038-dnsutils_1%3a9.11.3+dfsg-1ubuntu1.17_amd64.deb ... Unpacking dnsutils (1:9.11.3+dfsg-1ubuntu1.17) ... Selecting previously unselected package geoip-database. Preparing to unpack .../039-geoip-database_20180315-1_all.deb ... Unpacking geoip-database (20180315-1) ... Selecting previously unselected package krb5-locales. Preparing to unpack .../040-krb5-locales_1.16-2ubuntu0.2_all.deb ... Unpacking krb5-locales (1.16-2ubuntu0.2) ... Selecting previously unselected package manpages. Preparing to unpack .../041-manpages_4.15-1_all.deb ... Unpacking manpages (4.15-1) ... Selecting previously unselected package binutils-common:amd64. Preparing to unpack .../042-binutils-common_2.30-21ubuntu1~18.04.7_amd64.deb ... Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.7) ... Selecting previously unselected package libbinutils:amd64. Preparing to unpack .../043-libbinutils_2.30-21ubuntu1~18.04.7_amd64.deb ... Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.7) ... Selecting previously unselected package binutils-x86-64-linux-gnu. Preparing to unpack .../044-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.7_amd64.deb ... Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.7) ... Selecting previously unselected package binutils. Preparing to unpack .../045-binutils_2.30-21ubuntu1~18.04.7_amd64.deb ... Unpacking binutils (2.30-21ubuntu1~18.04.7) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../046-libc-dev-bin_2.27-3ubuntu1.6_amd64.deb ... Unpacking libc-dev-bin (2.27-3ubuntu1.6) ... Selecting previously unselected package linux-libc-dev:amd64. Preparing to unpack .../047-linux-libc-dev_4.15.0-191.202_amd64.deb ... Unpacking linux-libc-dev:amd64 (4.15.0-191.202) ... Selecting previously unselected package libc6-dev:amd64. Preparing to unpack .../048-libc6-dev_2.27-3ubuntu1.6_amd64.deb ... Unpacking libc6-dev:amd64 (2.27-3ubuntu1.6) ... Selecting previously unselected package gcc-7-base:amd64. Preparing to unpack .../049-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 .../050-libisl19_0.19-1_amd64.deb ... Unpacking libisl19:amd64 (0.19-1) ... Selecting previously unselected package libmpfr6:amd64. Preparing to unpack .../051-libmpfr6_4.0.1-1_amd64.deb ... Unpacking libmpfr6:amd64 (4.0.1-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../052-libmpc3_1.1.0-1_amd64.deb ... Unpacking libmpc3:amd64 (1.1.0-1) ... Selecting previously unselected package cpp-7. Preparing to unpack .../053-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 .../054-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 .../055-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 .../056-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 .../057-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 .../058-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 .../059-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 .../060-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 .../061-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 .../062-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 .../063-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 .../064-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 .../065-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 .../066-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 .../067-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 .../068-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 .../069-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 .../070-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 .../071-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 .../072-make_4.1-9.1ubuntu1_amd64.deb ... Unpacking make (4.1-9.1ubuntu1) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../073-libdpkg-perl_1.19.0.5ubuntu2.4_all.deb ... Unpacking libdpkg-perl (1.19.0.5ubuntu2.4) ... Selecting previously unselected package patch. Preparing to unpack .../074-patch_2.7.6-2ubuntu1.1_amd64.deb ... Unpacking patch (2.7.6-2ubuntu1.1) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../075-dpkg-dev_1.19.0.5ubuntu2.4_all.deb ... Unpacking dpkg-dev (1.19.0.5ubuntu2.4) ... Selecting previously unselected package build-essential. Preparing to unpack .../076-build-essential_12.4ubuntu1_amd64.deb ... Unpacking build-essential (12.4ubuntu1) ... Selecting previously unselected package libassuan0:amd64. Preparing to unpack .../077-libassuan0_2.5.1-2_amd64.deb ... Unpacking libassuan0:amd64 (2.5.1-2) ... Selecting previously unselected package gpgconf. Preparing to unpack .../078-gpgconf_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpgconf (2.2.4-1ubuntu1.6) ... Selecting previously unselected package libksba8:amd64. Preparing to unpack .../079-libksba8_1.3.5-2_amd64.deb ... Unpacking libksba8:amd64 (1.3.5-2) ... Selecting previously unselected package libroken18-heimdal:amd64. Preparing to unpack .../080-libroken18-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libroken18-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libasn1-8-heimdal:amd64. Preparing to unpack .../081-libasn1-8-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libheimbase1-heimdal:amd64. Preparing to unpack .../082-libheimbase1-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libhcrypto4-heimdal:amd64. Preparing to unpack .../083-libhcrypto4-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libwind0-heimdal:amd64. Preparing to unpack .../084-libwind0-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libwind0-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libhx509-5-heimdal:amd64. Preparing to unpack .../085-libhx509-5-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libkrb5-26-heimdal:amd64. Preparing to unpack .../086-libkrb5-26-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libheimntlm0-heimdal:amd64. Preparing to unpack .../087-libheimntlm0-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libgssapi3-heimdal:amd64. Preparing to unpack .../088-libgssapi3-heimdal_7.5.0+dfsg-1_amd64.deb ... Unpacking libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ... Selecting previously unselected package libsasl2-modules-db:amd64. Preparing to unpack .../089-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ... Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Selecting previously unselected package libsasl2-2:amd64. Preparing to unpack .../090-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ... Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Selecting previously unselected package libldap-common. Preparing to unpack .../091-libldap-common_2.4.45+dfsg-1ubuntu1.11_all.deb ... Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.11) ... Selecting previously unselected package libldap-2.4-2:amd64. Preparing to unpack .../092-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.11_amd64.deb ... Unpacking libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.11) ... Selecting previously unselected package libnpth0:amd64. Preparing to unpack .../093-libnpth0_1.5-3_amd64.deb ... Unpacking libnpth0:amd64 (1.5-3) ... Selecting previously unselected package dirmngr. Preparing to unpack .../094-dirmngr_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking dirmngr (2.2.4-1ubuntu1.6) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../095-libfakeroot_1.22-2ubuntu1_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../096-fakeroot_1.22-2ubuntu1_amd64.deb ... Unpacking fakeroot (1.22-2ubuntu1) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../097-gnupg-l10n_2.2.4-1ubuntu1.6_all.deb ... Unpacking gnupg-l10n (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../098-gnupg-utils_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gnupg-utils (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gpg. Preparing to unpack .../099-gpg_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpg (2.2.4-1ubuntu1.6) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../100-pinentry-curses_1.1.0-1_amd64.deb ... Unpacking pinentry-curses (1.1.0-1) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../101-gpg-agent_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpg-agent (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../102-gpg-wks-client_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpg-wks-client (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../103-gpg-wks-server_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpg-wks-server (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gpgsm. Preparing to unpack .../104-gpgsm_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gpgsm (2.2.4-1ubuntu1.6) ... Selecting previously unselected package gnupg. Preparing to unpack .../105-gnupg_2.2.4-1ubuntu1.6_amd64.deb ... Unpacking gnupg (2.2.4-1ubuntu1.6) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../106-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 .../107-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 .../108-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../109-libexpat1-dev_2.2.5-3ubuntu0.7_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.7) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../110-libfile-fcntllock-perl_0.22-3build2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3build2) ... Selecting previously unselected package libpython2.7:amd64. Preparing to unpack .../111-libpython2.7_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package libpython2.7-dev:amd64. Preparing to unpack .../112-libpython2.7-dev_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking libpython2.7-dev:amd64 (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package libpython-dev:amd64. Preparing to unpack .../113-libpython-dev_2.7.15~rc1-1_amd64.deb ... Unpacking libpython-dev:amd64 (2.7.15~rc1-1) ... Selecting previously unselected package libpython-all-dev:amd64. Preparing to unpack .../114-libpython-all-dev_2.7.15~rc1-1_amd64.deb ... Unpacking libpython-all-dev:amd64 (2.7.15~rc1-1) ... Selecting previously unselected package libsasl2-modules:amd64. Preparing to unpack .../115-libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ... Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Selecting previously unselected package manpages-dev. Preparing to unpack .../116-manpages-dev_4.15-1_all.deb ... Unpacking manpages-dev (4.15-1) ... Selecting previously unselected package net-tools. Preparing to unpack .../117-net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb ... Unpacking net-tools (1.60+git20161116.90da8a0-1ubuntu1) ... Selecting previously unselected package python-all. Preparing to unpack .../118-python-all_2.7.15~rc1-1_amd64.deb ... Unpacking python-all (2.7.15~rc1-1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../119-python2.7-dev_2.7.17-1~18.04ubuntu1.8_amd64.deb ... Unpacking python2.7-dev (2.7.17-1~18.04ubuntu1.8) ... Selecting previously unselected package python-dev. Preparing to unpack .../120-python-dev_2.7.15~rc1-1_amd64.deb ... Unpacking python-dev (2.7.15~rc1-1) ... Selecting previously unselected package python-all-dev. Preparing to unpack .../121-python-all-dev_2.7.15~rc1-1_amd64.deb ... Unpacking python-all-dev (2.7.15~rc1-1) ... Selecting previously unselected package python-asn1crypto. Preparing to unpack .../122-python-asn1crypto_0.24.0-1_all.deb ... Unpacking python-asn1crypto (0.24.0-1) ... Selecting previously unselected package python-cffi-backend. Preparing to unpack .../123-python-cffi-backend_1.11.5-1_amd64.deb ... Unpacking python-cffi-backend (1.11.5-1) ... Selecting previously unselected package python-crypto. Preparing to unpack .../124-python-crypto_2.6.1-8ubuntu2_amd64.deb ... Unpacking python-crypto (2.6.1-8ubuntu2) ... Selecting previously unselected package python-enum34. Preparing to unpack .../125-python-enum34_1.1.6-2_all.deb ... Unpacking python-enum34 (1.1.6-2) ... Selecting previously unselected package python-idna. Preparing to unpack .../126-python-idna_2.6-1_all.deb ... Unpacking python-idna (2.6-1) ... Selecting previously unselected package python-ipaddress. Preparing to unpack .../127-python-ipaddress_1.0.17-1_all.deb ... Unpacking python-ipaddress (1.0.17-1) ... Selecting previously unselected package python-six. Preparing to unpack .../128-python-six_1.11.0-2_all.deb ... Unpacking python-six (1.11.0-2) ... Selecting previously unselected package python-cryptography. Preparing to unpack .../129-python-cryptography_2.1.4-1ubuntu1.4_amd64.deb ... Unpacking python-cryptography (2.1.4-1ubuntu1.4) ... Selecting previously unselected package python-dbus. Preparing to unpack .../130-python-dbus_1.2.6-1_amd64.deb ... Unpacking python-dbus (1.2.6-1) ... Selecting previously unselected package python-gi. Preparing to unpack .../131-python-gi_3.26.1-2ubuntu1_amd64.deb ... Unpacking python-gi (3.26.1-2ubuntu1) ... Selecting previously unselected package python-secretstorage. Preparing to unpack .../132-python-secretstorage_2.3.1-2_all.deb ... Unpacking python-secretstorage (2.3.1-2) ... Selecting previously unselected package python-keyring. Preparing to unpack .../133-python-keyring_10.6.0-1_all.deb ... Unpacking python-keyring (10.6.0-1) ... Selecting previously unselected package python-keyrings.alt. Preparing to unpack .../134-python-keyrings.alt_3.0-1_all.deb ... Unpacking python-keyrings.alt (3.0-1) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../135-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.5_all.deb ... Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.5) ... Selecting previously unselected package python-pip. Preparing to unpack .../136-python-pip_9.0.1-2.3~ubuntu1.18.04.5_all.deb ... Unpacking python-pip (9.0.1-2.3~ubuntu1.18.04.5) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../137-python-pkg-resources_39.0.1-2_all.deb ... Unpacking python-pkg-resources (39.0.1-2) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../138-python-setuptools_39.0.1-2_all.deb ... Unpacking python-setuptools (39.0.1-2) ... Selecting previously unselected package python-wheel. Preparing to unpack .../139-python-wheel_0.30.0-0.2_all.deb ... Unpacking python-wheel (0.30.0-0.2) ... Selecting previously unselected package python-xdg. Preparing to unpack .../140-python-xdg_0.25-4ubuntu1.1_all.deb ... Unpacking python-xdg (0.25-4ubuntu1.1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../141-libjemalloc1_3.6.0-11_amd64.deb ... Unpacking libjemalloc1 (3.6.0-11) ... Selecting previously unselected package redis-tools. Preparing to unpack .../142-redis-tools_5%3a4.0.9-1ubuntu0.2_amd64.deb ... Unpacking redis-tools (5:4.0.9-1ubuntu0.2) ... Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libnpth0:amd64 (1.5-3) ... Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up readline-common (7.0-3) ... Setting up manpages (4.15-1) ... Setting up libexpat1:amd64 (2.2.5-3ubuntu0.7) ... Setting up libicu60:amd64 (60.2-3ubuntu3.2) ... Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up make (4.1-9.1ubuntu1) ... Setting up mime-support (3.60ubuntu1) ... Setting up geoip-database (20180315-1) ... Setting up libjemalloc1 (3.6.0-11) ... Setting up libldap-common (2.4.45+dfsg-1ubuntu1.11) ... Setting up libreadline7:amd64 (7.0-3) ... Setting up libjson-c3:amd64 (0.12.1-1.3ubuntu0.3) ... Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ... No schema files found: doing nothing. Setting up libcap2:amd64 (1:2.25-1.2) ... Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Setting up linux-libc-dev:amd64 (4.15.0-191.202) ... Setting up libmpfr6:amd64 (4.0.1-1) ... Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Setting up libroken18-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up libksba8:amd64 (1.3.5-2) ... Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... Setting up libgdbm5:amd64 (1.14.1-6) ... Setting up libgeoip1:amd64 (1.6.12-1) ... Setting up libkrb5support0:amd64 (1.16-2ubuntu0.2) ... Setting up libgirepository-1.0-1:amd64 (1.56.1-1) ... Setting up libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.7) ... Setting up libmagic-mgc (1:5.32-2ubuntu0.4) ... Setting up gnupg-l10n (2.2.4-1ubuntu1.6) ... Setting up libmagic1:amd64 (1:5.32-2ubuntu0.4) ... 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.7) ... Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up gir1.2-glib-2.0:amd64 (1.56.1-1) ... Setting up patch (2.7.6-2ubuntu1.1) ... Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.9) ... Setting up krb5-locales (1.16-2ubuntu0.2) ... Setting up libapparmor1:amd64 (2.12-4ubuntu5.1) ... Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.20) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up xz-utils (5.2.2-1.3ubuntu0.1) ... update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist Setting up libheimbase1-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up libfakeroot:amd64 (1.22-2ubuntu1) ... Setting up openssl (1.1.1-1ubuntu2.1~18.04.20) ... Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.5) ... Setting up liblocale-gettext-perl (1.07-3build2) ... Setting up shared-mime-info (1.9-2) ... Setting up libmpc3:amd64 (1.1.0-1) ... Setting up libc-dev-bin (2.27-3ubuntu1.6) ... Setting up libgdbm-compat4:amd64 (1.14.1-6) ... Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) ... Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ... Setting up net-tools (1.60+git20161116.90da8a0-1ubuntu1) ... Setting up ca-certificates (20211016~18.04.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Updating certificates in /etc/ssl/certs... 127 added, 0 removed; done. Setting up manpages-dev (4.15-1) ... Setting up libc6-dev:amd64 (2.27-3ubuntu1.6) ... Setting up libassuan0:amd64 (2.5.1-2) ... Setting up xdg-user-dirs (0.17-1ubuntu1) ... Setting up liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ... Setting up libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1.8) ... Setting up libidn11:amd64 (1.33-2.1ubuntu1.2) ... Setting up libdbus-1-3:amd64 (1.12.2-1ubuntu1.3) ... Setting up netbase (5.4) ... Setting up libisl19:amd64 (0.19-1) ... Setting up iputils-ping (3:20161105-1ubuntu3) ... Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.5) ... Setting up libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up libk5crypto3:amd64 (1.16-2ubuntu0.2) ... Setting up libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up redis-tools (5:4.0.9-1ubuntu0.2) ... Setting up libpam-cap:amd64 (1:2.25-1.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up libwind0-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.7) ... Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up libcap2-bin (1:2.25-1.2) ... Setting up libasn1-8-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ... Setting up gpgconf (2.2.4-1ubuntu1.6) ... Setting up libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up python2.7 (2.7.17-1~18.04ubuntu1.8) ... Setting up file (1:5.32-2ubuntu0.4) ... Setting up fakeroot (1.22-2ubuntu1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist Setting up libhx509-5-heimdal:amd64 (7.5.0+dfsg-1) ... 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 libpython-stdlib:amd64 (2.7.15~rc1-1) ... Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... Setting up gpgsm (2.2.4-1ubuntu1.6) ... Setting up libpython2.7:amd64 (2.7.17-1~18.04ubuntu1.8) ... Setting up gnupg-utils (2.2.4-1ubuntu1.6) ... Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.7) ... Setting up pinentry-curses (1.1.0-1) ... Setting up libkrb5-3:amd64 (1.16-2ubuntu0.2) ... Setting up libpython2.7-dev:amd64 (2.7.17-1~18.04ubuntu1.8) ... Setting up libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up dbus (1.12.2-1ubuntu1.3) ... Setting up python2.7-dev (2.7.17-1~18.04ubuntu1.8) ... Setting up libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up python (2.7.15~rc1-1) ... Setting up gpg (2.2.4-1ubuntu1.6) ... Setting up python-xdg (0.25-4ubuntu1.1) ... Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.7) ... Setting up python-idna (2.6-1) ... Setting up cpp (4:7.4.0-1ubuntu2.3) ... Setting up libpython-dev:amd64 (2.7.15~rc1-1) ... Setting up python-asn1crypto (0.24.0-1) ... Setting up python-crypto (2.6.1-8ubuntu2) ... Setting up python-dev (2.7.15~rc1-1) ... Setting up python-wheel (0.30.0-0.2) ... Setting up libpython-all-dev:amd64 (2.7.15~rc1-1) ... Setting up gpg-agent (2.2.4-1ubuntu1.6) ... Setting up gpg-wks-server (2.2.4-1ubuntu1.6) ... Setting up python-pkg-resources (39.0.1-2) ... Setting up libgssapi-krb5-2:amd64 (1.16-2ubuntu0.2) ... Setting up perl (5.26.1-6ubuntu0.5) ... Setting up libfile-fcntllock-perl (0.22-3build2) ... Setting up python-cffi-backend (1.11.5-1) ... Setting up python-gi (3.26.1-2ubuntu1) ... Setting up python-six (1.11.0-2) ... Setting up python-enum34 (1.1.6-2) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Setting up binutils (2.30-21ubuntu1~18.04.7) ... Setting up python-dbus (1.2.6-1) ... Setting up libgssapi3-heimdal:amd64 (7.5.0+dfsg-1) ... Setting up libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up python-ipaddress (1.0.17-1) ... Setting up python-pip (9.0.1-2.3~ubuntu1.18.04.5) ... Setting up python-all (2.7.15~rc1-1) ... Setting up python-setuptools (39.0.1-2) ... Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ... Setting up g++-7 (7.5.0-3ubuntu1~18.04) ... Setting up libdpkg-perl (1.19.0.5ubuntu2.4) ... Setting up gcc (4:7.4.0-1ubuntu2.3) ... Setting up python-keyrings.alt (3.0-1) ... Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up libalgorithm-merge-perl (0.08-3) ... Setting up dpkg-dev (1.19.0.5ubuntu2.4) ... Setting up libalgorithm-diff-xs-perl (0.04-5) ... Setting up python-all-dev (2.7.15~rc1-1) ... Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.11) ... Setting up python-cryptography (2.1.4-1ubuntu1.4) ... Setting up g++ (4:7.4.0-1ubuntu2.3) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist Setting up dirmngr (2.2.4-1ubuntu1.6) ... Setting up python-secretstorage (2.3.1-2) ... Setting up python-keyring (10.6.0-1) ... Setting up build-essential (12.4ubuntu1) ... Setting up libirs160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up gpg-wks-client (2.2.4-1ubuntu1.6) ... Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.17) ... Setting up gnupg (2.2.4-1ubuntu1.6) ... Setting up dnsutils (1:9.11.3+dfsg-1ubuntu1.17) ... Processing triggers for libc-bin (2.27-3ubuntu1.4) ... Processing triggers for ca-certificates (20211016~18.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. done. root@ubuntu1804:/# pip install redis-trib==0.5.1 Collecting redis-trib==0.5.1 Downloading https://files.pythonhosted.org/packages/b3/df/9d1c5495be7a97f0db982a9cfda1647abf89191551a2554facfb72539dce/redis-trib-0.5.1.tar.gz Collecting Werkzeug (from redis-trib==0.5.1) Downloading https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl (298kB) 100% |################################| 307kB 157kB/s Collecting click (from redis-trib==0.5.1) Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl (82kB) 100% |################################| 92kB 155kB/s Collecting hiredis (from redis-trib==0.5.1) Downloading https://files.pythonhosted.org/packages/59/13/5c620b1324506fc886113793291630c340ddecad88f05dcbf16376eeccf9/hiredis-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl (58kB) 100% |################################| 61kB 146kB/s Collecting retrying (from redis-trib==0.5.1) Downloading https://files.pythonhosted.org/packages/44/ef/beae4b4ef80902f22e3af073397f079c96969c69b2c7d52a57ea9ae61c9d/retrying-1.3.3.tar.gz Requirement already satisfied: six>=1.7.0 in /usr/lib/python2.7/dist-packages (from retrying->redis-trib==0.5.1) Building wheels for collected packages: redis-trib, retrying Running setup.py bdist_wheel for redis-trib ... done Stored in directory: /root/.cache/pip/wheels/8a/83/e8/bc2a908217ead084b6e4ed8f6ba597a7b965dbfca9fd5ff9ff Running setup.py bdist_wheel for retrying ... done Stored in directory: /root/.cache/pip/wheels/d7/a9/33/acc7b709e2a35caa7d4cae442f6fe6fbf2c43f80823d46460c Successfully built redis-trib retrying Installing collected packages: Werkzeug, click, hiredis, retrying, redis-trib Successfully installed Werkzeug-1.0.1 click-7.1.2 hiredis-1.1.0 redis-trib-0.5.1 retrying-1.3.3 root@ubuntu1804:/# pip install --upgrade pip Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9dda1cac50>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/ Collecting pip Downloading https://files.pythonhosted.org/packages/27/79/8a850fe3496446ff0d584327ae44e7500daf6764ca1a382d2d02789accf7/pip-20.3.4-py2.py3-none-any.whl (1.5MB) 100% |################################| 1.5MB 296kB/s Installing collected packages: pip Found existing installation: pip 9.0.1 Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr Successfully installed pip-20.3.4 root@ubuntu1804:/# pip install redis-trib==0.5.1 WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Requirement already satisfied: redis-trib==0.5.1 in /usr/local/lib/python2.7/dist-packages (0.5.1) Requirement already satisfied: Werkzeug in /usr/local/lib/python2.7/dist-packages (from redis-trib==0.5.1) (1.0.1) Requirement already satisfied: click in /usr/local/lib/python2.7/dist-packages (from redis-trib==0.5.1) (7.1.2) Requirement already satisfied: hiredis in /usr/local/lib/python2.7/dist-packages (from redis-trib==0.5.1) (1.1.0) Requirement already satisfied: retrying in /usr/local/lib/python2.7/dist-packages (from redis-trib==0.5.1) (1.3.3) Requirement already satisfied: six>=1.7.0 in /usr/lib/python2.7/dist-packages (from retrying->redis-trib==0.5.1) (1.11.0) root@ubuntu1804:/# root@ubuntu1804:/# root@ubuntu1804:/# redis-trib.py create \ > `dig +short redis-0.redis.magedu.svc.magedu.local`:6379 \ > `dig +short redis-1.redis.magedu.svc.magedu.local`:6379 \ > `dig +short redis-2.redis.magedu.svc.magedu.local`:6379 Redis-trib 0.5.1 Copyright (c) HunanTV Platform developers INFO:root:Instance at 10.200.2.20:6379 checked INFO:root:Instance at 10.200.40.201:6379 checked INFO:root:Instance at 10.200.233.71:6379 checked INFO:root:Add 5462 slots to 10.200.2.20:6379 INFO:root:Add 5461 slots to 10.200.40.201:6379 INFO:root:Add 5461 slots to 10.200.233.71:6379 root@ubuntu1804:/# root@ubuntu1804:/# redis-trib.py replicate \ > --master-addr `dig +short redis-0.redis.magedu.svc.magedu.local`:6379 \ > --slave-addr `dig +short redis-3.redis.magedu.svc.magedu.local`:6379 Redis-trib 0.5.1 Copyright (c) HunanTV Platform developers INFO:root:Instance at 10.200.158.83:6379 has joined 10.200.40.201:6379; now set replica INFO:root:Instance at 10.200.158.83:6379 set as replica to 76bcbed74500a7c9e5fac8f755082937d5bd0580 root@ubuntu1804:/# root@ubuntu1804:/# redis-trib.py replicate \ > --master-addr `dig +short redis-1.redis.magedu.svc.magedu.local`:6379 \ > --slave-addr `dig +short redis-4.redis.magedu.svc.magedu.local`:6379 Redis-trib 0.5.1 Copyright (c) HunanTV Platform developers INFO:root:Instance at 10.200.42.205:6379 has joined 10.200.2.20:6379; now set replica INFO:root:Instance at 10.200.42.205:6379 set as replica to 0eabb406eb5b23099e8fa5952955cf941d08d900 root@ubuntu1804:/# root@ubuntu1804:/# root@ubuntu1804:/# redis-trib.py replicate \ > --master-addr `dig +short redis-2.redis.magedu.svc.magedu.local`:6379 \ > --slave-addr `dig +short redis-5.redis.magedu.svc.magedu.local`:6379 Redis-trib 0.5.1 Copyright (c) HunanTV Platform developers INFO:root:Instance at 10.200.185.130:6379 has joined 10.200.233.71:6379; now set replica INFO:root:Instance at 10.200.185.130:6379 set as replica to b155f5de4c5e3da5ce28ea88716c0f0021325be7 root@ubuntu1804:/# root@ubuntu1804:/# root@easzlab-deploy:~/redis-cluster# root@easzlab-deploy:~/redis-cluster# kubectl get pod -n magedu NAME READY STATUS RESTARTS AGE deploy-devops-redis-69f975f65d-nmmdk 1/1 Running 0 7h1m redis-0 1/1 Running 0 44m redis-1 1/1 Running 0 43m redis-2 1/1 Running 0 42m redis-3 1/1 Running 0 42m redis-4 1/1 Running 0 41m redis-5 1/1 Running 0 41m ubuntu1804 0/1 Completed 0 31m root@easzlab-deploy:~/redis-cluster# kubectl exec -it redis-1 bash -n magedu kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. root@redis-1:/data# root@redis-1:/data# root@redis-1:/data# redis-cli 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> cluster info cluster_state:ok cluster_slots_assigned:16384 cluster_slots_ok:16384 cluster_slots_pfail:0 cluster_slots_fail:0 cluster_known_nodes:6 cluster_size:3 cluster_current_epoch:5 cluster_my_epoch:1 cluster_stats_messages_ping_sent:1493 cluster_stats_messages_pong_sent:1477 cluster_stats_messages_meet_sent:3 cluster_stats_messages_sent:2973 cluster_stats_messages_ping_received:1475 cluster_stats_messages_pong_received:1496 cluster_stats_messages_meet_received:2 cluster_stats_messages_received:2973 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> info # Server redis_version:4.0.14 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:165c932261a105d7 redis_mode:cluster os:Linux 5.4.0-124-generic x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:8.3.0 process_id:1 run_id:1c03d3bb170bcca910be5a3256ab653c8974da43 tcp_port:6379 uptime_in_seconds:2658 uptime_in_days:0 hz:10 lru_clock:68220 executable:/data/redis-server config_file:/etc/redis/redis.conf # Clients connected_clients:1 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 # Memory used_memory:2644384 used_memory_human:2.52M used_memory_rss:5156864 used_memory_rss_human:4.92M used_memory_peak:2684296 used_memory_peak_human:2.56M used_memory_peak_perc:98.51% used_memory_overhead:2559936 used_memory_startup:1444856 used_memory_dataset:84448 used_memory_dataset_perc:7.04% total_system_memory:16785895424 total_system_memory_human:15.63G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.95 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0 # Persistence loading:0 rdb_changes_since_last_save:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1661012152 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:339968 aof_enabled:1 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:-1 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok aof_last_write_status:ok aof_last_cow_size:0 aof_current_size:0 aof_base_size:0 aof_pending_rewrite:0 aof_buffer_length:0 aof_rewrite_buffer_length:0 aof_pending_bio_fsync:0 aof_delayed_fsync:0 # Stats total_connections_received:5 total_commands_processed:485 instantaneous_ops_per_sec:1 total_net_input_bytes:70646 total_net_output_bytes:38743 instantaneous_input_kbps:0.04 instantaneous_output_kbps:0.00 rejected_connections:0 sync_full:1 sync_partial_ok:0 sync_partial_err:1 expired_keys:0 expired_stale_perc:0.00 expired_time_cap_reached_count:0 evicted_keys:0 keyspace_hits:0 keyspace_misses:0 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:1381 migrate_cached_sockets:0 slave_expires_tracked_keys:0 active_defrag_hits:0 active_defrag_misses:0 active_defrag_key_hits:0 active_defrag_key_misses:0 # Replication role:master connected_slaves:1 slave0:ip=10.200.42.205,port=6379,state=online,offset=630,lag=0 master_replid:2dcc70571d303432b7ea4a4cdf3f87fe1703c49e master_replid2:0000000000000000000000000000000000000000 master_repl_offset:630 second_repl_offset:-1 repl_backlog_active:1 repl_backlog_size:1048576 repl_backlog_first_byte_offset:1 repl_backlog_histlen:630 # CPU used_cpu_sys:4.53 used_cpu_user:2.73 used_cpu_sys_children:0.00 used_cpu_user_children:0.00 # Cluster cluster_enabled:1 # Keyspace 127.0.0.1:6379> cluster nodes 0eabb406eb5b23099e8fa5952955cf941d08d900 10.200.2.20:6379@16379 myself,master - 0 1661012698000 1 connected 0-5461 2671b6108276d72f66f008edceb87f7cd4721d82 10.200.42.205:6379@16379 slave 0eabb406eb5b23099e8fa5952955cf941d08d900 0 1661012699414 4 connected 76bcbed74500a7c9e5fac8f755082937d5bd0580 10.200.40.201:6379@16379 master - 0 1661012700116 2 connected 5462-10922 3ca185e72184b9984fee0f917046f3ba5f723256 10.200.158.83:6379@16379 slave 76bcbed74500a7c9e5fac8f755082937d5bd0580 0 1661012700418 3 connected b898f851a0ee33bed67acda977c58c4492ceb1a8 10.200.185.130:6379@16379 slave b155f5de4c5e3da5ce28ea88716c0f0021325be7 0 1661012700000 5 connected b155f5de4c5e3da5ce28ea88716c0f0021325be7 10.200.233.71:6379@16379 master - 0 1661012699000 5 connected 10923-16383 127.0.0.1:6379> 127.0.0.1:6379>
redis-trib.py create \
`dig +short redis-0.redis.magedu.svc.magedu.local`:6379 \
`dig +short redis-1.redis.magedu.svc.magedu.local`:6379 \
`dig +short redis-2.redis.magedu.svc.magedu.local`:6379
将redis-3加入redis-0
redis-trib.py replicate \
--master-addr `dig +short redis-0.redis.magedu.svc.magedu.local`:6379 \
--slave-addr `dig +short redis-3.redis.magedu.svc.magedu.local`:6379
将redis-4加入redis-1;
redis-trib.py replicate \
--master-addr `dig +short redis-1.redis.magedu.svc.magedu.local`:6379 \
--slave-addr `dig +short redis-4.redis.magedu.svc.magedu.local`:6379
将redis-5加入redis-2:
3.3.5、验证redis集群
root@easzlab-deploy:~/redis-cluster# kubectl get pod -n magedu NAME READY STATUS RESTARTS AGE deploy-devops-redis-69f975f65d-nmmdk 1/1 Running 0 7h1m redis-0 1/1 Running 0 44m redis-1 1/1 Running 0 43m redis-2 1/1 Running 0 42m redis-3 1/1 Running 0 42m redis-4 1/1 Running 0 41m redis-5 1/1 Running 0 41m ubuntu1804 0/1 Completed 0 31m root@easzlab-deploy:~/redis-cluster# kubectl exec -it redis-1 bash -n magedu kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. root@redis-1:/data# root@redis-1:/data# root@redis-1:/data# redis-cli 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> cluster info cluster_state:ok cluster_slots_assigned:16384 cluster_slots_ok:16384 cluster_slots_pfail:0 cluster_slots_fail:0 cluster_known_nodes:6 cluster_size:3 cluster_current_epoch:5 cluster_my_epoch:1 cluster_stats_messages_ping_sent:1493 cluster_stats_messages_pong_sent:1477 cluster_stats_messages_meet_sent:3 cluster_stats_messages_sent:2973 cluster_stats_messages_ping_received:1475 cluster_stats_messages_pong_received:1496 cluster_stats_messages_meet_received:2 cluster_stats_messages_received:2973 127.0.0.1:6379> 127.0.0.1:6379> 127.0.0.1:6379> info # Server redis_version:4.0.14 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:165c932261a105d7 redis_mode:cluster os:Linux 5.4.0-124-generic x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:8.3.0 process_id:1 run_id:1c03d3bb170bcca910be5a3256ab653c8974da43 tcp_port:6379 uptime_in_seconds:2658 uptime_in_days:0 hz:10 lru_clock:68220 executable:/data/redis-server config_file:/etc/redis/redis.conf # Clients connected_clients:1 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 # Memory used_memory:2644384 used_memory_human:2.52M used_memory_rss:5156864 used_memory_rss_human:4.92M used_memory_peak:2684296 used_memory_peak_human:2.56M used_memory_peak_perc:98.51% used_memory_overhead:2559936 used_memory_startup:1444856 used_memory_dataset:84448 used_memory_dataset_perc:7.04% total_system_memory:16785895424 total_system_memory_human:15.63G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:noeviction mem_fragmentation_ratio:1.95 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0 # Persistence loading:0 rdb_changes_since_last_save:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1661012152 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:339968 aof_enabled:1 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:-1 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok aof_last_write_status:ok aof_last_cow_size:0 aof_current_size:0 aof_base_size:0 aof_pending_rewrite:0 aof_buffer_length:0 aof_rewrite_buffer_length:0 aof_pending_bio_fsync:0 aof_delayed_fsync:0 # Stats total_connections_received:5 total_commands_processed:485 instantaneous_ops_per_sec:1 total_net_input_bytes:70646 total_net_output_bytes:38743 instantaneous_input_kbps:0.04 instantaneous_output_kbps:0.00 rejected_connections:0 sync_full:1 sync_partial_ok:0 sync_partial_err:1 expired_keys:0 expired_stale_perc:0.00 expired_time_cap_reached_count:0 evicted_keys:0 keyspace_hits:0 keyspace_misses:0 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:1381 migrate_cached_sockets:0 slave_expires_tracked_keys:0 active_defrag_hits:0 active_defrag_misses:0 active_defrag_key_hits:0 active_defrag_key_misses:0 # Replication role:master connected_slaves:1 slave0:ip=10.200.42.205,port=6379,state=online,offset=630,lag=0 master_replid:2dcc70571d303432b7ea4a4cdf3f87fe1703c49e master_replid2:0000000000000000000000000000000000000000 master_repl_offset:630 second_repl_offset:-1 repl_backlog_active:1 repl_backlog_size:1048576 repl_backlog_first_byte_offset:1 repl_backlog_histlen:630 # CPU used_cpu_sys:4.53 used_cpu_user:2.73 used_cpu_sys_children:0.00 used_cpu_user_children:0.00 # Cluster cluster_enabled:1 # Keyspace 127.0.0.1:6379>