cpriego / valet-linux

A fork of Laravel Valet to work in Linux.
MIT License
1.35k stars 155 forks source link

Bug: Pacman was unable to install #340

Closed xvladqt closed 3 years ago

xvladqt commented 3 years ago

Basic info

Distro (Name and version) PHP Version Valet version
Ex: Manjaro 21.1.2 7.3.1 2.2.29

What is the problem? When valet install

Nginx was already enabled
Stopping nginx...
[php7.4-fpm] is not installed, installing it now via Pacman... 🍻
ошибка: не найдена цель: php7.4-fpm

In Pacman.php line 74:

  Pacman was unable to install [php7.4-fpm].  

install [--ignore-selinux]

What was supposed to happen? Clear install manjaro, php, valet-linux.

In manjaro repos, all php7.4- packages as php7- php7.4-fpm, in repo as php7-fpm

jmarcher commented 3 years ago

When I query the repos with pacman -Q php7 only php7 is available (which corresponds with php 7.4 atm

xvladqt commented 3 years ago

@jmarcher yeap, but valet try install php7.4-fpm, was not exist in repo

thatONEjustin commented 1 year ago

happening on arch for php 8.2 fpm

richbowen commented 1 year ago

happening on arch for php 8.2 fpm

Can confirm. I'm on a vanilla Arch Linux install. It's trying to use pacman to install the Ubuntu php-fpm package name.

What older version didn't have this issue?

ashdevelops commented 1 year ago

Still an issue

arcanna commented 11 months ago

Still an issue for php8.2-fpm on Manjaro/Arch

Kr0ks commented 10 months ago

Go to the Valet folder composer/vendor/cpriego/valet-linux/cli and comment line 38: PhpFpm::install();

install php-fm manually instead, by running pacman -S php-fm