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

Unable to locate package php7.2-xdebug #1837

Closed
basepack opened this issue Oct 15, 2018 · 3 comments
Closed

Unable to locate package php7.2-xdebug #1837

basepack opened this issue Oct 15, 2018 · 3 comments
Labels

Comments

@basepack
Copy link

Info:

  • Docker version ($ docker --version): Docker version 18.06.1-ce, build e68fc7a
  • Laradock commit ($ git rev-parse HEAD): 9cfe5c6
  • System info (Mac, PC, Linux): PC
  • System info disto/version: Windows 10 pro

Issue:

E: Unable to locate package php7.2-xdebug when having WORKSPACE_INSTALL_XDEBUG=true on a clean install.


Expected behavior:

Xdebug installed of course.


Reproduce:

I have documented it in this issue too: #1826, but here are the steps:

  1. git clone https://github.com/Laradock/laradock.git
  2. cd laradock
  3. cp env-example .env
  4. set WORKSPACE_INSTALL_XDEBUG=true
  5. docker-compose build --no-cache workspace
  6. View the error in the console:
Step 61/179 : RUN if [ ${INSTALL_XDEBUG} = true ]; then     apt-get install -y php${LARADOCK_PHP_VERSION}-xdebug &&     sed -i 's/^;//g' /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-xdebug.ini &&     echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc ;fi
 ---> Running in 2a2a47b3da6b
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php7.2-xdebug
E: Couldn't find any package by glob 'php7.2-xdebug'
E: Couldn't find any package by regex 'php7.2-xdebug'
Service 'workspace' failed to build: The command '/bin/sh -c if [ ${INSTALL_XDEBUG} = true ]; then     apt-get install -y php${LARADOCK_PHP_VERSION}-xdebug &&     sed -i 's/^;//g' /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-xdebug.ini &&     echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc ;fi' returned a non-zero code: 100

Relevant Code:

workspace/Dockerfile:261:

apt-get install -y php${LARADOCK_PHP_VERSION}-xdebug && \
@Inkognitoo
Copy link
Contributor

Sorry, I'm double your issue
Error is still present
#1847

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants