You are not logged in.

#1 2023-08-31 02:32:54

K1bas4r0
Member
Registered: 2023-08-31
Posts: 7

[SOLVED] Can't update lz4, pacman use liblz4.so.1

hello,

I was trying to update lz4 but pacman shows the error:

 error: the operation could not be performed (conflicting files)
lz4: /usr/lib/liblz4.so.1 exists on the file system
Errors occurred, so the packages will not be updated 

so I delete this file

now pacman gives me the following error

 pacman: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory 

I cloned and compiled the lz4 repository to have the liblz4.so.1 file again and copied it to /usr/lib

I can use pacman again but not update lz4, because I get the first error
Do you know any way to fix this situation?

Last edited by K1bas4r0 (2023-08-31 04:15:46)

Offline

#2 2023-08-31 03:58:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,480
Website

Re: [SOLVED] Can't update lz4, pacman use liblz4.so.1

Your pacman database appears incomplete.  I would not be surprised to see similar issues in the future.

You can proceed with the update using

pacman -Syu --overwrite /usr/lib/liblz4.so.1

Offline

#3 2023-08-31 04:29:15

K1bas4r0
Member
Registered: 2023-08-31
Posts: 7

Re: [SOLVED] Can't update lz4, pacman use liblz4.so.1

thank you, this has solved my problem.

Offline

Board footer

Powered by FluxBB