Docker build fails with "The repository 'https://static.redox-os.org/toolchain/apt Release' does not have a Release file."
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
I am unable to build the image as described by the README.md
that is located in the docker
directory.
Environment info
- Operating system: Arch Linux
-
uname -a
:Linux Europa 5.6.19.a-1-hardened #1 SMP PREEMPT Sat, 20 Jun 2020 15:16:50 +0000 x86_64 GNU/Linux
-
rustc -V
:rustc 1.44.1
-
git rev-parse HEAD
:d07d1a2b05f2c21ead53a5f9827b4ed4ade3d958
-
docker -v
:Docker version 19.03.11-ce, build 42e35e61f3
Steps to reproduce
- Clone the repository
- Follow instructions in
docker/Readme.md
- Run
docker build .
while sitting in docker directory. - Watch the docker build fail.
Behavior
- Expected behavior: The docker build process to complete successfully.
-
Actual behavior:
The docker build process appears to fail on trying to
apt update
with the Redox OS PPA.
Sending build context to Docker daemon 2.059MB
Step 1/7 : FROM rustlang/rust:nightly
---> 79cf78416827
Step 2/7 : ENV IMAGE_NAME=redox-os-docker
---> Using cache
---> 29d0179523ca
Step 3/7 : RUN set -ex; apt-get update; apt-get install -q -y --no-install-recommends apt-transport-https bison flex fuse gosu libfuse-dev nasm qemu-utils sudo texinfo autopoint git cmake gperf libhtml-parser-perl ; apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F; echo "deb https://static.redox-os.org/toolchain/apt/ /" >> /etc/apt/sources.list.d/redox.list; apt-get update -o Dir::Etc::sourcelist="redox.list"; apt-get install -q -y --no-install-recommends x86-64-unknown-redox-newlib x86-64-unknown-redox-binutils x86-64-unknown-redox-gcc ; cargo install xargo; cargo install cargo-config; apt-get autoremove -q -y; apt-get clean -q -y; rm -rf /var/lib/apt/lists/*
---> Running in 45a5f5664f88
+ apt-get update
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [204 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
Fetched 8355 kB in 3s (2739 kB/s)
Reading package lists...
+ apt-get install -q -y --no-install-recommends apt-transport-https bison flex fuse gosu libfuse-dev nasm qemu-utils sudo texinfo autopoint git cmake gperf libhtml-parser-perl
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.20.1-2+deb10u3).
The following additional packages will be installed:
cmake-data libaio1 libarchive13 libbison-dev libfuse2 libhtml-tagset-perl
libjsoncpp1 librhash0 libtext-unidecode-perl liburi-perl libuv1
libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl
libxml-sax-perl tex-common
Suggested packages:
bison-doc cmake-doc ninja-build build-essential flex-doc lrzip
libdata-dump-perl libwww-perl debootstrap qemu-block-extra debhelper
texlive-base texlive-latex-base texlive-generic-recommended
texinfo-doc-nonfree texlive-fonts-recommended
Recommended packages:
libfl-dev libhttp-message-perl libwww-perl libxml-sax-expat-perl
The following NEW packages will be installed:
apt-transport-https autopoint bison cmake cmake-data flex fuse gosu gperf
libaio1 libarchive13 libbison-dev libfuse-dev libfuse2 libhtml-parser-perl
libhtml-tagset-perl libjsoncpp1 librhash0 libtext-unidecode-perl liburi-perl
libuv1 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl
libxml-sax-perl nasm qemu-utils sudo tex-common texinfo
0 upgraded, 30 newly installed, 0 to remove and 1 not upgraded.
Need to get 13.9 MB of archives.
After this operation, 59.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 flex amd64 2.6.4-6.2 [456 kB]
Get:2 http://security.debian.org/debian-security buster/updates/main amd64 apt-transport-https all 1.8.2.1 [149 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 tex-common all 6.11 [53.1 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 autopoint all 0.19.8.1-9 [434 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libbison-dev amd64 2:3.3.2.dfsg-1 [500 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 bison amd64 2:3.3.2.dfsg-1 [871 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1476 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3480 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libfuse2 amd64 2.9.9-1+deb10u1 [128 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 fuse amd64 2.9.9-1+deb10u1 [72.3 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 gosu amd64 1.10-1+b23 [523 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 gperf amd64 3.1-1 [147 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libaio1 amd64 0.3.112-3 [11.2 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libfuse-dev amd64 2.9.9-1+deb10u1 [152 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libhtml-tagset-perl all 3.20-3 [12.7 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 liburi-perl all 1.76-1 [89.9 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libhtml-parser-perl amd64 3.72-3+b3 [105 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libtext-unidecode-perl all 1.30-1 [103 kB]
Get:23 http://deb.debian.org/debian buster/main amd64 libxml-namespacesupport-perl all 1.12-1 [14.8 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 libxml-sax-base-perl all 1.09-1 [20.4 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libxml-sax-perl all 1.00+dfsg-1 [58.6 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1 [344 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 nasm amd64 2.14-1 [400 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 qemu-utils amd64 1:3.1+dfsg-8+deb10u5 [966 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 sudo amd64 1.8.27-1+deb10u2 [1245 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 texinfo amd64 6.5.0.dfsg.1-4+b1 [1431 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 13.9 MB in 3s (4694 kB/s)
Selecting previously unselected package flex.
(Reading database ... 23977 files and directories currently installed.)
Preparing to unpack .../00-flex_2.6.4-6.2_amd64.deb ...
Unpacking flex (2.6.4-6.2) ...
Selecting previously unselected package tex-common.
Preparing to unpack .../01-tex-common_6.11_all.deb ...
Unpacking tex-common (6.11) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../02-apt-transport-https_1.8.2.1_all.deb ...
Unpacking apt-transport-https (1.8.2.1) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../03-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package libbison-dev:amd64.
Preparing to unpack .../04-libbison-dev_2%3a3.3.2.dfsg-1_amd64.deb ...
Unpacking libbison-dev:amd64 (2:3.3.2.dfsg-1) ...
Selecting previously unselected package bison.
Preparing to unpack .../05-bison_2%3a3.3.2.dfsg-1_amd64.deb ...
Unpacking bison (2:3.3.2.dfsg-1) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../06-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../07-libarchive13_3.3.3-4+deb10u1_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libfuse2:amd64.
Preparing to unpack .../12-libfuse2_2.9.9-1+deb10u1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.9-1+deb10u1) ...
Selecting previously unselected package fuse.
Preparing to unpack .../13-fuse_2.9.9-1+deb10u1_amd64.deb ...
Unpacking fuse (2.9.9-1+deb10u1) ...
Selecting previously unselected package gosu.
Preparing to unpack .../14-gosu_1.10-1+b23_amd64.deb ...
Unpacking gosu (1.10-1+b23) ...
Selecting previously unselected package gperf.
Preparing to unpack .../15-gperf_3.1-1_amd64.deb ...
Unpacking gperf (3.1-1) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../16-libaio1_0.3.112-3_amd64.deb ...
Unpacking libaio1:amd64 (0.3.112-3) ...
Selecting previously unselected package libfuse-dev.
Preparing to unpack .../17-libfuse-dev_2.9.9-1+deb10u1_amd64.deb ...
Unpacking libfuse-dev (2.9.9-1+deb10u1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../18-libhtml-tagset-perl_3.20-3_all.deb ...
Unpacking libhtml-tagset-perl (3.20-3) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../19-liburi-perl_1.76-1_all.deb ...
Unpacking liburi-perl (1.76-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../20-libhtml-parser-perl_3.72-3+b3_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-3+b3) ...
Selecting previously unselected package libtext-unidecode-perl.
Preparing to unpack .../21-libtext-unidecode-perl_1.30-1_all.deb ...
Unpacking libtext-unidecode-perl (1.30-1) ...
Selecting previously unselected package libxml-namespacesupport-perl.
Preparing to unpack .../22-libxml-namespacesupport-perl_1.12-1_all.deb ...
Unpacking libxml-namespacesupport-perl (1.12-1) ...
Selecting previously unselected package libxml-sax-base-perl.
Preparing to unpack .../23-libxml-sax-base-perl_1.09-1_all.deb ...
Unpacking libxml-sax-base-perl (1.09-1) ...
Selecting previously unselected package libxml-sax-perl.
Preparing to unpack .../24-libxml-sax-perl_1.00+dfsg-1_all.deb ...
Unpacking libxml-sax-perl (1.00+dfsg-1) ...
Selecting previously unselected package libxml-libxml-perl.
Preparing to unpack .../25-libxml-libxml-perl_2.0134+dfsg-1_amd64.deb ...
Unpacking libxml-libxml-perl (2.0134+dfsg-1) ...
Selecting previously unselected package nasm.
Preparing to unpack .../26-nasm_2.14-1_amd64.deb ...
Unpacking nasm (2.14-1) ...
Selecting previously unselected package qemu-utils.
Preparing to unpack .../27-qemu-utils_1%3a3.1+dfsg-8+deb10u5_amd64.deb ...
Unpacking qemu-utils (1:3.1+dfsg-8+deb10u5) ...
Selecting previously unselected package sudo.
Preparing to unpack .../28-sudo_1.8.27-1+deb10u2_amd64.deb ...
Unpacking sudo (1.8.27-1+deb10u2) ...
Selecting previously unselected package texinfo.
Preparing to unpack .../29-texinfo_6.5.0.dfsg.1-4+b1_amd64.deb ...
Unpacking texinfo (6.5.0.dfsg.1-4+b1) ...
Setting up flex (2.6.4-6.2) ...
Setting up apt-transport-https (1.8.2.1) ...
Setting up libbison-dev:amd64 (2:3.3.2.dfsg-1) ...
Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ...
Setting up libhtml-tagset-perl (3.20-3) ...
Setting up libxml-namespacesupport-perl (1.12-1) ...
Setting up libfuse2:amd64 (2.9.9-1+deb10u1) ...
Setting up gperf (3.1-1) ...
Setting up tex-common (6.11) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
update-language: texlive-base not installed and configured, doing nothing!
Setting up libxml-sax-base-perl (1.09-1) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up gosu (1.10-1+b23) ...
Setting up autopoint (0.19.8.1-9) ...
Setting up sudo (1.8.27-1+deb10u2) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up nasm (2.14-1) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up bison (2:3.3.2.dfsg-1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
Setting up cmake-data (3.13.4-1) ...
Setting up libaio1:amd64 (0.3.112-3) ...
Setting up libtext-unidecode-perl (1.30-1) ...
Setting up liburi-perl (1.76-1) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up fuse (2.9.9-1+deb10u1) ...
Setting up libfuse-dev (2.9.9-1+deb10u1) ...
Setting up libxml-sax-perl (1.00+dfsg-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libxml-libxml-perl (2.0134+dfsg-1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libhtml-parser-perl (3.72-3+b3) ...
Setting up cmake (3.13.4-1) ...
Setting up qemu-utils (1:3.1+dfsg-8+deb10u5) ...
Setting up texinfo (6.5.0.dfsg.1-4+b1) ...
Processing triggers for libc-bin (2.28-10) ...
+ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F
Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.su4CWvu0dv/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F
gpg: key AA12E97F0881517F: public key "Redox OS <info@redox-os.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
+ echo deb https://static.redox-os.org/toolchain/apt/ /
+ apt-get update -o Dir::Etc::sourcelist=redox.list
Ign:1 https://static.redox-os.org/toolchain/apt InRelease
Err:2 https://static.redox-os.org/toolchain/apt Release
404 Not Found [IP: 23.21.162.66 443]
Reading package lists...
E: The repository 'https://static.redox-os.org/toolchain/apt Release' does not have a Release file.
The command '/bin/sh -c set -ex; apt-get update; apt-get install -q -y --no-install-recommends apt-transport-https bison flex fuse gosu libfuse-dev nasm qemu-utils sudo texinfo autopoint git cmake gperf libhtml-parser-perl ; apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F; echo "deb https://static.redox-os.org/toolchain/apt/ /" >> /etc/apt/sources.list.d/redox.list; apt-get update -o Dir::Etc::sourcelist="redox.list"; apt-get install -q -y --no-install-recommends x86-64-unknown-redox-newlib x86-64-unknown-redox-binutils x86-64-unknown-redox-gcc ; cargo install xargo; cargo install cargo-config; apt-get autoremove -q -y; apt-get clean -q -y; rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100