I have a very large 'apt update' download problem (160+ MB), which occurs from time to time, especially when not updating and checking for a few days. Another update run a few hours after may not result in such a large download but only 7MB or so. Noticed in older posts about this,
that the problem was said to have been fixed, but here it is again, and i suspect the reason may be a little different from so many years back.
I have to add that I have disabled the automatic updates by setting the flags in
/etc/apt/apt.conf.d/20auto-upgrades
to 0
, but I am not aware of doing any other update-related changes to the system. Further, this is not happening on all the systems running the software, one of them has normal updates all the time, under 10MB.
Here is a sample of the full terminal output:
$ apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [753 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [531 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [593 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [382 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [73.8 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [143 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates i386 Contents (deb) [33.0 MB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.5 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17.6 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41.5 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security amd64 Contents (deb) [43.8 MB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates amd64 Contents (deb) [50.3 MB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security i386 Contents (deb) [28.3 MB]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [982 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,012 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [253 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [201 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [437 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:25 http://us.archive.ubuntu.com/ubuntu bionic-backports amd64 Contents (deb) [8,376 B]
Get:26 http://us.archive.ubuntu.com/ubuntu bionic-backports i386 Contents (deb) [8,376 B]
Get:27 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,920 B]
Get:28 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [593 kB]
Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [613 kB]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.1 kB]
Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [116 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Fetched 163 MB in 1min 33s (1,742 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
$
and here are only the large (MB-size) files in the above download report:
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates i386 Contents (deb) [33.0 MB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security amd64 Contents (deb) [43.8 MB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates amd64 Contents (deb) [50.3 MB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security i386 Contents (deb) [28.3 MB]
And the sources list:
$ cat /etc/apt/sources.list | grep -vE "^#|^$"
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Finally:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic