Help! Missing Qt Libraries

Hello, recently my laptop crashed when I was updating, and forced to restart.
Now everytime I use pacman or yay to update something I get the following:

ldconfig: File /usr/lib/libQt6Widgets.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsGbmSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Network.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Widgets.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.so is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsGbmSupport.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Sql.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Network.so is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsSupport.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Widgets.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Network.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Sql.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsGbmSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Sql.so is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so is empty, not checked.
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Checking which packages need to be rebuilt

Use pacman -Qo to find out what packages own those files and then reinstall them.

Your issue was mostly likely caused by the issues with the nvidia drivers

For example:

$ pacman -Qo /usr/lib/libQt6XcbQpa.so
/usr/lib/libQt6XcbQpa.so is owned by qt6-base 6.7.0-6

So at least reinstall qt6-base and try again.

Thanks for replying, I made a script for it:

files=(
"/usr/lib/libQt6Widgets.so",
"/usr/lib/libQt6EglFSDeviceIntegration.so.6",
"/usr/lib/libQt6XcbQpa.so.6.7.0",
"/usr/lib/libQt6EglFsKmsGbmSupport.so.6",
"/usr/lib/libQt6Network.so.6.7.0",
"/usr/lib/libQt6Widgets.so.6",
"/usr/lib/libQt6Xml.so.6.7.0",
"/usr/lib/libQt6DBus.so",
"/usr/lib/libQt6OpenGL.so.6.7.0",
"/usr/lib/libQt6Test.so.6",
"/usr/lib/libQt6EglFSDeviceIntegration.so.6.7.0",
"/usr/lib/libQt6DBus.so.6.7.0",
"/usr/lib/libQt6EglFsKmsSupport.so",
"/usr/lib/libQt6Concurrent.so.6",
"/usr/lib/libQt6Xml.so.6",
"/usr/lib/libQt6PrintSupport.so",
"/usr/lib/libQt6Concurrent.so",
"/usr/lib/libQt6Xml.so",
"/usr/lib/libQt6EglFsKmsGbmSupport.so.6.7.0",
"/usr/lib/libQt6Sql.so.6.7.0",
"/usr/lib/libQt6Core.so.6.7.0",
"/usr/lib/libQt6Gui.so.6",
"/usr/lib/libQt6EglFsKmsSupport.so.6",
"/usr/lib/libQt6EglFSDeviceIntegration.so",
"/usr/lib/libQt6Network.so",
"/usr/lib/libQt6PrintSupport.so.6.7.0",
"/usr/lib/libQt6EglFsKmsSupport.so.6.7.0",
"/usr/lib/libQt6Core.so.6",
"/usr/lib/libQt6PrintSupport.so.6",
"/usr/lib/libQt6OpenGLWidgets.so.6.7.0",
"/usr/lib/libQt6OpenGLWidgets.so.6",
"/usr/lib/libQt6Test.so",
"/usr/lib/libQt6Test.so.6.7.0",
"/usr/lib/libQt6XcbQpa.so.6",
"/usr/lib/libQt6Widgets.so.6.7.0",
"/usr/lib/libQt6Core.so",
"/usr/lib/libQt6DBus.so.6",
"/usr/lib/libQt6Network.so.6",
"/usr/lib/libQt6OpenGL.so",
"/usr/lib/libQt6Gui.so.6.7.0",
"/usr/lib/libQt6Sql.so.6",
"/usr/lib/libQt6Concurrent.so.6.7.0",
"/usr/lib/libQt6OpenGL.so.6",
"/usr/lib/libQt6EglFsKmsGbmSupport.so",
"/usr/lib/libQt6Sql.so",
"/usr/lib/libQt6OpenGLWidgets.so",
"/usr/lib/libQt6Gui.so",
"/usr/lib/libQt6XcbQpa.so"
)

for filename in "${files[@]}"; do
  pacman -Qo "$filename"
