[gcc] [gcc-m2] conflicting files
Description:
Trying to install gcc-m2 results in error:
sudo pacman -S gcc-m2
resolving dependencies...
looking for conflicting packages...
Package (2) New Version Net Change
core/gcc 13.2.1-4 184.19 MiB
core/gcc-m2 13.2.1-4 56.28 MiB
Total Installed Size: 240.47 MiB
:: Proceed with installation? [Y/n]
(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)
/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/plugin/m2rte.so exists in both 'gcc' and 'gcc-m2'
/usr/share/man/man1/gm2.1.gz exists in both 'gcc' and 'gcc-m2'
Errors occurred, no packages were upgraded.
Additional info:
- package version: 13.2.1-4
- config and/or log files: N/A
- link to upstream bug report, if any: N/A
Steps to reproduce:
- pacman -S gcc-m2
- file conflict