Sudo apt-get update returned exit code 100 on ubuntu builds within circle


#1

Hi there,

I’m getting sudo apt-get update returned exit code 100 on running that command as part of the build environment using ubuntu 16

More info:

Fetched 3,972 kB in 2min 29s (26.5 kB/s)
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-amd64_Packages.gz is not what the server reported 4727 4728
W: Size of file /var/lib/apt/lists/cli-assets.heroku.com_branches_stable_apt_._Packages.gz is not what the server reported 562 760
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_multiverse_binary-amd64_Packages.gz is not what the server reported 16013 16331
W: Failed to fetch copy:/var/lib/apt/lists/partial/packagecloud.io_circleci_trusty_ubuntu_dists_trusty_main_source_Sources Failed to stat - stat (2: No such file or directory)

W: Failed to fetch copy:/var/lib/apt/lists/partial/packagecloud.io_github_git-lfs_ubuntu_dists_trusty_main_source_Sources Failed to stat - stat (2: No such file or directory)

E: Some index files failed to download. They have been ignored, or old ones used instead.

No changes have been made to the build flow, and this has only happened today on commits.


#2

What base Docker image are you using?


#3

Hilariously as soon as I posted this the builds started going through again. It might have been an issue they just resolved, or it could have been something on trusty side. Funny though as it’d been going on for an hour or so lol.


#4

It’s a reverse Schroedingbug - as soon as you post a fault report, It Knows and starts working again. Computers do like a chuckle!