error: failed to commit transaction (conflicting files)
/usr/bin/rubocop exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/config/default.yml exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/config/obsoletion.yml exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/exe/rubocop exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/arguments_env.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/arguments_file.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/ast_aliases.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cache_config.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cached_data.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/auto_generate_config.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/base.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/execute_runner.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/init_dotfile.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/show_cops.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/show_docs_url.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/suggest_extensions.rb exists in both 'ruby-rubocop' and 'rubocop'
/usr/lib/ruby/gems/3.0.0/gems/rubocop-1.38.0/lib/rubocop/cli/command/version.rb exists in both 'ruby-rubocop' and 'rubocop'
....
seem that the ruby-rubocop of this repository is in conflict with rubocop of the community repository but none of them say it.
log from pacman
issue opened in the official repository https://bugs.archlinux.org/task/76482