Ubuntu 16.04 apt update hash sum mismatch error (with error report)

Asked by Yehtut

Hi,

I am having problem with apt. When trying to update the available package lists, some of them failed showing hash sum mismatch error.

Followed the steps in the https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure, here is my terminal output.

yehtut@yehtut-5458:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
    raise Exception("No Release file found for %s" % pkgname)
Exception: No Release file found for appstream
yehtut@yehtut-5458:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
yehtut@yehtut-5458:~$
yehtut@yehtut-5458:~$ dpkg --print-foreign-architectures
i386
yehtut@yehtut-5458:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for yehtut:
yehtut@yehtut-5458:~$ grep roxy /etc/environment
yehtut@yehtut-5458:~$ echo $http_proxy

yehtut@yehtut-5458:~$ echo $ftp_proxy

yehtut@yehtut-5458:~$
yehtut@yehtut-5458:~$ grep roxy /etc/bash.bashrc
yehtut@yehtut-5458:~$ grep roxy ~/.bashrc
yehtut@yehtut-5458:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
yehtut@yehtut-5458:~$ sudo fuser -vvv /var/lib/dpkg/lock
yehtut@yehtut-5458:~$ sudo fuser -vvv /var/cache/apt/archives/lock
yehtut@yehtut-5458:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
yehtut@yehtut-5458:~$ uname -a
Linux yehtut-5458 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
yehtut@yehtut-5458:~$ sudo rm /var/lib/apt/lists/lock
yehtut@yehtut-5458:~$ sudo rm /var/cache/apt/archives/lock
yehtut@yehtut-5458:~$ sudo rm /var/lib/dpkg/lock
yehtut@yehtut-5458:~$
yehtut@yehtut-5458:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
yehtut@yehtut-5458:~$
yehtut@yehtut-5458:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
yehtut@yehtut-5458:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
yehtut@yehtut-5458:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
yehtut@yehtut-5458:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
yehtut@yehtut-5458:~$ sudo rm -rf /var/lib/dpkg/updates/*
yehtut@yehtut-5458:~$ sudo rm -rf /var/lib/apt/lists
yehtut@yehtut-5458:~$ sudo rm /var/cache/apt/*.bin
yehtut@yehtut-5458:~$ sudo mkdir /var/lib/apt/lists
yehtut@yehtut-5458:~$ sudo mkdir /var/lib/apt/lists/partial
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get clean
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
yehtut@yehtut-5458:~$
yehtut@yehtut-5458:~$ sudo dpkg --configure -a
yehtut@yehtut-5458:~$ sudo dpkg --clear-avail
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources [7,728 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [4,808 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,201 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1,196 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8,344 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8,684 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2,908 B]
Get:17 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7,512 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [283 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [181 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3,404 B]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,600 B]
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [668 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [630 kB]
Err:33 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
  Hash Sum mismatch
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [279 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [307 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Err:36 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons

Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [8,072 B]
Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [8,100 B]
Get:39 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,672 B]
Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [554 kB]
Err:41 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages

Get:42 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [526 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [225 kB]
Get:44 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,428 B]
Get:45 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,940 B]
Get:46 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,860 B]
Get:47 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4,856 B]
Get:48 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3,220 B]
Get:49 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
Get:50 http://archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]
Get:51 http://archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Get:52 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,600 B]
Get:53 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [6,584 B]
Get:54 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,760 B]
Get:55 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,588 B]
Get:56 http://archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2,717 B]
Get:57 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]
Get:58 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]
Get:59 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [102 kB]
Get:60 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [46.0 kB]
Get:61 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2,600 B]
Get:62 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,140 B]
Get:63 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [396 kB]
Get:64 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [364 kB]
Err:64 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages
  Hash Sum mismatch
Get:65 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [174 kB]
Get:66 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.2 kB]
Get:67 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.1 kB]
Get:68 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,472 B]
Get:69 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7,472 B]
Get:70 http://archive.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,412 B]
Get:71 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Get:72 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [183 kB]
Get:73 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [157 kB]
Get:74 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [96.5 kB]
Fetched 50.0 MB in 1min 54s (437 kB/s)
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/1f92d2835aefe8900109432f5a0a8dfd94b51597e2702481f3a51ed30878a382 Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/dep11/by-hash/SHA256/7819d6427ce9ed8d05d2ce7edb13a0fa942f0cb5f31aa4efddfca7cb18949637
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-amd64/by-hash/SHA256/d510918fe9623cc25daa52b9bf2d1311de77b9bc7a809617dc211589f3b49d73
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/main/binary-i386/by-hash/SHA256/a2cb74b8de3f87075201856fb6aa6db0b05de223a752144ed9e9952c0c342dae Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
yehtut@yehtut-5458:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [283 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [181 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3,404 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,600 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [668 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [630 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [279 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [307 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [8,072 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [8,100 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,672 B]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [526 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [225 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [185 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [259 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [7,996 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,888 B]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [102 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [46.0 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2,600 B]
Get:31 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,140 B]
Get:32 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [396 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages [364 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-security/main Translation-en [174 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.2 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.1 kB]
Get:37 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,472 B]
Get:38 http://archive.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [7,472 B]
Get:39 http://archive.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,412 B]
Get:40 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]
Get:41 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [183 kB]
Get:42 http://archive.ubuntu.com/ubuntu xenial-security/universe i386 Packages [157 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial-security/universe Translation-en [96.5 kB]
Get:44 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [51.3 kB]
Get:45 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [80.2 kB]
Get:46 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,212 B]
Get:47 http://archive.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3,384 B]
Get:48 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,336 B]
Get:49 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Get:50 http://archive.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [554 kB]
Fetched 2,623 kB in 15s (172 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  snap-confine
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  libcairo-perl libcapnp-0.5.3 libglib-perl libgtk2-perl libinput-bin
  libllvm4.0 libmircommon7 libmircore1 libpango-perl libxfont2
  linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic
  linux-image-4.10.0-40-generic linux-image-extra-4.10.0-40-generic
  xserver-xorg-legacy-hwe-16.04
The following packages will be upgraded:
  activity-log-manager apparmor appmenu-qt5 apport apport-gtk appstream apt
  apt-transport-https apt-utils base-files bash bind9-host binutils bluez
  bluez-cups bluez-obexd bsdutils ca-certificates coreutils cpp-5
  cracklib-runtime cups cups-bsd cups-client cups-common cups-core-drivers
  cups-daemon cups-ppdc cups-server-common desktop-file-utils distro-info-data
  dnsmasq-base dnsutils dpkg dpkg-dev eject evince evince-common firefox
  firefox-locale-en fonts-opensymbol fwupdate fwupdate-signed g++-5 gcc-5
  gcc-5-base gdb gdbserver ghostscript ghostscript-x gir1.2-appindicator3-0.1
  gir1.2-gdkpixbuf-2.0 gir1.2-gst-plugins-base-1.0 gir1.2-gtk-3.0
  gir1.2-javascriptcoregtk-4.0 gir1.2-packagekitglib-1.0 gir1.2-soup-2.4
  gir1.2-webkit2-4.0 gnome-software gnome-software-common grub-common grub-pc
  grub-pc-bin grub2-common gstreamer1.0-alsa gstreamer1.0-plugins-base
  gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good
  gstreamer1.0-pulseaudio gstreamer1.0-x gvfs gvfs-backends gvfs-bin
  gvfs-common gvfs-daemons gvfs-fuse gvfs-libs imagemagick imagemagick-6.q16
  imagemagick-common init init-system-helpers initramfs-tools
  initramfs-tools-bin initramfs-tools-core iproute2 isc-dhcp-client
  isc-dhcp-common klibc-utils kmod less libapparmor-perl libapparmor1
  libappindicator3-1 libappstream-glib8 libappstream3 libapt-inst2.0
  libapt-pkg5.0 libarchive13 libasan2 libasn1-8-heimdal libatomic1
  libbind9-140 libblkid1 libbluetooth3 libc-bin libc-dev-bin libc6 libc6-dbg
  libc6-dev libcc1-0 libcilkrts5 libcrack2 libcryptsetup4 libcups2 libcupscgi1
  libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls libdb5.3
  libdns-export162 libdns162 libdpkg-perl libdrm-amdgpu1 libdrm-intel1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa libepoxy0
  libevdocument3-4 libevent-2.0-5 libevview3-3 libexiv2-14 libexpat1 libfdisk1
  libfreerdp-cache1.1 libfreerdp-client1.1 libfreerdp-codec1.1
  libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1
  libfreerdp-gdi1.1 libfreerdp-locale1.1 libfreerdp-plugins-standard
  libfreerdp-primitives1.1 libfreerdp-utils1.1 libfreetype6 libfwup0
  libgail-3-0 libgail-common libgail18 libgbm1 libgcc-5-dev libgcrypt20 libgd3
  libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx
  libglapi-mesa libgnutls-openssl27 libgnutls30 libgomp1 libgraphite2-3 libgs9
  libgs9-common libgssapi3-heimdal libgstreamer-plugins-base1.0-0
  libgstreamer-plugins-good1.0-0 libgtk-3-0 libgtk-3-bin libgtk-3-common
  libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhcrypto4-heimdal
  libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libicu55
  libidn11 libinput10 libisc-export160 libisc160 libisccc140 libisccfg140
  libitm1 libjasper1 libjavascriptcoregtk-4.0-18 libjbig2dec0 libklibc
  libkmod2 libkrb5-26-heimdal libldap-2.4-2 liblightdm-gobject-1-0
  liblouis-data liblouis9 liblsan0 liblwres141 libmagickcore-6.q16-2
  libmagickcore-6.q16-2-extra libmagickwand-6.q16-2 libmetacity-private3a
  libminiupnpc10 libmirclient9 libmirprotobuf3 libmount1 libmpx0 libmwaw-0.3-3
  libnautilus-extension1a libnl-3-200 libnl-genl-3-200 libnm-glib-vpn1
  libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libnm0 libnma-common
  libnma0 libnspr4 libnss3 libnss3-nssdb liboxideqt-qmlplugin liboxideqtcore0
  liboxideqtquick0 libpackagekit-glib2-16 libpam-systemd libpci3 libperl5.22
  libplist3 libplymouth4 libpoppler-glib8 libpoppler58 libpulse-mainloop-glib0
  libpulse0 libpulsedsp libpython3.5 libpython3.5-minimal libpython3.5-stdlib
  libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
  libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5
  libqt5xml5 libquadmath0 libraw15 libreoffice-avmedia-backend-gstreamer
  libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core
  libreoffice-draw libreoffice-gnome libreoffice-gtk libreoffice-impress
  libreoffice-math libreoffice-ogltrans libreoffice-pdfimport
  libreoffice-style-breeze libreoffice-style-galaxy libreoffice-writer
  libroken18-heimdal librtmp1 libsane libsane-common libsmartcols1
  libsmbclient libsnapd-glib1 libsndfile1 libsoup-gnome2.4-1 libsoup2.4-1
  libssl1.0.0 libstdc++-5-dev libstdc++6 libsystemd0 libtasn1-6 libtiff5
  libtsan0 libubsan0 libudev1 libunity-control-center1 libuuid1 libwacom-bin
  libwacom-common libwacom2 libwayland-client0 libwayland-cursor0
  libwayland-egl1-mesa libwayland-server0 libwbclient0 libwebkit2gtk-4.0-37
  libwebkit2gtk-4.0-37-gtk2 libwhoopsie0 libwind0-heimdal libwinpr-crt0.1
  libwinpr-dsparse0.1 libwinpr-environment0.1 libwinpr-file0.1
  libwinpr-handle0.1 libwinpr-heap0.1 libwinpr-input0.1
  libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1
  libwinpr-pool0.1 libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1
  libwinpr-synch0.1 libwinpr-sysinfo0.1 libwinpr-thread0.1 libwinpr-utils0.1
  libxatracker2 libxfont1 libxml2 libxslt1.1 lightdm lintian linux-firmware
  linux-generic-hwe-16.04 linux-headers-generic-hwe-16.04
  linux-image-generic-hwe-16.04 linux-libc-dev locales login logrotate lshw
  makedev metacity-common mount multiarch-support nano nautilus nautilus-data
  network-manager network-manager-gnome openssh-client openssl oxideqt-codecs
  passwd pciutils perl perl-base perl-modules-5.22 plymouth plymouth-label
  plymouth-theme-ubuntu-logo plymouth-theme-ubuntu-text poppler-utils
  pulseaudio pulseaudio-module-bluetooth pulseaudio-module-x11
  pulseaudio-utils python3-apport python3-distupgrade python3-jwt
  python3-louis python3-pil python3-problem-report python3-software-properties
  python3-uno python3-update-manager python3.5 python3.5-minimal resolvconf
  samba-libs sane-utils session-shortcuts shotwell shotwell-common
  snap-confine snapd snapd-login-service sni-qt software-properties-common
  software-properties-gtk sudo systemd systemd-sysv tcpdump thermald
  thunderbird thunderbird-gnome-support thunderbird-locale-en
  thunderbird-locale-en-us tzdata ubuntu-core-launcher ubuntu-desktop
  ubuntu-drivers-common ubuntu-minimal ubuntu-release-upgrader-core
  ubuntu-release-upgrader-gtk ubuntu-software ubuntu-standard udev
  unattended-upgrades unity-control-center unity-control-center-faces
  uno-libs3 update-manager update-manager-core update-notifier
  update-notifier-common ure util-linux uuid-runtime vino wget whoopsie
  wpasupplicant xfonts-utils xserver-common xserver-xorg-core-hwe-16.04
  xserver-xorg-hwe-16.04 xserver-xorg-input-all-hwe-16.04
  xserver-xorg-input-evdev-hwe-16.04 xserver-xorg-input-synaptics-hwe-16.04
  xserver-xorg-input-wacom-hwe-16.04 xserver-xorg-video-all-hwe-16.04
  xserver-xorg-video-amdgpu-hwe-16.04 xserver-xorg-video-ati-hwe-16.04
  xserver-xorg-video-fbdev-hwe-16.04 xserver-xorg-video-intel-hwe-16.04
  xserver-xorg-video-nouveau-hwe-16.04 xserver-xorg-video-qxl-hwe-16.04
  xserver-xorg-video-radeon-hwe-16.04 xserver-xorg-video-vesa-hwe-16.04
  xserver-xorg-video-vmware-hwe-16.04 xul-ext-ubufox zlib1g
440 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 523 MB of archives.
After this operation, 521 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
yehtut@yehtut-5458:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu xenial main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu xenial main universe restricted multiverse
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu xenial-updates main universe restricted multiverse
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu xenial universe
    17 # deb-src http://mm.archive.ubuntu.com/ubuntu/ xenial universe
    18 deb http://archive.ubuntu.com/ubuntu xenial-updates universe
    19 # deb-src http://mm.archive.ubuntu.com/ubuntu/ xenial-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://archive.ubuntu.com/ubuntu xenial multiverse
    27 # deb-src http://mm.archive.ubuntu.com/ubuntu/ xenial multiverse
    28 deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
    29 # deb-src http://mm.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
    37 deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
    38
    39 ## Uncomment the following two lines to add software from Canonical's
    40 ## 'partner' repository.
    41 ## This software is not part of Ubuntu, but is offered by Canonical and the
    42 ## respective vendors as a service to Ubuntu users.
    43 # deb http://archive.canonical.com/ubuntu xenial partner
    44 # deb-src http://archive.canonical.com/ubuntu xenial partner
    45
    46 deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
    47 deb-src http://archive.ubuntu.com/ubuntu xenial-security main universe restricted multiverse
    48 deb http://archive.ubuntu.com/ubuntu xenial-security universe
    49 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    50 deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
    51 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
yehtut@yehtut-5458:~$ sudo dpkg --audit
yehtut@yehtut-5458:~$

Please help!

Once I tried this command

sudo rm -rf /var/lib/apt/lists/partial
sudo apt-get update -o Acquire::CompressionTypes::Order::=gz

and solved the error for a while, but this keeps happening.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you run:

sudo apt-get upgrade
sudo apt-get dist-upgrade

Does it update OK? You have a lot of updates to grab

Can you help with this problem?

Provide an answer of your own, or ask Yehtut for more information if necessary.

To post a message you must log in.