Conflicting files with rio-terminfo
Description:
Recently ncurses was updated to version 6.5. Upstream added additional terminfo files. The replaces
field of the ncurses package was updated to reflect this. However, the update was incomplete, which leads to pacman refusing to install the package rio-terminfo due to conflicting files. According to the release notes the terminfo files for rio were added to ncurses. Therefore, replaces+=(rio-terminfo)
should be added to ncurses' PKGBUILD.
Additional info:
The following package versions are affected:
$ pacman -Qs '^ncurses$'
local/ncurses 6.5-2
System V Release 4.0 curses emulation library
$ pacman -Ss '^rio$'
extra/rio 0.0.37-1
A hardware-accelerated GPU terminal emulator powered by WebGPU
Steps to reproduce:
# pacman -Qs '^ncurses$'
local/ncurses 6.5-2
System V Release 4.0 curses emulation library
# pacman -S rio
resolving dependencies...
looking for conflicting packages...
Package (2) New Version Net Change Download Size
extra/rio-terminfo 0.0.37-1 0.01 MiB 0.01 MiB
extra/rio 0.0.37-1 18.00 MiB 6.37 MiB
Total Download Size: 6.38 MiB
Total Installed Size: 18.01 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
rio-0.0.37-1-x86_64 6.4 MiB 8.17 MiB/s 00:01 [################################] 100%
rio-terminfo-0.0.37-1-x86_64 5.2 KiB 324 KiB/s 00:00 [################################] 100%
Total (2/2) 6.4 MiB 7.54 MiB/s 00:01 [################################] 100%
(2/2) checking keys in keyring [################################] 100%
(2/2) checking package integrity [################################] 100%
(2/2) loading package files [################################] 100%
(2/2) checking for file conflicts [################################] 100%
error: failed to commit transaction (conflicting files)
rio-terminfo: /usr/share/terminfo/r/rio exists in filesystem (owned by ncurses)
Errors occurred, no packages were upgraded.