mudler / mudler/LocalAGI

Fails to fetch OS updates and certificates

Open
#317 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2k
Forks
291
Avg merge
30m
Merged PRs (30d)
3

Description

OS = Ubuntu 24.04
GPU = Nvdia RTX 2060
Method = Docker Compose

Expected behaviour: Complete installation.
Actual Behaviour: Fails to fetch OS updates and certificates

I have checked the failed links and they seem to be up and working. It clearly has access to the internet because it pulls the docker packages. Any help would be appreciated.

$ docker compose -f docker-compose.nvidia.yaml up
Compose can now delegate builds to bake for better performance.
 To do so, set COMPOSE_BAKE=true.
[+] Building 8.1s (9/16)                                         docker:default
 => [mcpbox internal] load build definition from Dockerfile.mcpbox         0.0s
 => => transferring dockerfile: 886B                                       0.0s
 => [mcpbox internal] load metadata for docker.io/library/ubuntu:24.04     0.6s
 => [mcpbox internal] load metadata for docker.io/library/golang:1.24-alp  0.6s
 => [mcpbox internal] load .dockerignore                                   0.0s
 => => transferring context: 63B                                           0.0s
 => CACHED [mcpbox builder 1/7] FROM docker.io/library/golang:1.24-alpine  0.0s
 => [mcpbox internal] load build context                                   0.0s
 => => transferring context: 15.49kB                                       0.0s
 => CACHED [mcpbox stage-1 1/4] FROM docker.io/library/ubuntu:24.04@sha25  0.0s
 => CANCELED [mcpbox builder 2/7] RUN apk add --no-cache git               7.4s
 => ERROR [mcpbox stage-1 2/4] RUN apt-get update && apt-get install -y c  7.4s
------                                                                          
 > [mcpbox stage-1 2/4] RUN apt-get update && apt-get install -y ca-certificates tzdata docker.io bash wget curl:                                               
0.308 Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease                    
0.308 Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease          
0.309 Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease            
0.309 Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease          
1.309 Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease          
1.310 Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease                    
1.310 Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease            
1.310 Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
3.311 Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease
3.311 Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease
3.311 Ign:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
3.311 Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
7.312 Err:1 http://archive.ubuntu.com/ubuntu noble InRelease
7.312   Temporary failure resolving 'archive.ubuntu.com'
7.312 Err:2 http://security.ubuntu.com/ubuntu noble-security InRelease
7.312   Temporary failure resolving 'security.ubuntu.com'
7.312 Err:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
7.312   Temporary failure resolving 'archive.ubuntu.com'
7.312 Err:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
7.312   Temporary failure resolving 'archive.ubuntu.com'
7.316 Reading package lists...
7.329 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease  Temporary failure resolving 'archive.ubuntu.com'
7.329 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
7.329 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
7.329 W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
7.329 W: Some index files failed to download. They have been ignored, or old ones used instead.
7.341 Reading package lists...
7.352 Building dependency tree...
7.353 Reading state information...
7.355 Package ca-certificates is not available, but is referred to by another package.
7.355 This may mean that the package is missing, has been obsoleted, or
7.355 is only available from another source
7.355 
7.355 E: Package 'ca-certificates' has no installation candidate
7.355 E: Unable to locate package tzdata
7.355 E: Unable to locate package docker.io
7.355 E: Couldn't find any package by glob 'docker.io'
7.355 E: Couldn't find any package by regex 'docker.io'
7.355 E: Unable to locate package wget
7.355 E: Unable to locate package curl
------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y ca-certificates tzdata docker.io bash wget curl" did not complete successfully: exit code: 100

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker-compose.nvidia.yaml and Dockerfile.mcpbox, then reproduce the failed apt-get update step and inspect Docker's container DNS configuration. Determine whether the failure is caused by the project setup or the host environment; done means installation completes reliably or the required environment limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, ubuntu
Domain
build-system, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.