You are not logged in.

#1 Yesterday 05:42:09

-thc
Member
Registered: 2017-03-15
Posts: 869

[solved] lm_sensors and lib32-lm_sensors upgrade fails

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

#2 Yesterday 05:56:45

lucasm
Member
Registered: Yesterday
Posts: 2

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

I'm having this exact same issue at the same time go figure. Hoping someone here can help, google wasnt too helpful. ):

Offline

#3 Yesterday 05:57:50

Yujiro Hanma
Member
Registered: 2024-06-27
Posts: 2

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

It is a packaging issue most probably, should be rectified pretty soon.

Offline

#4 Yesterday 06:12:14

Beru
Member
Registered: 2013-10-16
Posts: 1

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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

#5 Yesterday 06:29:58

rug4ru
Member
From: Russia
Registered: Yesterday
Posts: 5

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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

#6 Yesterday 06:47:17

ibk
Member
Registered: 2017-01-20
Posts: 1

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

Same issue here.

Offline

#7 Yesterday 07:11:50

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 196
Website

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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.

Last edited by SimonJ (Yesterday 07:19:44)


Rlu: 222126

Offline

#8 Yesterday 07:12:24

GreenTuxer
Member
From: Odivelas (Lisboa), Portugal
Registered: 2013-06-06
Posts: 17
Website

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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

#9 Yesterday 07:18:04

rug4ru
Member
From: Russia
Registered: Yesterday
Posts: 5

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

SimonJ wrote:
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

#10 Yesterday 07:18:23

lucasm
Member
Registered: Yesterday
Posts: 2

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

rug4ru wrote:

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

#11 Yesterday 07:40:27

CyrIng
Member
From: France
Registered: 2010-07-17
Posts: 109
Website

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

Had forced successfully the update

pacman -Syyuu

Offline

#12 Yesterday 07:42:03

SometimesYes
Member
Registered: Yesterday
Posts: 1

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

rug4ru wrote:

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

#13 Yesterday 08:11:17

rug4ru
Member
From: Russia
Registered: Yesterday
Posts: 5

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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

#14 Yesterday 08:12:57

rug4ru
Member
From: Russia
Registered: Yesterday
Posts: 5

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

CyrIng wrote:

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

#15 Yesterday 08:21:24

marko3
Member
Registered: Yesterday
Posts: 1

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

I did it like this:

sudo pacman -Suy --overwrite '/usr/share/zsh/site-functions/_sensors' --overwrite '/usr/share/zsh/site-functions/_sensors-detect'

Offline

#16 Yesterday 08:33:40

mpan
Member
Registered: 2012-08-01
Posts: 1,397
Website

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

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.

CyrIng wrote:

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

#17 Yesterday 09:22:48

GreenTuxer
Member
From: Odivelas (Lisboa), Portugal
Registered: 2013-06-06
Posts: 17
Website

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

I confirm, the updated package fixes the issue.

Offline

#18 Yesterday 09:45:24

rug4ru
Member
From: Russia
Registered: Yesterday
Posts: 5

Re: [solved] lm_sensors and lib32-lm_sensors upgrade fails

Issue is solved, I suppose.


Not native speaker. Excuse me for my inglysh.

Offline

Board footer

Powered by FluxBB