Code Monkey home page Code Monkey logo

Comments (4)

hesh44 avatar hesh44 commented on August 12, 2024 3

Yes it did. I ran apt-get update && apt-get clean && apt-get install -y build-essential and it worked. Thank you @zooninja

from genai-stack.

zooninja avatar zooninja commented on August 12, 2024
=> ERROR [genai-stack_loader 3/9] RUN apt-get update && apt-get install -y     build-essential     curl     software-properties-common     && rm -rf /var/lib/apt/lists/*       37.7s
------
 > [genai-stack_loader 3/9] RUN apt-get update && apt-get install -y     build-essential     curl     software-properties-common     && rm -rf /var/lib/apt/lists/*:
#0 30.55 Ign:1 http://deb.debian.org/debian bookworm InRelease
#0 30.55 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
#0 30.55 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
#0 31.55 Ign:1 http://deb.debian.org/debian bookworm InRelease
#0 31.55 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
#0 31.55 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
#0 33.55 Ign:1 http://deb.debian.org/debian bookworm InRelease
#0 33.55 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
#0 33.55 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
#0 37.56 Err:1 http://deb.debian.org/debian bookworm InRelease
#0 37.56   Could not connect to debian.map.fastlydns.net:80 (199.232.18.132), connection timed out Unable to connect to deb.debian.org:http:
#0 37.56 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
#0 37.56   Unable to connect to deb.debian.org:http:
#0 37.56 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
#0 37.56   Unable to connect to deb.debian.org:http:
#0 37.56 Reading package lists...
#0 37.57 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease  Could not connect to debian.map.fastlydns.net:80 (199.232.18.132), connection timed out Unable to connect to deb.debian.org:http:
#0 37.57 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease  Unable to connect to deb.debian.org:http:
#0 37.57 W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease  Unable to connect to deb.debian.org:http:
#0 37.57 W: Some index files failed to download. They have been ignored, or old ones used instead.
#0 37.58 Reading package lists...
#0 37.59 Building dependency tree...
#0 37.59 Reading state information...
#0 37.59 Package build-essential is not available, but is referred to by another package.
#0 37.59 This may mean that the package is missing, has been obsoleted, or
#0 37.59 is only available from another source
#0 37.59 
#0 37.59 E: Package 'build-essential' has no installation candidate
#0 37.59 E: Unable to locate package software-properties-common
------
failed to solve: executor failed running [/bin/sh -c apt-get update && apt-get install -y     build-essential     curl     software-properties-common     && rm -rf /var/lib/apt/lists/*]: exit code: 100

I am getting this error. What is the problem?

I tried to set proxy ENV at beginning of Dockerfile, but it didn't help. I tried to run official ubuntu image and install tools from RUN command and it worked.

CentOS 7 Docker version 20.10.17, build 100c701 docker-compose version 1.18.0, build 8dd22a9

Hello this is a package repository issue and is not related to the genai stack.
update and cleaning of the package cache should solve it.

from genai-stack.

jexp avatar jexp commented on August 12, 2024

Did that help @hesh44 ?

from genai-stack.

cesarvspr avatar cesarvspr commented on August 12, 2024

The fix above didn't work for me, unfortunately.

from genai-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.