You are not logged in.

#1 2023-10-12 07:28:39

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 159

[SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

Linux Arch + Plasma KDE during tried update to rav1e-0.6.6-3 get

error: failed to commit transaction (conflicting files)
rav1e: /usr/lib/librav1e.so.0.6 exists in filesystem
Errors occurred, no packages were upgraded.
-> error installing repo packages

tried manually uninstall previous rav1ie however dependencies:
➜  ~ yay -R rav1e
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing rav1e breaks dependency 'librav1e.so=0.6-64' required by ffmpeg
:: removing rav1e breaks dependency 'librav1e.so=0.6-64' required by ffmpeg4.4
:: removing rav1e breaks dependency 'librav1e.so=0.6-64' required by libavif

from which depend others applications as well

Are you think guys that should try to overwrite fe like below?

sudo pacman -Suy --overwrite usr/lib/librav1e.so.0.6

I check content of
➜  ~ ll /usr/lib/librav*
lrwxrwxrwx root root  17 B  Wed Oct 11 19:12:27 2023  /usr/lib/librav1e.so ⇒ librav1e.so.0.6.6
lrwxrwxrwx root root  17 B  Wed Oct 11 19:12:27 2023  /usr/lib/librav1e.so.0 ⇒ librav1e.so.0.6.6
lrwxrwxrwx root root  17 B  Wed Oct 11 22:41:32 2023  /usr/lib/librav1e.so.0.6 ⇒ librav1e.so.0.6.6
.rwxr-xr-x root root 3.1 MB Wed Oct 11 19:12:27 2023  /usr/lib/librav1e.so.0.6.6

I prefer asking on forum before broke any application related to audio.
I´d be thankfully for any advide here.

Last edited by infoslaw (2023-10-12 09:02:31)

Offline

#2 2023-10-12 08:23:39

kpcyrd
Member
Registered: 2023-10-12
Posts: 1

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

Sorry for this, you can safely delete or overwrite /usr/lib/librav1e.so.0.6 for your upgrade.

The /usr/lib/librav1e.so.0.6 symlink was missing in rav1e-0.6.6-2, which causes it to be generated upon install in a way not tracked by pacman. When the missing symlink was added in rav1e-0.6.6-3 30min later, pacman would then not know if it can replace the symlink on disk, since it doesn't belong to any package (from pacman's point of view).

Last edited by kpcyrd (2023-10-12 08:24:04)

Offline

#3 2023-10-12 09:00:08

infoslaw
Member
From: Poland, Warsaw
Registered: 2013-05-06
Posts: 159

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

Thank you for quick replay!

Resolved issue:
pacman -Suy --overwrite usr/lib/librav1e.so.0.6

After crashing previous system and spent many time for building new environment better safe than sorry. smile

Offline

#4 2023-10-12 12:15:25

rodwal
Member
Registered: 2023-10-12
Posts: 1

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

Just confirming - your fix "pacman -Suy --overwrite usr/lib/librav1e.so.0.6" worked perfectly for me. Sorry you had to suffer for so long...

Offline

#5 2023-10-12 13:57:59

azea
Member
Registered: 2023-10-12
Posts: 2

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

pacman -Suy --overwrite usr/lib/librav1e.so.0.6
also worked for me.

Offline

#6 2023-10-12 19:27:08

Basher52
Member
From: Sweden
Registered: 2019-07-13
Posts: 11

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

pacman -Suy --overwrite usr/lib/librav1e.so.0.6 worked here too


Switched to 100% in 2020 and haven't been happier but have used Linux on and off since back in the 90's.
It's either Linux or Electronics for me, fixing broken laptops and make them "faster" with Linux running on 'em

Offline

#7 2023-10-12 20:16:19

gguman
Member
Registered: 2023-10-12
Posts: 1

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

kpcyrd wrote:

overwrite /usr/lib/librav1e.so.0.6 for your upgrade.

thank you!

Last edited by gguman (2023-10-12 20:16:43)

Offline

#8 2023-10-12 22:43:30

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,646

Re: [SOLVED] rav1e-0.6.6-3 failed to commit transaction conflicting files

That's enough "me too" posts. Closing this solved thread.

Offline

Board footer

Powered by FluxBB