You are not logged in.

#1 2017-04-27 17:29:52

Eadword
Member
Registered: 2015-05-10
Posts: 5

[SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

I was running updates a day or two ago, and my laptop decided it would be a wonderful time for a hard-crash which I had to forcefully reboot from. I had hopped it was only in the downloading phase, but when I realized a program would not load for no apparent reason today, I realized this is not so.

I already fixed that specific program using a forceful installation, but one artifact remaining from the poorly-timed crash remains--every time I run pacman, it yields the following:

ldconfig: File /usr/lib/libmaildir.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libakonadi-filestore.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libakonadi-singlefileresource.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libkmindexreader.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libfolderarchivesettings.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libfolderarchivesettings.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkmindexreader.so.5 is empty, not checked.
ldconfig: File /usr/lib/libakonadi-singlefileresource.so.5 is empty, not checked.
ldconfig: File /usr/lib/libakonadi-filestore.so.5 is empty, not checked.
ldconfig: File /usr/lib/libmaildir.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkaddressbookprivate.so.5.5.0 is empty, not checked.
ldconfig: File /usr/lib/libkaddressbookprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libcompoundviewer.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libscience.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libscience.so is empty, not checked.
ldconfig: File /usr/lib/libscience.so.5 is empty, not checked.
ldconfig: File /usr/lib/libcompoundviewer.so is empty, not checked.
ldconfig: File /usr/lib/libcompoundviewer.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so.5 is empty, not checked.

I have found some simmilar posts, but in most of their cases they usually were able to find the owner of the files and then reinstall them, in my case I have run

pacman -Qo $NAME

on some of the packages, and all that I have tested on have yielded no owner. Same result with pkgfile.

Is it safe to just delete these files? It seems like that would be too easy...

Last edited by Eadword (2017-05-02 15:59:37)

Offline

#2 2017-04-27 17:49:05

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

Welcome to the arch linux forums Eadword.

ldconfig: File /usr/lib/libcompoundviewer.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libscience.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libscience.so is empty, not checked.
ldconfig: File /usr/lib/libscience.so.5 is empty, not checked.
ldconfig: File /usr/lib/libcompoundviewer.so is empty, not checked.
ldconfig: File /usr/lib/libcompoundviewer.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so is empty, not checked.
ldconfig: File /usr/lib/libKEduVocDocument.so.5 is empty, not checked.

Should be found by Pacman#Search_for_a_package_that_contains_a_specific_file
Would recomend checking all packages for corruption with

$ pacman -Qkk

and trying a search engine to locate the creator of the other files.

Offline

#3 2017-04-27 18:07:26

Eadword
Member
Registered: 2015-05-10
Posts: 5

Re: [SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

Ah, thank you, yes that is finding the package owners.
Also, the results of

pacman -Qkk | grep warning
warning: cups: /etc/cups/classes.conf (Permissions mismatch)
warning: cups: /etc/cups/printers.conf (Permissions mismatch)
warning: cups: /etc/cups/subscriptions.conf (Permissions mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default (Modification time mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Symlink path mismatch)
warning: java-runtime-common: /usr/lib/jvm/default-runtime (Modification time mismatch)
error: error while reading file /var/lib/pacman/local/kaddressbook-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kalarm-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kalgebra-17.04.0-2/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kalzium-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kamera-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kanagram-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kapman-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kapptemplate-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kate-17.04.0-3/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/katomic-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kblackbox-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kblocks-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kbounce-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kbreakout-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kbruch-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kcharselect-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kcolorchooser-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kcron-17.04.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/kdeedu-data-17.04.0-1/mtree: Unrecognized archive format
warning: kdepim-runtime: /usr/bin/akonadi_birthdays_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_googlecalendar_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_googlecontacts_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_icaldir_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_invitations_agent (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_maildispatcher_agent (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_mbox_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_migration_agent (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_mixedmaildir_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_newmailnotifier_agent (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_pop3_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_tomboynotes_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_vcard_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/akonadi_vcarddir_resource (Size mismatch)
warning: kdepim-runtime: /usr/bin/gidmigrator (Size mismatch)
warning: kdepim-runtime: /usr/lib/libakonadi-filestore.so.5.5.0 (Size mismatch)
warning: kdepim-runtime: /usr/lib/libakonadi-singlefileresource.so.5.5.0 (Size mismatch)
warning: kdepim-runtime: /usr/lib/libfolderarchivesettings.so.5.5.0 (Size mismatch)
warning: kdepim-runtime: /usr/lib/libkmindexreader.so.5.5.0 (Size mismatch)
warning: kdepim-runtime: /usr/lib/libmaildir.so.5.5.0 (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/akonadi_serializer_addressee.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/akonadi_serializer_contactgroup.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/akonadi_serializer_kalarm.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/akonadi_serializer_kcalcore.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/akonadi_serializer_mail.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/kf5/kio/akonadi.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/qt/plugins/kf5/kio/pop3.so (Size mismatch)
warning: kdepim-runtime: /usr/lib/sasl2/libkdexoauth2.so.3.0.0 (Size mismatch)
error: error while reading file /var/lib/pacman/local/libkeduvocdocument-17.04.0-1/mtree: Unrecognized archive format
warning: lightdm: /usr/share/polkit-1/rules.d/lightdm.rules (Permission denied)
warning: linux: /boot/vmlinuz-linux (Permissions mismatch)
warning: linux: /boot/vmlinuz-linux (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.alias (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.alias (Size mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.alias.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.alias.bin (Size mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.builtin.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.dep (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.dep (Size mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.dep.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.dep.bin (Size mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.devname (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.softdep (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.symbols (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.symbols (Size mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.symbols.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/4.10.11-1-ARCH/modules.symbols.bin (Size mismatch)
warning: linux-ck: /boot/vmlinuz-linux-ck (Permissions mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.alias (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.alias.bin (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.builtin.bin (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.dep (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.dep.bin (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.devname (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.softdep (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.symbols (Modification time mismatch)
warning: linux-ck: /usr/lib/modules/4.10.6-ck/modules.symbols.bin (Modification time mismatch)
warning: openvpn: /etc/openvpn/client (GID mismatch)
warning: openvpn: /etc/openvpn/client (Permissions mismatch)
warning: openvpn: /etc/openvpn/server (GID mismatch)
warning: openvpn: /etc/openvpn/server (Permissions mismatch)
warning: polkit: /etc/polkit-1/rules.d/50-default.rules (Permission denied)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/__init__.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/applications.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/backend.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/backend_iptables.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/frontend.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/parser.pyc (Modification time mismatch)
warning: ufw: /usr/lib/python2.7/site-packages/ufw/util.pyc (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)

I am guessing that I should go ahead and reinstall the packages which are resulted from the pacman -Fs searches and then verify the warnings are fixed?

Offline

#4 2017-04-27 18:23:22

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

I would also reinstall every package that produced a "mtree: Unrecognized archive format" warning and kdepim-runtime because of the multiple size mismatch warnings.
The size mismatch for linux / linux-ck is expected as those packages install scripts run depmod.

Offline

#5 2017-05-02 15:00:24

Eadword
Member
Registered: 2015-05-10
Posts: 5

Re: [SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

Thank you again, everything seems to be back to normal now.

Offline

#6 2017-05-02 15:40:00

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] ldconfig: /usr/lib/$NAME is empty, not checked.

Please remember to mark your thread as [SOLVED] by editing your first post and adding [SOLVED] to the title. It just might help someone else further down the road. smile


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

Board footer

Powered by FluxBB