valet-wsl icon indicating copy to clipboard operation
valet-wsl copied to clipboard

`valet use [email protected]` doesn't work

Open tomhayes opened this issue 3 years ago • 1 comments

Basic info

Windows 10 Build WSL Distro WSL Verson PHP Version Valet version
Ex: 10240 Ubuntu 20.0.4 2 8.0 1.0.6
  • [x] I've checked the issue queue and could not find anything similar to my bug.
  • [x] I'm on the latest version of valet-wsl (valet --version): <Valet-wsl-Version>
  • [x] I've run valet install after updating and before submitting my issue/feature.

What is the problem? A description of what you think the problem is. valet use [email protected] doesn't work.

What was supposed to happen? Valet downloads (or finds installed) php 7.4

What actually happened?

This does not affect php -v.
Stopping php8.0-fpm...
Disabling php8.0-fpm...
[[email protected]] is not installed, installing it now via Apt... 🍻
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package [email protected]
E: Couldn't find any package by glob '[email protected]'
E: Couldn't find any package by regex '[email protected]'

How to reproduce this? Run valet use [email protected].

What is the solution? Looks like for some reason it's looking to install [email protected] instead of [email protected].

tomhayes avatar Aug 19 '21 11:08 tomhayes

i have the same problem: you can : valet use 7.4 instead. But i got ERR_CONNECTION_TIMED_OUT after that ^^'

LTiollier avatar Sep 12 '21 21:09 LTiollier