Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57095 - [php71-cgi] does not conflict with php-cgi

Attached to Project: Community Packages
Opened by Martin Rys (C0rn3j) - Sunday, 14 January 2018, 16:12 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 16 January 2018, 08:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
php71-cgi does not seem to conflict with php-cgi

Additional info:
* package version(s) - 7.1.13-2


Steps to reproduce:
1) install php-cgi
2) try installing php71-cgi


This is what I expected to happen:
:: php71-fpm and php-fpm are in conflict. Remove php-fpm? [y/N] y

But instead I get:
error: failed to commit transaction (conflicting files)
php71-cgi: /usr/bin/php-cgi exists in filesystem
php71-cgi: /usr/share/man/man1/php-cgi.1.gz exists in filesystem
Errors occurred, no packages were upgraded.

This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 16 January 2018, 08:17 GMT
Reason for closing:  Fixed
Comment by Ivan Gut (ivanarch) - Sunday, 14 January 2018, 20:25 GMT
I have to had install the php71* packages (all versions are 7.1.13-2) to downgrade php (currently in 7.2.1-1) for compatibility.
I tried: # pacman -S php71-cgi

but pacman says:

error: failed to commit transaction (conflicting files)
php71-cgi: /usr/bin/php-cgi exists in filesystem
php71-cgi: /usr/share/man/man1/php-cgi.1.gz exists in filesystem
Errors occurred, no packages were upgraded.

then I run: # pacman -Si php71-cgi | grep '^Conflicts' and pacman says:

Conflicts With : php-cgit

I think that php-cgit is a typo.

I succesfully could install php71-cgi after removing php-cgi: # pacman -R php-cgi && pacman -S php71-cgi

Loading...