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

Debian 8 errors when installing packages #283

Closed
v1v opened this issue Apr 10, 2023 · 1 comment · Fixed by #285
Closed

Debian 8 errors when installing packages #283

v1v opened this issue Apr 10, 2023 · 1 comment · Fixed by #285

Comments

@v1v
Copy link
Member

v1v commented Apr 10, 2023

See this build that failed with:

[2023-04-08T21:08:46.673Z] ------
[2023-04-08T21:08:46.673Z]  > [ 3/13] RUN apt-get -o Acquire::Check-Valid-Until=false update -y --no-install-recommends --allow-unauthenticated         && apt-get upgrade -y --no-install-recommends --allow-unauthenticated         && apt-get dist-upgrade -y --no-install-recommends --allow-unauthenticated         && apt-get install -y --no-install-recommends --allow-unauthenticated             build-essential             ca-certificates             curl             git             gnupg             make             file             flex             bison         && rm -rf /var/lib/apt/lists/*:
[2023-04-08T21:08:46.673Z] #7 13.29   404  Not Found [IP: 151.101.2.132 80]
[2023-04-08T21:08:46.673Z] #7 13.41 Err http://security.debian.org jessie/updates/main i386 Packages
[2023-04-08T21:08:46.673Z] #7 13.41   404  Not Found [IP: 151.101.2.132 80]
[2023-04-08T21:08:46.673Z] #7 18.33 W: GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717
[2023-04-08T21:08:46.673Z] #7 18.33 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.2.132 80]
[2023-04-08T21:08:46.673Z] #7 18.33 
[2023-04-08T21:08:46.673Z] #7 18.33 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-i386/Packages  404  Not Found [IP: 151.101.2.132 80]
[2023-04-08T21:08:46.674Z] #7 18.33 
[2023-04-08T21:08:46.674Z] #7 18.33 E: Some index files failed to download. They have been ignored, or old ones used instead.
[2023-04-08T21:08:46.674Z] #7 18.33 Fetched 9249 kB in 9s (959 kB/s)
[2023-04-08T21:08:46.674Z] ------
[2023-04-08T21:08:46.674Z] Dockerfile:8
[2023-04-08T21:08:46.674Z] --------------------
[2023-04-08T21:08:46.674Z]    7 |     
[2023-04-08T21:08:46.674Z]    8 | >>> RUN apt-get -o Acquire::Check-Valid-Until=false update -y --no-install-recommends --allow-unauthenticated \
[2023-04-08T21:08:46.674Z]    9 | >>>         && apt-get upgrade -y --no-install-recommends --allow-unauthenticated \
[2023-04-08T21:08:46.674Z]   10 | >>>         && apt-get dist-upgrade -y --no-install-recommends --allow-unauthenticated \
[2023-04-08T21:08:46.674Z]   11 | >>>         && apt-get install -y --no-install-recommends --allow-unauthenticated \
[2023-04-08T21:08:46.674Z]   12 | >>>             build-essential \
[2023-04-08T21:08:46.674Z]   13 | >>>             ca-certificates \
[2023-04-08T21:08:46.674Z]   14 | >>>             curl \
[2023-04-08T21:08:46.674Z]   15 | >>>             git \
[2023-04-08T21:08:46.674Z]   16 | >>>             gnupg \
[2023-04-08T21:08:46.674Z]   17 | >>>             make \
[2023-04-08T21:08:46.674Z]   18 | >>>             file \
[2023-04-08T21:08:46.674Z]   19 | >>>             flex \
[2023-04-08T21:08:46.674Z]   20 | >>>             bison \
[2023-04-08T21:08:46.674Z]   21 | >>>         && rm -rf /var/lib/apt/lists/*
[2023-04-08T21:08:46.674Z]   22 |     
[2023-04-08T21:08:46.675Z] --------------------
[2023-04-08T21:08:46.675Z] ERROR: failed to solve: process "/bin/sh -c apt-get -o Acquire::Check-Valid-Until=false update -y --no-install-recommends --allow-unauthenticated         && apt-get upgrade -y --no-install-recommends --allow-unauthenticated         && apt-get dist-upgrade -y --no-install-recommends --allow-unauthenticated         && apt-get install -y --no-install-recommends --allow-unauthenticated             build-essential             ca-certificates             curl             git             gnupg             make             file             flex             bison         && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

You can reproduce it locally with make -C go -f Makefile.debian8 build

@v1v
Copy link
Member Author

v1v commented Apr 18, 2023

@rdner already tried to fix the sources in elastic/beats#34922 but there were some other problems with the dependencies.

I'll try to use deb http://archive.debian.org/debian-security jessie/updates main in the go/base/sources-debian8.list

@v1v v1v closed this as completed in #285 Apr 19, 2023
@v1v v1v mentioned this issue May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant