You are not logged in.
Trying to upgrade lm_sensors and lib32-lm_sensors from 3.6.0.r41.g31d1f125-3 to 3.6.2-1 fails with
(2/2) 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.
Last edited by -thc (Yesterday 12:37:29)
Offline
I'm having this exact same issue at the same time go figure. Hoping someone here can help, google wasnt too helpful. ):
Offline
It is a packaging issue most probably, should be rectified pretty soon.
Offline
It does, indeed, seem to be a packaging issue with lib32-lm_sensors
See relevant issues on the issue tracker here and here.
In the interim you can checkout the PKGBUILD and edit it.
Change its pkgrel to 1.2. Then, for the following line:
rm -r "${pkgdir}"/usr/{bin,sbin,include,man}
...change it to:
rm -r "${pkgdir}"/usr/{bin,sbin,include,man,share}
In order to remove the newly added zsh keybindings that are breaking the build.
Last edited by Beru (Yesterday 06:18:18)
Offline
Had the same issue.
Maybe its a bad solution, but it worked for me.
At first I manually upgraded lm_sensors by "pacman -S lm_sensors", then I renamed conflicting files and did "pacman -Syu" again, and it worked.
Diff between files didnt show anything.
P.S. Using the same file in two different packages looks not very clever for me.
Last edited by rug4ru (Yesterday 07:11:30)
Not native speaker. Excuse me for my inglysh.
Offline
Same issue here.
Offline
At first I upgraded lm_sensors by "pacman -S lm_sensors", then I renamed conflicting files and did "pacman -Syu" again.
It worked for me. Diff between files didnt show anything.
Using the same file in two different packages looks not very clever for me.
Isn't this the wrong way round? lm_sensors should have these files, so you will need to correct this for next upgrade?
Oops, nvm, I see the command change would achieve the same, you are right.
Last edited by SimonJ (Yesterday 07:19:44)
Rlu: 222126
Offline
I have the same issue. I don't want to rename the files, I prefer to wait for a fixed package or an official solution.
Offline
rug4ru wrote:At first I upgraded lm_sensors by "pacman -S lm_sensors", then I renamed conflicting files and did "pacman -Syu" again.
It worked for me. Diff between files didnt show anything.
Using the same file in two different packages looks not very clever for me.Isn't this the wrong way round? lm_sensors should have these files, so you will need to correct this for next upgrade?
Oops, nvm, I see the command change would achieve the same, you are right.
It has the same files after lib32-lm_sensors upgrade on their places, but if something goes wrong, you can rename files back
Last edited by rug4ru (Yesterday 07:19:47)
Not native speaker. Excuse me for my inglysh.
Offline
Had the same issue.
Maybe its a bad solution, but it worked for me.
At first I manually upgraded lm_sensors by "pacman -S lm_sensors", then I renamed conflicting files and did "pacman -Syu" again, and it worked.
Diff between files didnt show anything.
P.S. Using the same file in two different packages looks not very clever for me.
Thanks man this worked for me. I appreciate it! I was confused at first because when the error very first appeared for me, i couldnt find those files. And now they are there after updating lm_sensors *headscratcher
Offline
Had forced successfully the update
pacman -Syyuu
Offline
Had the same issue.
Maybe its a bad solution, but it worked for me.
At first I manually upgraded lm_sensors by "pacman -S lm_sensors", then I renamed conflicting files and did "pacman -Syu" again, and it worked.
Diff between files didnt show anything.
P.S. Using the same file in two different packages looks not very clever for me.
This worked for me! After running the proposed workaround, I rebooted and ran
nvidia-inst
After yet another reboot my GUI started working again.
Offline
This issue may be not relevant anymore.
After I did workaround with file renaming "lib32-lm_sensors" has been updated, and -Syu upgraded it with no errors
Not native speaker. Excuse me for my inglysh.
Offline
Had forced successfully the update
pacman -Syyuu
Afaik yy is really unsafe and not recommended to use, is it?
Not native speaker. Excuse me for my inglysh.
Offline
I did it like this:
sudo pacman -Suy --overwrite '/usr/share/zsh/site-functions/_sensors' --overwrite '/usr/share/zsh/site-functions/_sensors-detect'
Offline
lib32-lm_sensors has been updated to fix the issue. Wait for it to be available on your mirror.
If that was not fixed already, upgrading these packages could have been postponed temporarily. The update doesn’t introduce any new .so version. That would introduce a partial update and partial updates are unsupported. But nobody is going to mind it being a part of temporarily circumventing a packaging issue, if you are always clear and open about this being the case.
Had forced successfully the update
pacman -Syyuu
This isn’t a solution. You were simply lucky that the package has been fixed and that your mirror updated it. It would work equally with plain -Syu.
Don’t use `-Syyuu` blindly in hope that it magically fixes anything. It is only helpful in a very few, very specific situations. In most cases it only causes unneeded load on the volunteer-donated infrastructure.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
I confirm, the updated package fixes the issue.
Offline
Issue is solved, I suppose.
Not native speaker. Excuse me for my inglysh.
Offline