You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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-linux (valet --version): <Valet-Linux-Version>
[ x] I've run valet fix and valet install after updating and before submitting my issue/feature.
What is the problem? valet install relies on dnf for Fedora distros, and while dnf does exist on immutable Fedora variants, it can't be used to install packages.
What was supposed to happen?
It should either install nginx through homebrew (available on immutable Fedora distros) or use other means to look for an already installed nginx.
What actually happened?
I have nginx and dnsmasq installed, but since it attempts to use Dnf.php to see if nginx is installed it doesn't think it's available and attempts to install it which fails.
How to reproduce this?
Install any immutable Fedora distro (I'm on Aurora which is a Kinoite variant)
Install PHP and composer.
Install valet-linux using composer.
Run valet install. It fails.
Install nginx through brew.
Attempt to run valet install again. Still fails.
What is the solution?
There are a couple ways I could see this being solved. The easiest might just be to check if the Fedora distro is an immutable one (either Kinoite or Silver Blue based) and if so, use homebrew instead. Alternately the rpm command can be used to see if nginx and dnsmasq are installed and it should work regardless of the distro. rpm -qa | grep nginx shows nginx as being installed on my system.
Sources
All sources related to the bug. If the bug uses external tools like PHP extensions it should at
least contain a link to the tool. Any other media which proves helpful can be included here.
The text was updated successfully, but these errors were encountered:
Basic info
valet --version
):<Valet-Linux-Version>
valet fix
andvalet install
after updating and before submitting my issue/feature.What is the problem?
valet install
relies ondnf
for Fedora distros, and whilednf
does exist on immutable Fedora variants, it can't be used to install packages.What was supposed to happen?
It should either install nginx through homebrew (available on immutable Fedora distros) or use other means to look for an already installed nginx.
What actually happened?
I have nginx and dnsmasq installed, but since it attempts to use Dnf.php to see if nginx is installed it doesn't think it's available and attempts to install it which fails.
How to reproduce this?
valet install
. It fails.nginx
throughbrew
.valet install
again. Still fails.What is the solution?
There are a couple ways I could see this being solved. The easiest might just be to check if the Fedora distro is an immutable one (either Kinoite or Silver Blue based) and if so, use homebrew instead. Alternately the
rpm
command can be used to see ifnginx
anddnsmasq
are installed and it should work regardless of the distro.rpm -qa | grep nginx
showsnginx
as being installed on my system.Sources
All sources related to the bug. If the bug uses external tools like PHP extensions it should at
least contain a link to the tool. Any other media which proves helpful can be included here.
The text was updated successfully, but these errors were encountered: