Git Product home page Git Product logo

Comments (13)

anorman1967 avatar anorman1967 commented on September 25, 2024 2

I may have figured out the issue..

I went to a different machine and tried installing it on that machine.. It installed fine, and as it was installing I did a tcpdump and it was actually using the docker0 interface to do the updates.. My initial machine that I was trying to build it on has some pretty intense firewall rules and actually blocks the docker interfaces (I made multiple interfaces) by default..

I may have just learned something as to how docker uses the network, even when installing/pulling down images and such???

I do not have a 3rd machine with docker on it to try, and I don't want to mess around with the firewall on the initial machine too much as it is intentionally locked down for many good reasons!.. But it did work on a vanilla install of docker with it's default docker network configuration intact..

from genai-stack.

anorman1967 avatar anorman1967 commented on September 25, 2024 1

Same error as above..

Running Ubuntu 22.04 LTS Server (no GUI)

running command: docker compose --profile linux up

=> => transferring context: 7.45kB 0.0s
=> CACHED [pdf_bot 2/9] WORKDIR /app 0.0s
=> [pdf_bot 3/9] RUN apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/* 134.7s
=> => # Ign:1 http://deb.debian.org/debian bookworm InRelease
=> => # Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
.
.
.
.

same as above..

from genai-stack.

GanQiao1990 avatar GanQiao1990 commented on September 25, 2024

Same error as above..

Running Ubuntu 22.04 LTS Server (no GUI)

running command: docker compose --profile linux up

=> => transferring context: 7.45kB 0.0s => CACHED [pdf_bot 2/9] WORKDIR /app 0.0s => [pdf_bot 3/9] RUN apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/* 134.7s => => # Ign:1 http://deb.debian.org/debian bookworm InRelease => => # Ign:2 http://deb.debian.org/debian bookworm-updates InRelease . . . .

same as above..

same with me

from genai-stack.

GanQiao1990 avatar GanQiao1990 commented on September 25, 2024

and i have install build-essential in my ubuntu 22.04 pc

from genai-stack.

anorman1967 avatar anorman1967 commented on September 25, 2024

As have I:

genie@64g:/genai-stack$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1
22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

genie@64g:/genai-stack$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1
22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

genie@64g:~/genai-stack$

from genai-stack.

jexp avatar jexp commented on September 25, 2024

Super, anything to add to the readme or can we close the issue?

from genai-stack.

CulturalProfessor avatar CulturalProfessor commented on September 25, 2024

Hey @anorman1967 @GanQiao1990 @jexp I tried on a fresh install of docker and on different networks but still this error persists , any suggestions please ?

from genai-stack.

CulturalProfessor avatar CulturalProfessor commented on September 25, 2024

Screenshot from 2023-10-18 00-29-02
Hey guys I identified the problem ,it was having default http/https proxy for these ips in docker config.json and when I removed it worked.

from genai-stack.

jexp avatar jexp commented on September 25, 2024

Cool, so we're all good?

from genai-stack.

CulturalProfessor avatar CulturalProfessor commented on September 25, 2024

Cool, so we're all good?

yeah I just posted it incase anyone stumbles upon same error.

from genai-stack.

rrodrig30 avatar rrodrig30 commented on September 25, 2024

I have the same error, but it is not a network proxy issue.

332.0 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
368.9 Err:1 http://deb.debian.org/debian bookworm InRelease
368.9 Temporary failure resolving 'deb.debian.org'
405.7 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
405.7 Temporary failure resolving 'deb.debian.org'
442.6 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
442.6 Temporary failure resolving 'deb.debian.org'
442.6 Reading package lists...
442.6 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Some index files failed to download. They have been ignored, or old ones used instead.
442.6 Reading package lists...
442.6 Building dependency tree...
442.6 Reading state information...
442.6 Package build-essential is not available, but is referred to by another package.
442.6 This may mean that the package is missing, has been obsoleted, or
442.6 is only available from another source
442.6
442.6 E: Package 'build-essential' has no installation candidate
442.6 E: Unable to locate package software-properties-common

failed to solve: process "/bin/sh -c apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
[root@sn4xxxxxxxxx genai-stack]#

I am running Rocky Linux 8. It uses yum instead of apt-get. Is this the issue?
Any thoughts?

from genai-stack.

pono-slemaitre avatar pono-slemaitre commented on September 25, 2024

I had the same problem, after some research I decided to check my /etc/resolv.conf file and saw that I only had an ipv6 as resolver nameserver XXXX::XXXX.
I then decided to add an ipv4 as resolver just in case nameserver 1.1.1.1 and tried to build and it worked.

from genai-stack.

slimslenderslacks avatar slimslenderslacks commented on September 25, 2024

I think we can close this one now. Although there might be a few things we can do to make this easier to debug.

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.