Skip to content

ENT-13126: valgrind-check: fix missing archives#5841

Merged
larsewi merged 1 commit into
cfengine:masterfrom
larsewi:fix-missing
Jul 22, 2025
Merged

ENT-13126: valgrind-check: fix missing archives#5841
larsewi merged 1 commit into
cfengine:masterfrom
larsewi:fix-missing

Conversation

@larsewi

@larsewi larsewi commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Unable to fetch some archives:

STEP 4/8: RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl
 ---snip---
Err:104 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 git-man all 1:2.43.0-1ubuntu7.2
  404  Not Found [IP: 91.189.91.81 80]
Err:105 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 git amd64 1:2.43.0-1ubuntu7.2
  404  Not Found [IP: 91.189.91.81 80]
 ---snip---
Err:115 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 libc6-dbg amd64 2.39-0ubuntu8.4
  404  Not Found [IP: 91.189.91.81 80]
 ---snip---
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.43.0-1ubuntu7.2_all.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/git/git_2.43.0-1ubuntu7.2_amd64.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dbg_2.39-0ubuntu8.4_amd64.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: building at STEP "RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl": while running runtime: exit status 100
 ---snip---

The URL does in fact return 404:

$ curl http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.43.0-1ubuntu7.2_all.deb
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.52 (Ubuntu) Server at security.ubuntu.com Port 80</address>
</body></html>

Will try to add --fix-missing to the apt-get update as the error
message suggests.

Ticket: ENT-13126
Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech

Running static-checks and valgrind-checks only:
Build Status

Unable to fetch some archives:

```
STEP 4/8: RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl
 ---snip---
Err:104 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 git-man all 1:2.43.0-1ubuntu7.2
  404  Not Found [IP: 91.189.91.81 80]
Err:105 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 git amd64 1:2.43.0-1ubuntu7.2
  404  Not Found [IP: 91.189.91.81 80]
 ---snip---
Err:115 <http://security.ubuntu.com/ubuntu> noble-updates/main amd64 libc6-dbg amd64 2.39-0ubuntu8.4
  404  Not Found [IP: 91.189.91.81 80]
 ---snip---
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.43.0-1ubuntu7.2_all.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/git/git_2.43.0-1ubuntu7.2_amd64.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dbg_2.39-0ubuntu8.4_amd64.deb>  404  Not Found [IP: 91.189.91.81 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: building at STEP "RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl": while running runtime: exit status 100
 ---snip---
```

The URL does in fact return 404:

```
$ curl http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.43.0-1ubuntu7.2_all.deb
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.52 (Ubuntu) Server at security.ubuntu.com Port 80</address>
</body></html>
```

Will try to add `--fix-missing` to the `apt-get update` as the error
message suggests.

Ticket: ENT-13126
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi marked this pull request as ready for review July 22, 2025 10:50
@larsewi larsewi merged commit 22b33a4 into cfengine:master Jul 22, 2025
38 checks passed
@larsewi larsewi deleted the fix-missing branch July 22, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants