Skip to main content
Topic: system/gcc-gcobol package: file conflicts (Read 776 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

system/gcc-gcobol package: file conflicts

I want to install gcc-gcobol (don't ask :) ) and I get the following conflict:

sudo pacman -S system/gcc-gcobol
resolving dependencies...
looking for conflicting packages...

Packages (1) gcc-gcobol-15.1.1+r7+gf36ec88aa85a-1

Total Installed Size:  53.49 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                 [##################################] 100%
(1/1) checking package integrity                               [##################################] 100%
(1/1) loading package files                                    [##################################] 100%
(1/1) checking for file conflicts                              [##################################] 100%
error: failed to commit transaction (conflicting files)
gcc-gcobol: /usr/share/man/man1/gcobol.1.gz exists in filesystem (owned by gcc)
gcc-gcobol: /usr/share/man/man3/gcobol-io.3.gz exists in filesystem (owned by gcc)
Errors occurred, no packages were upgraded.


It looks like the installation is blocked by 2 man pages that were already installed by the main gcc package.

Re: system/gcc-gcobol package: file conflicts

Reply #1
This has been reported upstream and it looks like the next gcc package will include a fix.

Re: system/gcc-gcobol package: file conflicts

Reply #2
In the meantime, if you don't want to wait:
Code: [Select]
sudo pacman -S --overwrite='/usr/share/man*' gcc-gcobol

Re: system/gcc-gcobol package: file conflicts

Reply #3
Thank you!