Skip to main content
Topic: world/lm_sensors and world/lm_sensors-openrc want to install the same file. (Read 722 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

world/lm_sensors and world/lm_sensors-openrc want to install the same file.

After a pacman -Syy, wanting to upgrade the system results in a filesystem conflict.

Specifically:

* world/lm_sensors, version 1:3.6.2-1 and
* world/lm_sensors-openrc, version 20210505-2

both want to install the file /etc/conf.d/sensord:
Code: [Select]
error: failed to commit transaction (conflicting files)
lm_sensors: /etc/conf.d/sensord exists in filesystem (owned by lm_sensors-openrc)
Errors occurred, no packages were upgraded.

Regards!

Re: world/lm_sensors and world/lm_sensors-openrc want to install the same file.

Reply #1
# rm -f /etc/conf.d/sensord
# pacman -S lm_sensors-openrc lm_sensors

 

Re: world/lm_sensors and world/lm_sensors-openrc want to install the same file.

Reply #2
Code: [Select]
rm -f /etc/conf.d/sensord
pacman -S lm_sensors-openrc lm_sensors
No.

Still, both packages want to install /etc/conf.d/sensord:
Code: [Select]
resolving dependencies...
looking for conflicting packages...

Package (2)              Old Version              New Version  Net Change  Download Size

world/lm_sensors         1:3.6.0.r41.g31d1f125-3  1:3.6.2-1      0.01 MiB       0.13 MiB
world/lm_sensors-openrc  20210505-2               20210505-2     0.00 MiB              

Total Download Size:   0.13 MiB
Total Installed Size:  0.47 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 lm_sensors-1:3.6.2-1-x86_64                                                                                       132.7 KiB   221 KiB/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)
/etc/conf.d/sensord exists in both 'lm_sensors' and 'lm_sensors-openrc'
Errors occurred, no packages were upgraded.