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

Install zip unzip #59

Open
damiarita opened this issue Jan 3, 2018 · 7 comments
Open

Install zip unzip #59

damiarita opened this issue Jan 3, 2018 · 7 comments

Comments

@damiarita
Copy link

Hi,

Thanks for this docker!!

I have an issue installing zip unzip on my gitlab.com project.

After apt-get update -y I run apt-get install zip unzip

Often I get an error like this:

Reading package lists...
Building dependency tree...
Reading state information...
Package zip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'zip' has no installation candidate
ERROR: Job failed: exit code 1

I have created a suppor thread in gitlab.com too: Here

Any ideas?

@iBelieve
Copy link

iBelieve commented Mar 2, 2018

I've gotten this issue a couple of times. Seems random as nothing else gets run before running apt update && apt install -y zip. Here's the info about the docker image and CI runner being used:

Running with gitlab-runner 10.5.0 (80b03db9)
  on docker-auto-scale 4e4528ca
Using Docker executor with image tetraweb/php ...
Pulling docker image tetraweb/php ...
Using docker image sha256:a174dbdb1fbe82f1525c33603a884d86ff2f5825bc208f8f4328bc2020c22082 for tetraweb/php ...
Running on runner-4e4528ca-project-5605481-concurrent-0 via runner-4e4528ca-srm-1520016449-7d314d79...```

@pesimeao
Copy link

Any solution?

@ndom91
Copy link

ndom91 commented Mar 31, 2019

I'm also having this issue, on some (seemingly random) gitlab runner runs it fails on downloading libgmp-dev and zip, saying no packages found. If I press retry, it invariably works again.

Any idea whats going on?!

@geek-merlin
Copy link

I'm also having this issue, on some (seemingly random) gitlab runner runs it fails on downloading libgmp-dev and zip, saying no packages found.

To me this sounds like a different, but maybe related issue.

@stuli-mdsol
Copy link

stuli-mdsol commented Feb 4, 2021

have anyone find a solution to this issue FROM ubuntu:18.10 RUN apt-get install unzip . facing this issue`

@SecondPort
Copy link

In the console of Docker try: apt update,
apt upgrade -y
and then apt-get install unzip.
My SO is ubuntu 20.04 and my kernel 5.13.0-48-generic

@ghost
Copy link

ghost commented Jul 8, 2023

unable to locate package unzip error

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

No branches or pull requests

7 participants