-
Notifications
You must be signed in to change notification settings - Fork 59
E: Unable to locate package apache2 #15
Comments
Try to install again. I did a test now and it worked fine for me. |
Hi there, I'm getting this error too, and I think you can reproduce the issue by trying to spin up an environment at the link below https://gitpod.io/#https://github.com/thegreenwebfoundation/wp-green-checker/compare/ca-gitpod-2 I see two issues - one is minor (which I can make a PR for), and the other is more involved and related to apache2 being missing. At least that's what this line suggests to me:
The full logs are below:
Clues for a fixI'm not sure but this might be related to changes upstream - if I clone the repo to my laptop locally and tru buiding from the docker file, I'm unable to install apache to there as well. I can try buliding it locally like so:
And then when I run the tagged image like so:
Attempts to install apache2 fail:
I can run an
I'm not sure how to get around the prompts there, but this post makes me wonder if a change in the workspace image has impacted this repo. https://community.gitpod.io/t/is-there-an-easy-way-to-create-wordpress-sites-from-gitpod/1072/6 |
I've been having issues with this too. If I spin up this repo directly in GitPod (https://gitpod.io/#https://github.com/luizbills/gitpod-wordpress) it will install correctly without issue. However if I try to copy the dockerfile or .gitpod.yml file into a theme or plugin I run into the apache2 cannot be installed issues. |
hey guys, I'm very busy at moment. As soon as possible I will try to work on a fix. |
@ulinaaron, @mrchrisadams Sorry, I found a solution to this problem but I forgot this issue, If you used docker mysql tag is # Gitpod docker image for WordPress | https://github.com/luizbills/gitpod-wordpress
# License: MIT (c) 2020 Luiz Paulo "Bills"
# Version: 0.8
FROM gitpod/workspace-mysql:branch-pr-264 I don't know what the problem is here, and hope luizbills will fix it soon. |
Try again by using this command: |
For anyone following along, this issue here helps shed light on why this was happening, and points to a fix. Basically workspace-mysql which I think this image was based on was originally based on workspace-full, which did include apache2, but a change was made to have workspace-mysql be based on workspace-base which did not have apache2 installed. gitpod-io/workspace-images#675 This merged PR seems to suggest that it's resolved upstream now, and the workspace-mysql image once again includes apache2 because it's derived from workspace-full once more. gitpod-io/workspace-images#677 I can try testing this out again later this week, but if anyone else would be up for testing before I get to it, I'd be grateful. |
I'm working in a rework using only the |
The dockerfile is not starting mariadb correctly. I don't know much about mysql/mariadb or docker. Help would be appreciated. |
I get this bug when installing, does anyone know why? Thanks :)))
The text was updated successfully, but these errors were encountered: