Skip to content

Fix "Build on non-Ubuntu Linux using Docker / Build on Debian Buster with GCC" runner #668

@Cropi

Description

@Cropi

All three repositories for Debian Buster (10) are returning 404 Not Found. I believe apt-get update fails because it cannot download package metadata, and the build dies before it can install anything. Maybe it's EoL?

Logs:

 #7 [ 2/17] RUN head -n1 /etc/os-release         &&     apt-get update         &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes -V             asciidoc             autoconf             automake             bash-completion             build-essential             docbook-xml             docbook-xsl             git             ldap-utils             libaudit-dev             libcap-ng-dev             libdbus-glib-1-dev             libldap-dev             libpolkit-gobject-1-dev             libprotobuf-dev             libqb-dev             libseccomp-dev             libsodium-dev             libtool             libxml2-utils             libumockdev-dev             pkg-config             protobuf-compiler             sudo             systemd             tao-pegtl-dev             xsltproc
#7 0.199 PRETTY_NAME="Debian GNU/Linux 10 (buster)"
#7 0.357 Ign:1 http://security.debian.org/debian-security buster/updates InRelease
#7 0.358 Err:2 http://security.debian.org/debian-security buster/updates Release
#7 0.358   404  Not Found [IP: 151.101.202.132 80]
#7 0.392 Ign:3 http://deb.debian.org/debian buster InRelease
#7 0.395 Ign:4 http://deb.debian.org/debian buster-updates InRelease
#7 0.397 Err:5 http://deb.debian.org/debian buster Release
#7 0.397   404  Not Found [IP: 151.101.42.132 80]
#7 0.400 Err:6 http://deb.debian.org/debian buster-updates Release
#7 0.400   404  Not Found [IP: 151.101.42.132 80]
#7 0.404 Reading package lists...
#7 0.413 E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file.
#7 0.413 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
#7 0.413 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
#7 ERROR: process "/bin/bash -c head -n1 /etc/os-release         &&     apt-get update         &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes -V             asciidoc             autoconf             automake             bash-completion             build-essential             docbook-xml             docbook-xsl             git             ldap-utils             libaudit-dev             libcap-ng-dev             libdbus-glib-1-dev             libldap-dev             libpolkit-gobject-1-dev             libprotobuf-dev             libqb-dev             libseccomp-dev             libsodium-dev             libtool             libxml2-utils             libumockdev-dev             pkg-config             protobuf-compiler             sudo             systemd             tao-pegtl-dev             xsltproc" did not complete successfully: exit code: 100
------
 > [ 2/17] RUN head -n1 /etc/os-release         &&     apt-get update         &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes -V             asciidoc             autoconf             automake             bash-completion             build-essential             docbook-xml             docbook-xsl             git             ldap-utils             libaudit-dev             libcap-ng-dev             libdbus-glib-1-dev             libldap-dev             libpolkit-gobject-1-dev             libprotobuf-dev             libqb-dev             libseccomp-dev             libsodium-dev             libtool             libxml2-utils             libumockdev-dev             pkg-config             protobuf-compiler             sudo             systemd             tao-pegtl-dev             xsltproc:
0.392 Ign:3 http://deb.debian.org/debian buster InRelease
0.395 Ign:4 http://deb.debian.org/debian buster-updates InRelease
0.397 Err:5 http://deb.debian.org/debian buster Release
0.397   404  Not Found [IP: 151.101.42.132 80]
0.400 Err:6 http://deb.debian.org/debian buster-updates Release
0.400   404  Not Found [IP: 151.101.42.132 80]
0.404 Reading package lists...
0.413 E: The repository 'http://security.debian.org/debian-security buster/updates Release' does not have a Release file.
0.413 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
0.413 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
------

 1 warning found (use docker --debug to expand):
 - WorkdirRelativePath: Relative workdir "usbguard" can have unexpected results if the base image changes (line 58)
build_on_debian_buster_with_gcc_9_2.Dockerfile:19
--------------------
  18 |     SHELL ["/bin/bash", "-c"]
  19 | >>> RUN head -n1 /etc/os-release \
  20 | >>>         && \
  21 | >>>     apt-get update \
  22 | >>>         && \
  23 | >>>     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes -V \
  24 | >>>             asciidoc \
  25 | >>>             autoconf \
  26 | >>>             automake \
  27 | >>>             bash-completion \
  28 | >>>             build-essential \
  29 | >>>             docbook-xml \
  30 | >>>             docbook-xsl \
  31 | >>>             git \
  32 | >>>             ldap-utils \
  33 | >>>             libaudit-dev \
  34 | >>>             libcap-ng-dev \
  35 | >>>             libdbus-glib-1-dev \
  36 | >>>             libldap-dev \
  37 | >>>             libpolkit-gobject-1-dev \
  38 | >>>             libprotobuf-dev \
  39 | >>>             libqb-dev \
  40 | >>>             libseccomp-dev \
  41 | >>>             libsodium-dev \
  42 | >>>             libtool \
  43 | >>>             libxml2-utils \
  44 | >>>             libumockdev-dev \
  45 | >>>             pkg-config \
  46 | >>>             protobuf-compiler \
  47 | >>>             sudo \
  48 | >>>             systemd \
  49 | >>>             tao-pegtl-dev \
  50 | >>>             xsltproc
  51 |     RUN set -x \
--------------------
ERROR: failed to build: failed to solve: process "/bin/bash -c head -n1 /etc/os-release         &&     apt-get update         &&     DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes -V             asciidoc             autoconf             automake             bash-completion             build-essential             docbook-xml             docbook-xsl             git             ldap-utils             libaudit-dev             libcap-ng-dev             libdbus-glib-1-dev             libldap-dev             libpolkit-gobject-1-dev             libprotobuf-dev             libqb-dev             libseccomp-dev             libsodium-dev             libtool             libxml2-utils             libumockdev-dev             pkg-config             protobuf-compiler             sudo             systemd             tao-pegtl-dev             xsltproc" did not complete successfully: exit code: 100
Error: Process completed with exit code 1.

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