You are not logged in.

#1 2023-12-05 22:09:33

scatherinch
Member
Registered: 2023-02-24
Posts: 160

[SOLVED] System Corruption after power failure

I had a power outage and my system suffered, likely during a critical process. Could you guys please help me get it back on track? Whenever I try and install a package through pacman, I get this output from ldconfig:

ldconfig: File /usr/lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so is empty, not checked.
ldconfig: File /usr/lib/libKF5DNSSD.so.5.112.0 is empty, not checked.
ldconfig: File /usr/lib/libtevent.so.0.15.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5IdleTime.so.5 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so.0.16 is empty, not checked.
ldconfig: File /usr/lib/libKF5FileMetaData.so.3 is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so.0.28.0 is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so.1 is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so is empty, not checked.
ldconfig: File /usr/lib/libKF5FileMetaData.so is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libepub.so.0.2.1 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5DNSSD.so is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libndr.so is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so.0.7.0 is empty, not checked.
ldconfig: File /usr/lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2.8.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libndr.so.3 is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libndr.so.3.0.1 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so.0 is empty, not checked.
ldconfig: File /usr/lib/libepub.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so is empty, not checked.
ldconfig: File /usr/lib/libpyldb-util.cpython-311-x86-64-linux-gnu.so.2 is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-errors.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5SyntaxHighlighting.so.5.112.0 is empty, not checked.
ldconfig: File /usr/lib/libkdsoap.so is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5IdleTime.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.so is empty, not checked.
ldconfig: File /usr/lib/libkdsoap-server.so.2 is empty, not checked.
ldconfig: File /usr/lib/libKF5FileMetaData.so.5.112.0 is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so.0 is empty, not checked.
ldconfig: File /usr/lib/libkdsoap.so.2.1.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5SyntaxHighlighting.so is empty, not checked.
ldconfig: File /usr/lib/libkdsoap.so.2 is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so.2.1.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so is empty, not checked.
ldconfig: File /usr/lib/libldb.so.2.8.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-errors.so.1 is empty, not checked.
ldconfig: File /usr/lib/libldb.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libtevent.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-errors.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libnss_wins.so.2 is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5IdleTime.so.5.112.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so is empty, not checked.
ldconfig: File /usr/lib/libkdsoap-server.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5DNSSD.so.5 is empty, not checked.
ldconfig: File /usr/lib/libtevent.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.so.0 is empty, not checked.
ldconfig: File /usr/lib/libepub.so is empty, not checked.
ldconfig: File /usr/lib/libkdsoap-server.so.2.1.1 is empty, not checked.
ldconfig: File /usr/lib/libldb.so.2 is empty, not checked.
ldconfig: File /usr/lib/libnss_winbind.so.2 is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so.2 is empty, not checked.
ldconfig: File /usr/lib/libkioarchive.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5SyntaxHighlighting.so.5 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so is empty, not checked.
ldconfig: File /usr/lib/libkioarchive.so.5.98.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so.0 is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so.0 is empty, not checked.
ldconfig: File /usr/lib/liblmdb.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so is empty, not checked.
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied

I've never had this happen before, so I'm not entirely sure what to do. Pacman is working, but it spits all of those errors out at me. What is it telling me? Please help me.

EDIT: I did some research and I think I got it. I found a command; sudo pacman -S $(pacman -Qqn) --overwrite '*'. This reinstalls all programs on the system and regathers everything that was 'forgotten' I believe.

Last edited by scatherinch (2023-12-06 02:14:05)

Offline

#2 2023-12-07 02:58:14

ectospasm
Member
Registered: 2015-08-28
Posts: 297

Re: [SOLVED] System Corruption after power failure

I'd boot off of a rescue medium (or the Arch ISO) and run an appropriate fsck for all your filesystems, it's possible there are other, latent errors if a sudden power loss caused that kind of corruption.

Offline

Board footer

Powered by FluxBB