bot 3/8 error
37.39 Ign:1 http://deb.debian.org/debian bookworm InRelease
74.25 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
111.1 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
148.0 Ign:1 http://deb.debian.org/debian bookworm InRelease
184.8 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
221.7 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
258.6 Ign:1 http://deb.debian.org/debian bookworm InRelease
295.4 Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
332.3 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
369.2 Err:1 http://deb.debian.org/debian bookworm InRelease
369.2 Temporary failure resolving 'deb.debian.org'
406.0 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
406.0 Temporary failure resolving 'deb.debian.org'
442.9 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
442.9 Temporary failure resolving 'deb.debian.org'
442.9 Reading package lists...
442.9 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
442.9 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
442.9 W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
442.9 W: Some index files failed to download. They have been ignored, or old ones used instead.
442.9 Reading package lists...
443.0 Building dependency tree...
443.0 Reading state information...
443.0 Package build-essential is not available, but is referred to by another package.
443.0 This may mean that the package is missing, has been obsoleted, or
443.0 is only available from another source
443.0
443.0 E: Package 'build-essential' has no installation candidate
443.0 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
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 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
and i have install build-essential in my ubuntu 22.04 pc
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$
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..
Super, anything to add to the readme or can we close the issue?
Hey @anorman1967 @GanQiao1990 @jexp I tried on a fresh install of docker and on different networks but still this error persists , any suggestions please ?
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.
Cool, so we're all good?
Cool, so we're all good?
yeah I just posted it incase anyone stumbles upon same error.
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?
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.
I think we can close this one now. Although there might be a few things we can do to make this easier to debug.