Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during ARM64/ARM32/PPC64LE deb package generation - backport to 4.3 #2182

Closed
jnasselle opened this issue Apr 28, 2023 · 0 comments · May be fixed by #2179
Closed

Error during ARM64/ARM32/PPC64LE deb package generation - backport to 4.3 #2182

jnasselle opened this issue Apr 28, 2023 · 0 comments · May be fixed by #2179
Assignees
Labels

Comments

@jnasselle
Copy link
Member

Wazuh version Install type Action performed Platform
up to master Manager/API/Agent Package generation Debian Stretch

Description

It was found that Debian Stretch repositories were archived and the URL has changed, causing the containers used to generate packages are currently failing. Those are

  • ARM64
[root@ip-172-31-20-192 debs]# ./generate_debian_package.sh -b 4.4 -t agent -a arm64 -j 4 --dev
Sending build context to Docker daemon  9.216kB
Step 1/13 : FROM arm64v8/debian:stretch
 ---> 654e5570a46c
Step 2/13 : ENV DEBIAN_FRONTEND noninteractive
 ---> Running in 0887facf61ca
Removing intermediate container 0887facf61ca
 ---> 79ab6738afcc
Step 3/13 : RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list &&     echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list &&     apt-get update && apt-get install -y --allow-change-held-packages apt apt-utils      curl gcc g++ make sudo expect gnupg     perl-base perl wget libc-bin libc6 libc6-dev     build-essential cdbs devscripts equivs automake     autoconf libtool libaudit-dev selinux-basics     libdb5.3 libdb5.3 libssl1.0.2 gawk libsigsegv2
 ---> Running in a8b21328c842
Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Ign:3 http://security.debian.org/debian-security stretch/updates Release
Ign:4 http://deb.debian.org/debian stretch-updates InRelease
Ign:5 http://deb.debian.org/debian stretch Release
Ign:6 http://deb.debian.org/debian stretch-updates Release
Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/contrib Sources
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/contrib Sources
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Err:7 http://security.debian.org/debian-security stretch/updates/main arm64 Packages
  404  Not Found [IP: 151.101.2.132 80]
Ign:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/contrib Sources
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/contrib Sources
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:9 http://deb.debian.org/debian stretch/contrib Sources
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Err:9 http://deb.debian.org/debian stretch/contrib Sources
  404  Not Found
Ign:10 http://deb.debian.org/debian stretch/main Sources
Ign:11 http://deb.debian.org/debian stretch/non-free Sources
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:14 http://deb.debian.org/debian stretch/non-free all Packages
Ign:15 http://deb.debian.org/debian stretch/contrib all Packages
Ign:16 http://deb.debian.org/debian stretch/contrib arm64 Packages
Ign:17 http://deb.debian.org/debian stretch/non-free arm64 Packages
Err:18 http://deb.debian.org/debian stretch-updates/main arm64 Packages
  404  Not Found
Ign:19 http://deb.debian.org/debian stretch-updates/main all Packages
Reading package lists...
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages  404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/contrib/source/Sources  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list &&     echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list &&     apt-get update && apt-get install -y --allow-change-held-packages apt apt-utils      curl gcc g++ make sudo expect gnupg     perl-base perl wget libc-bin libc6 libc6-dev     build-essential cdbs devscripts equivs automake     autoconf libtool libaudit-dev selinux-basics     libdb5.3 libdb5.3 libssl1.0.2 gawk libsigsegv2' returned a non-zero code: 100
  • ARM32
[root@ip-172-31-20-192 debs]# ./generate_debian_package.sh -b 4.4 -t agent -a armhf -j 4 --dev
Sending build context to Docker daemon  9.728kB
Step 1/13 : FROM arm32v7/debian:stretch
 ---> b281f0b1a779
Step 2/13 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> d972aae7a447
Step 3/13 : RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list &&     echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list &&     apt-get update && apt-get install -y --allow-change-held-packages apt-utils     curl gcc make wget sudo expect gnupg perl-base     perl libc-bin libc6 libc6-dev     build-essential cdbs devscripts equivs automake autoconf libtool     libaudit-dev selinux-basics util-linux libdb5.1     libssl1.1 libssl-dev gawk libsigsegv2 procps libc6-armel-cross g++
 ---> [Warning] The requested image's platform (linux/arm) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in dc6cd13c0205
Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://security.debian.org/debian-security stretch/updates Release
Ign:3 http://deb.debian.org/debian stretch InRelease
Ign:4 http://deb.debian.org/debian stretch-updates InRelease
Ign:5 http://deb.debian.org/debian stretch Release
Ign:6 http://deb.debian.org/debian stretch-updates Release
Ign:7 http://deb.debian.org/debian stretch/contrib Sources
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Err:11 http://security.debian.org/debian-security stretch/updates/main armhf Packages
  404  Not Found [IP: 151.101.130.132 80]
Ign:12 http://security.debian.org/debian-security stretch/updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
Ign:7 http://deb.debian.org/debian stretch/contrib Sources
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
Ign:7 http://deb.debian.org/debian stretch/contrib Sources
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
Ign:7 http://deb.debian.org/debian stretch/contrib Sources
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
Ign:7 http://deb.debian.org/debian stretch/contrib Sources
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
Err:7 http://deb.debian.org/debian stretch/contrib Sources
  404  Not Found
Ign:8 http://deb.debian.org/debian stretch/main Sources
Ign:9 http://deb.debian.org/debian stretch/non-free Sources
Ign:10 http://deb.debian.org/debian stretch/non-free all Packages
Ign:13 http://deb.debian.org/debian stretch/main armhf Packages
Ign:14 http://deb.debian.org/debian stretch/contrib armhf Packages
Ign:15 http://deb.debian.org/debian stretch/non-free armhf Packages
Ign:16 http://deb.debian.org/debian stretch/main all Packages
Ign:17 http://deb.debian.org/debian stretch/contrib all Packages
Ign:18 http://deb.debian.org/debian stretch-updates/main all Packages
Err:19 http://deb.debian.org/debian stretch-updates/main armhf Packages
  404  Not Found
Reading package lists...
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-armhf/Packages  404  Not Found [IP: 151.101.130.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/contrib/source/Sources  404  Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-armhf/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list &&     echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list &&     apt-get update && apt-get install -y --allow-change-held-packages apt-utils     curl gcc make wget sudo expect gnupg perl-base     perl libc-bin libc6 libc6-dev     build-essential cdbs devscripts equivs automake autoconf libtool     libaudit-dev selinux-basics util-linux libdb5.1     libssl1.1 libssl-dev gawk libsigsegv2 procps libc6-armel-cross g++' returned a non-zero code: 100
  • PPC64LE
@jnasselle jnasselle linked a pull request Apr 28, 2023 that will close this issue
30 tasks
@vikman90 vikman90 assigned vikman90 and DFolchA and unassigned vikman90 Jun 14, 2023
@vikman90 vikman90 added level/task Subtask issue type/bug Bug issue labels Jun 14, 2023
@havidarou havidarou closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants