Sangjin Lee created HADOOP-19809:
------------------------------------

             Summary: start-build-env.sh fails
                 Key: HADOOP-19809
                 URL: https://issues.apache.org/jira/browse/HADOOP-19809
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 3.5.0
            Reporter: Sangjin Lee


Running {{start-build-env.sh}} fails at the 10th step with the following error:

{{Step 10/30 : RUN apt-get -q update     && apt-get -q install -y 
--no-install-recommends wget apt-transport-https gpg gpg-agent gawk 
ca-certificates     && apt-get -q install -y --no-install-recommends python3 
pylint python3-dateutil     && echo "deb 
https://packages.adoptium.net/artifactory/deb $(awk -F= 
'/^VERSION_CODENAME/\{print$2}' /etc/os-release) main" > 
/etc/apt/sources.list.d/adoptium.list     && wget -q -O - 
https://packages.adoptium.net/artifactory/api/gpg/key/public > 
/etc/apt/trusted.gpg.d/adoptium.asc      && apt-get -q update     && apt-get -q 
install -y --no-install-recommends $(pkg-resolver/resolve.py ubuntu:noble)     
&& apt-get clean     && update-java-alternatives -s java-1.17.0-openjdk-amd64   
  && rm -rf /var/lib/apt/lists/*}}
{{ ---> Running in 3a1b2b8bc40d}}
{{Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]}}
{{Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]}}
{{Get:3 http://security.ubuntu.com/ubuntu noble-security/universe amd64 
Packages [1199 kB]}}
{{Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]}}
{{Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]}}
{{Get:6 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 
kB]}}
{{Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]}}
{{Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 
[1802 kB]}}
{{Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 
Packages [34.8 kB]}}
{{Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 
Packages [3061 kB]}}
{{Get:11 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 
kB]}}
{{Get:12 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 
MB]}}
{{Get:13 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
Packages [3280 kB]}}
{{Get:14 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages 
[2198 kB]}}
{{Get:15 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 
Packages [38.1 kB]}}
{{Get:16 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages 
[1978 kB]}}
{{Get:17 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 
Packages [34.6 kB]}}
{{Get:18 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages 
[49.5 kB]}}
{{Fetched 35.9 MB in 4s (8483 kB/s)}}
{{Reading package lists...}}
{{E: Problem executing scripts APT::Update::Post-Invoke 'rm -f 
/var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb 
/var/cache/apt/*.bin || true'}}
{{E: Sub-process returned an error code}}
{{The command '/bin/bash -o pipefail -c apt-get -q update     && apt-get -q 
install -y --no-install-recommends wget apt-transport-https gpg gpg-agent gawk 
ca-certificates     && apt-get -q install -y --no-install-recommends python3 
pylint python3-dateutil     && echo "deb 
https://packages.adoptium.net/artifactory/deb $(awk -F= 
'/^VERSION_CODENAME/\{print$2}' /etc/os-release) main" > 
/etc/apt/sources.list.d/adoptium.list     && wget -q -O - 
https://packages.adoptium.net/artifactory/api/gpg/key/public > 
/etc/apt/trusted.gpg.d/adoptium.asc      && apt-get -q update     && apt-get -q 
install -y --no-install-recommends $(pkg-resolver/resolve.py ubuntu:noble)     
&& apt-get clean     && update-java-alternatives -s java-1.17.0-openjdk-amd64   
  && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to