done

But neither of them are owned:

error: No package owns /usr/lib/libQt6Widgets.so,
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so.6,
error: No package owns /usr/lib/libQt6XcbQpa.so.6.7.0,
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so.6,
error: No package owns /usr/lib/libQt6Network.so.6.7.0,
error: No package owns /usr/lib/libQt6Widgets.so.6,
error: No package owns /usr/lib/libQt6Xml.so.6.7.0,
error: No package owns /usr/lib/libQt6DBus.so,
error: No package owns /usr/lib/libQt6OpenGL.so.6.7.0,
error: No package owns /usr/lib/libQt6Test.so.6,
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so.6.7.0,
error: No package owns /usr/lib/libQt6DBus.so.6.7.0,
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so,
error: No package owns /usr/lib/libQt6Concurrent.so.6,
error: No package owns /usr/lib/libQt6Xml.so.6,
error: No package owns /usr/lib/libQt6PrintSupport.so,
error: No package owns /usr/lib/libQt6Concurrent.so,
error: No package owns /usr/lib/libQt6Xml.so,
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so.6.7.0,
error: No package owns /usr/lib/libQt6Sql.so.6.7.0,
error: No package owns /usr/lib/libQt6Core.so.6.7.0,
error: No package owns /usr/lib/libQt6Gui.so.6,
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so.6,
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so,
error: No package owns /usr/lib/libQt6Network.so,
error: No package owns /usr/lib/libQt6PrintSupport.so.6.7.0,
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so.6.7.0,
error: No package owns /usr/lib/libQt6Core.so.6,
error: No package owns /usr/lib/libQt6PrintSupport.so.6,
error: No package owns /usr/lib/libQt6OpenGLWidgets.so.6.7.0,
error: No package owns /usr/lib/libQt6OpenGLWidgets.so.6,
error: No package owns /usr/lib/libQt6Test.so,
error: No package owns /usr/lib/libQt6Test.so.6.7.0,
error: No package owns /usr/lib/libQt6XcbQpa.so.6,
error: No package owns /usr/lib/libQt6Widgets.so.6.7.0,
error: No package owns /usr/lib/libQt6Core.so,
error: No package owns /usr/lib/libQt6DBus.so.6,
error: No package owns /usr/lib/libQt6Network.so.6,
error: No package owns /usr/lib/libQt6OpenGL.so,
error: No package owns /usr/lib/libQt6Gui.so.6.7.0,
error: No package owns /usr/lib/libQt6Sql.so.6,
error: No package owns /usr/lib/libQt6Concurrent.so.6.7.0,
error: No package owns /usr/lib/libQt6OpenGL.so.6,
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so,
error: No package owns /usr/lib/libQt6Sql.so,
error: No package owns /usr/lib/libQt6OpenGLWidgets.so,
error: No package owns /usr/lib/libQt6Gui.so,
error: No package owns /usr/lib/libQt6XcbQpa.so

Could you show the full output of

sudo pacman -Syu

image

Ps.

The

ldconfig: File /usr/lib/libQt6Widgets.so is empty, not checked.
…

Only shows when installing or updating other packages.

Have you tried to echo what your script of array outputs at the first place? :smiley:
It puts there a comma, that is the problem.
Remove all the commas from the “files” list and your script will run as expected, and you’ll get outputs.

You need to strip the commas.

:point_up: :smiley:

on telegram i gave paccheck --list-broken --md5sum
and pacrepairdb ?

system is broken because of second part a crash… pacrepairdb (package) , should fix it and download it from cache…

Sorry, I didn’t see it, I ran it again without the commas, I also ran the command individually to test them without the script but they are still the same.

