Skip to content

random failures during apt-get update #56

Description

@drzraf

For an unkown reason the image (at least the php:5.6 version) fails randomly at apt-get update'ing things:

It works:

$ apt-get -y update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 https://deb.nodesource.com jessie InRelease [4634 B]
Get:3 https://dl.yarnpkg.com stable InRelease [11.5 kB]
Ign http://deb.debian.org jessie InRelease
Get:4 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:5 http://deb.debian.org jessie Release.gpg [2373 B]
Get:6 http://deb.debian.org jessie Release [148 kB]
Get:7 http://security.debian.org jessie/updates/main amd64 Packages [535 kB]
Get:8 https://deb.nodesource.com jessie/main Sources [765 B]
Get:9 https://deb.nodesource.com jessie/main amd64 Packages [960 B]
Get:10 https://dl.yarnpkg.com stable/main amd64 Packages [5555 B]
Get:11 http://deb.debian.org jessie-updates/main amd64 Packages [17.8 kB]
Get:12 http://deb.debian.org jessie/main amd64 Packages [9065 kB]
Fetched 10.0 MB in 3s (2580 kB/s)
Reading package lists...

Then, same job, same image, same commit:

$ apt-get -y update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 https://deb.nodesource.com jessie InRelease [4634 B]
Get:3 https://dl.yarnpkg.com stable InRelease [11.5 kB]
Ign http://httpredir.debian.org jessie InRelease
Get:4 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:5 http://httpredir.debian.org jessie Release.gpg [2373 B]
Get:6 http://httpredir.debian.org jessie Release [148 kB]
Get:7 http://security.debian.org jessie/updates/main amd64 Packages [535 kB]
Get:8 https://deb.nodesource.com jessie/main Sources [765 B]
Get:9 https://deb.nodesource.com jessie/main amd64 Packages [960 B]
Get:10 https://dl.yarnpkg.com stable/main amd64 Packages [5555 B]
Get:11 http://httpredir.debian.org jessie/contrib amd64 Packages [59.5 kB]
Get:12 http://httpredir.debian.org jessie/non-free amd64 Packages [101 kB]
Get:13 http://deb.debian.org jessie-updates/main amd64 Packages [17.8 kB]
Fetched 1096 kB in 2s (370 kB/s)
Reading package lists...

so it fails to grab deb.debian.org jessie/main amd64, so the next apt-get install is likely to fail.
Could you please double-check image's state of /etc/apt/sources.list*? I'd not surprised if it'd contain oddities.

Side note: none of this package distribution URLs should use clear-HTTP.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions