Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Cannot install any packages #66

Closed
blocka opened this issue Oct 16, 2016 · 10 comments
Closed

Cannot install any packages #66

blocka opened this issue Oct 16, 2016 · 10 comments

Comments

@blocka
Copy link

blocka commented Oct 16, 2016

Step 6 : RUN apk add --update git
 ---> Running in 9cebf5b77483
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/main: BAD signature
WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  git (missing):
    required by: world[git]
The command '/bin/sh -c apk add --update git' returned a non-zero code: 1
@mhart
Copy link
Owner

mhart commented Oct 16, 2016

Do you mean apk add --no-cache git?

@mhart
Copy link
Owner

mhart commented Oct 16, 2016

Looking more deeply at your error – it looks like it might be a problem with the signature coming from http://dl-cdn.alpinelinux.org/alpine/v3.4/main ?

@blocka
Copy link
Author

blocka commented Oct 16, 2016

Seems only to be an issue on my local machine. When I deploy it works fine. What can I do locally, though?

@mhart
Copy link
Owner

mhart commented Oct 16, 2016

No idea – something to do with your networking setup perhaps?

Pretty sure it's not related to this image though – does the same thing happen with the alpine:3.4 image?

@mhart
Copy link
Owner

mhart commented Oct 27, 2016

@blocka let me know if the same thing happens on the normal alpine image – if so, it's not related to this image

@blocka
Copy link
Author

blocka commented Oct 27, 2016

Sorry to keep your issue list dirty...I haven't had time to play with this,
and it's working in other places, so I've just ignored it.

On Thu, Oct 27, 2016 at 11:47 AM, Michael Hart notifications@github.com
wrote:

@blocka https://github.com/blocka let me know if the same thing happens
on the normal alpine image – if so, it's not related to this image


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#66 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACoutBo3WOWfEID7yVi7VhTvTLCd1dvks5q4MeRgaJpZM4KX4ap
.

@vielmetti
Copy link

There was a build issue just resolved.

https://bugs.alpinelinux.org/issues/6389

for at least some architectures, worth looking at this to see if it addresses the problem.

@mhart
Copy link
Owner

mhart commented Jan 27, 2017

No news on this in a while, going to close – @blocka feel free to reopen if you have anything actionable 👍

@mhart mhart closed this as completed Jan 27, 2017
@Ghayyas
Copy link

Ghayyas commented Nov 10, 2018

Same issue with me.. I cant install anything

@krysalead
Copy link

krysalead commented Dec 4, 2018

Hi,

Same for me, I can install git on the image, I am using Jenkins to run the image.

ERROR: unsatisfiable constraints:
git (missing):
required by: world[git]

EDIT: It worked after another run and using your command apk add --no-cache git

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants