ldconfig: file ... is truncated error

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Hiraghm
Level 1
Level 1
Posts: 4
Joined: Sat Oct 16, 2021 1:09 am

ldconfig: file ... is truncated error

Post by Hiraghm »

When I do a sudo apt update / upgrade, the upgrade finishes by showing me two dozen files that are "truncated", such as "/usr/lib/libXrandr.so.2" and "/usr/lib/libwayland-egl.so.1"...

What is causing this, and how can I fix it?

My system seems to be running fine, but it has me worried.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: ldconfig: file ... is truncated error

Post by rene »

Could it be that you used patchelf, https://github.com/NixOS/patchelf? Seems that is/was an issue with it...

In any case, I'm on the main edition but for me:

Code: Select all

rene@p55m:~$ dpkg -S libXrandr.so.2 libwayland-egl.so.1
libxrandr2:amd64: /usr/lib/x86_64-linux-gnu/libXrandr.so.2
libxrandr2:amd64: /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
libwayland-egl1:amd64: /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
libwayland-egl1:amd64: /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
For all in your case mentioned packages for the damaged libs, I'd do e.g.

Code: Select all

sudo apt-get install --reinstall libxrandr2 libwayland-egl1
Hiraghm
Level 1
Level 1
Posts: 4
Joined: Sat Oct 16, 2021 1:09 am

Re: ldconfig: file ... is truncated error

Post by Hiraghm »

I tried sudo apt-get install --reinstall libxrandr2 libwayland-egl1

And at the end they were still listed among the truncated files.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: ldconfig: file ... is truncated error

Post by rene »

I'm as said on the main edition, and although I'd expect the package names to be same on LMDE, them not being so is the only suggestion I've left to consider; you'd use the given advise to make sure. Otherwise not an idea.
Locked

Return to “Software & Applications”