Skip to content

lm_sensors and lib32-lm_sensors have conflicting files

Description:

Attempted to update to lm_sensors 3.6.2-1 just now and ran into a conflict between the 64-bit and 32-bit versions of the package:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (3)                Old Version              New Version  Net Change

multilib/lib32-lm_sensors  1:3.6.0.r41.g31d1f125-3  1:3.6.2-1      0.00 MiB
extra/lm_sensors           1:3.6.0.r41.g31d1f125-3  1:3.6.2-1      0.01 MiB
extra/reaper               7.38-1                   7.39-1         0.03 MiB

Total Installed Size:  123.48 MiB
Net Upgrade Size:        0.04 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                                   [########################################################] 100%
(3/3) checking package integrity                                                                 [########################################################] 100%
(3/3) loading package files                                                                      [########################################################] 100%
(3/3) checking for file conflicts                                                                [########################################################] 100%
error: failed to commit transaction (conflicting files)
/usr/share/zsh/site-functions/_sensors exists in both 'lm_sensors' and 'lib32-lm_sensors'
/usr/share/zsh/site-functions/_sensors-detect exists in both 'lm_sensors' and 'lib32-lm_sensors'
Errors occurred, no packages were upgraded.

I would have uninstalled the 32-bit version except it gets pulled in as a dependency by Steam (specifically Steam -> lib32-libglvnd -> lib32-mesa -> lib32-lm_sensors). The previous version (3.6.0) allowed installation of both packages simultaneously because they did not have files in /usr/share/zsh/site-functions/

Additional info:

  • package version(s): 3.6.2-1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Attempt to install both lm_sensors and lib32-lm_sensors
  2. Notice the conflict in one of the files in the zsh folder.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information