FS#78523 - haskell-lsp1.4 conflicts with haskell-lsp, but the package definitions don't list a conflict

Attached to Project: Community Packages
Opened by Joel Lathrop (joellathrop) - Monday, 15 May 2023, 14:18 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 27 May 2023, 09:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
During package updates (e.g., `pacman -Syu`) with both `haskell-lsp` and `haskell-lsp1.4` installed, the update fails because of a conflict in which both packages lay ownership to the following files:

* /usr/bin/lsp-demo-reactor-server
* /usr/bin/lsp-demo-simple-server


Additional info:
* haskell-lsp1.4 1.4.0.0-23 -> 1.4.0.0-24
* haskell-lsp 1.6.0.0-22 -> 1.6.0.0-23

Steps to reproduce:
Install `haskell-lsp1.4` version 1.4.0.0-23 and `haskell-lsp` version 1.6.0.0-22.
Then attempt a system upgrade via `pacman -Syu`.

When doing this, I get the following result:

error: failed to commit transaction (conflicting files)
/usr/bin/lsp-demo-reactor-server exists in both 'haskell-lsp1.4' and 'haskell-lsp'
/usr/bin/lsp-demo-simple-server exists in both 'haskell-lsp1.4' and 'haskell-lsp'
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 27 May 2023, 09:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  haskell-lsp1.4-1.4.0.0-32
Comment by Joel Lathrop (joellathrop) - Monday, 15 May 2023, 14:26 GMT
And for context, the reason I have both packages installed is because...

* haskell-lsp is used by a bunch of other packages in the Arch Haskell ecosystem.
* haskell-lsp1.4 is used by dhall-lsp-server, which I rely heavily on when writing Dhall code.

So a solution that allows both packages to peacefully coexist would be optimal for my use case.

Loading...