error: No package owns /usr/lib/libQt6Widgets.so
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so.6
error: No package owns /usr/lib/libQt6XcbQpa.so.6.7.0
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so.6
error: No package owns /usr/lib/libQt6Network.so.6.7.0
error: No package owns /usr/lib/libQt6Widgets.so.6
error: No package owns /usr/lib/libQt6Xml.so.6.7.0
error: No package owns /usr/lib/libQt6DBus.so
error: No package owns /usr/lib/libQt6OpenGL.so.6.7.0
error: No package owns /usr/lib/libQt6Test.so.6
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so.6.7.0
error: No package owns /usr/lib/libQt6DBus.so.6.7.0
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so
error: No package owns /usr/lib/libQt6Concurrent.so.6
error: No package owns /usr/lib/libQt6Xml.so.6
error: No package owns /usr/lib/libQt6PrintSupport.so
error: No package owns /usr/lib/libQt6Concurrent.so
error: No package owns /usr/lib/libQt6Xml.so
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so.6.7.0
error: No package owns /usr/lib/libQt6Sql.so.6.7.0
error: No package owns /usr/lib/libQt6Core.so.6.7.0
error: No package owns /usr/lib/libQt6Gui.so.6
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so.6
error: No package owns /usr/lib/libQt6EglFSDeviceIntegration.so
error: No package owns /usr/lib/libQt6Network.so
error: No package owns /usr/lib/libQt6PrintSupport.so.6.7.0
error: No package owns /usr/lib/libQt6EglFsKmsSupport.so.6.7.0
error: No package owns /usr/lib/libQt6Core.so.6
error: No package owns /usr/lib/libQt6PrintSupport.so.6
error: No package owns /usr/lib/libQt6OpenGLWidgets.so.6.7.0
error: No package owns /usr/lib/libQt6OpenGLWidgets.so.6
error: No package owns /usr/lib/libQt6Test.so
error: No package owns /usr/lib/libQt6Test.so.6.7.0
error: No package owns /usr/lib/libQt6XcbQpa.so.6
error: No package owns /usr/lib/libQt6Widgets.so.6.7.0
error: No package owns /usr/lib/libQt6Core.so
error: No package owns /usr/lib/libQt6DBus.so.6
error: No package owns /usr/lib/libQt6Network.so.6
error: No package owns /usr/lib/libQt6OpenGL.so
error: No package owns /usr/lib/libQt6Gui.so.6.7.0
error: No package owns /usr/lib/libQt6Sql.so.6
error: No package owns /usr/lib/libQt6Concurrent.so.6.7.0
error: No package owns /usr/lib/libQt6OpenGL.so.6
error: No package owns /usr/lib/libQt6EglFsKmsGbmSupport.so
error: No package owns /usr/lib/libQt6Sql.so
error: No package owns /usr/lib/libQt6OpenGLWidgets.so
error: No package owns /usr/lib/libQt6Gui.so
error: No package owns /usr/lib/libQt6XcbQpa.so

Yes, sorry I posted this first before asking in telegram, I’ll try it in a minute as I was busy with something and let you know.

In that case, you can use pkgfile.

First do sudo pkgfile -u to update the database and then try pkgfile <filename>

is just by the crash packages is ‘unowned’ of there libs…

Hello ringo,

This is the result im getting

lsb-release don’t mind it, eos does have a hooks so its always md5sum bad,

try sudo pacman -S --overwrite=‘*’ qt6-base rkhunter

that wil fix those unowned for now for huge part…

Nvm, I tried again with pacrepairdb and it works now, i did sudo pkgfile -u from dalto, dont know if that’s related.

I’ll make some test, to see if it works, if everything all right I’ll mark it solved.

Thanks to everyone who helped!

image

lsb-release will always shows up dont botter it :slight_smile: if pacman -S lsb-release works normally dont bother on that atleast

pkgfile you can tracks paths+libs who the owner if of that path libs… so you can reinstall overwrite those packages or remove the empty shell the reinstall the package as example…

i gues pacutils has that also or was it pactree :stuck_out_tongue: lot with pacutils you can fix some of the packages without the overwrite