AKAI TSUKI

System development or Technical something

apt update in ubuntu

I executed the command "sudo apt update".

ubu@ubuntu16:~$ sudo apt update
[sudo] password for ubu:
Hit:1 http://jp.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://jp.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://jp.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [445 kB]
Get:6 http://jp.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [438 kB]
Fetched 1,190 kB in 1s (897 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
ubu@ubuntu16:~$

and then I executed the command "sudo dpkg --configure -a".

ubu@ubuntu16:~$ sudo dpkg --configure -a
Setting up libapt-inst2.0:amd64 (1.2.15ubuntu0.2) ...
Processing triggers for ufw (0.35-0ubuntu2) ...
Setting up libisc160:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.5) ...
Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up apt-utils (1.2.15ubuntu0.2) ...
Setting up tzdata (2016j-0ubuntu0.16.04) ...

Current default time zone: 'Asia/Tokyo'
Local time is now:      Mon Jan  9 17:01:47 JST 2017.
Universal Time is now:  Mon Jan  9 08:01:47 UTC 2017.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up python3-problem-report (2.20.1-0ubuntu2.4) ...
Setting up linux-image-4.4.0-57-generic (4.4.0-57.78) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-57-generic /boot/vmlinuz-4.4.0-57-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-57-generic /boot/vmlinuz-4.4.0-57-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-57-generic /boot/vmlinuz-4.4.0-57-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-57-generic /boot/vmlinuz-4.4.0-57-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-57-generic /boot/vmlinuz-4.4.0-57-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-57-generic
Found initrd image: /boot/initrd.img-4.4.0-57-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
done
Setting up libisccc140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up udev (229-4ubuntu10) ...
addgroup: The group `input' already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (229-4ubuntu10) ...
Setting up liblwres141:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up openssl (1.0.2g-1ubuntu4.5) ...
Setting up vim-common (2:7.4.1689-3ubuntu1.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Setting up vim-runtime (2:7.4.1689-3ubuntu1.2) ...
Setting up openssh-client (1:7.2p2-4ubuntu2.1) ...
Setting up linux-firmware (1.157.4) ...
Setting up libidn11:amd64 (1.32-3ubuntu1.1) ...
Setting up libdbus-1-3:amd64 (1.10.6-1ubuntu3.1) ...
Setting up libpython3.5-minimal:amd64 (3.5.2-2ubuntu0~16.04.1) ...
Setting up vim-tiny (2:7.4.1689-3ubuntu1.2) ...
Setting up libdns162:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.2) ...
Setting up libpython3.5-stdlib:amd64 (3.5.2-2ubuntu0~16.04.1) ...
Setting up libisccfg140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up python3-apport (2.20.1-0ubuntu2.4) ...
Setting up python3.5-minimal (3.5.2-2ubuntu0~16.04.1) ...
Setting up openssh-sftp-server (1:7.2p2-4ubuntu2.1) ...
Setting up apport (2.20.1-0ubuntu2.4) ...
Setting up libbind9-140:amd64 (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up dbus (1.10.6-1ubuntu3.1) ...
A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
Setting up bind9-host (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up python3.5 (3.5.2-2ubuntu0~16.04.1) ...
Setting up apt-transport-https (1.2.15ubuntu0.2) ...
Setting up libpam-systemd:amd64 (229-4ubuntu10) ...
Setting up curl (7.47.0-1ubuntu2.2) ...
Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.1) ...
Setting up dnsutils (1:9.10.3.dfsg.P4-8ubuntu1.2) ...
Setting up openssh-server (1:7.2p2-4ubuntu2.1) ...
Installing new version of config file /etc/network/if-up.d/openssh-server ...
Setting up vim (2:7.4.1689-3ubuntu1.2) ...
Setting up liblxc1 (2.0.5-0ubuntu1~ubuntu16.04.3) ...
Setting up lxc-common (2.0.5-0ubuntu1~ubuntu16.04.3) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-57-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
ubu@ubuntu16:~$

and I executed again.

ubu@ubuntu16:~$ sudo apt update
Hit:1 http://jp.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://jp.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://jp.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Fetched 102 kB in 1s (71.2 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
73 packages can be upgraded. Run 'apt list --upgradable' to see them.
ubu@ubuntu16:~$