Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

=> ERROR [api requirements-extras 1/4] RUN curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && #1646

Open
Demi18 opened this issue Jan 26, 2024 · 4 comments
Labels
bug Something isn't working unconfirmed

Comments

@Demi18
Copy link

Demi18 commented Jan 26, 2024

LocalAI version:
git clone https://github.com/mudler/LocalAI.git

Environment, CPU architecture, OS, and Version:
(base) demi@DemideMacBook-Pro LocalAI % uname -a
Darwin DemideMacBook-Pro.local 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64

Describe the bug
After git clone, issued docker-compose up -d --pull always, then got errors.

=> ERROR [api requirements-extras 1/4] RUN curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && in 5.0s

[api requirements-extras 1/4] RUN curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg && gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806 && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | tee -a /etc/apt/sources.list.d/conda.list && apt-get update && apt-get install -y conda && apt-get clean:
0.159 % Total % Received % Xferd Average Speed Time Time Time Current
0.159 Dload Upload Total Spent Left Speed
100 1709 100 1709 0 0 888 0 0:00:01 0:00:01 --:--:-- 887
2.099 gpg: directory '/root/.gnupg' created
2.101 pub rsa2048 2018-11-02 [SC]
2.101 3416 1F5B F5EB 1D4B FBBB 8F0A 8AEB 4F8B 29D8 2806
2.101 uid [ unknown] Distribution Team [email protected]
2.101 sub rsa2048 2018-11-02 [E]
2.101
2.101 gpg: /root/.gnupg/trustdb.gpg: trustdb created
2.105 deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main
2.546 Hit:1 http://deb.debian.org/debian bullseye InRelease
2.576 Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
2.632 Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
3.698 Get:4 https://repo.anaconda.com/pkgs/misc/debrepo/conda stable InRelease [3960 B]
3.990 Get:5 https://repo.anaconda.com/pkgs/misc/debrepo/conda stable/main amd64 Packages [3857 B]
4.015 Fetched 7817 B in 2s (4163 B/s)
4.015 Reading package lists...
4.384 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.384 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.384 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.384 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.391 Reading package lists...
4.796 Building dependency tree...
4.905 Reading state information...
4.970 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.970 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/conda.list:1 and /etc/apt/sources.list.d/conda.list:2
4.970 E: Unable to locate package conda


failed to solve: process "/bin/sh -c curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg && install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg && gpg --keyring /usr/share/keyrings/conda-archive-keyring.gpg --no-default-keyring --fingerprint 34161F5BF5EB1D4BFBBB8F0A8AEB4F8B29D82806 && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | tee -a /etc/apt/sources.list.d/conda.list && apt-get update && apt-get install -y conda && apt-get clean" did not complete successfully: exit code: 100

To Reproduce
docker-compose up -d --pull always

Expected behavior
success

Logs
please see abobe

Additional context
na

@Demi18 Demi18 added bug Something isn't working unconfirmed labels Jan 26, 2024
@tandajun
Copy link

tandajun commented Feb 6, 2024

Has the problem been solved?

@hypothesiswizard76
Copy link

Facing the same issue as well :(

@MyWay
Copy link

MyWay commented Feb 18, 2024

Same here

@FutureProofHomes
Copy link

Ditto:
image

This issue is also being discussed here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

4 participants