You are not logged in.
After my system crashed during an update the other day, pacman now returns several errors whenever I update or install/reinstall packages:
ldconfig: File /usr/lib/libQt6Widgets.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.so is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Positioning.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Widgets.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.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/libQt6Network.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Sql.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Positioning.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so.6 is empty, not checked.
ldconfig: File /usr/lib/libtk.so is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6PositioningQuick.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6PositioningQuick.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6PositioningQuick.so is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6Test.so is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGL.so is empty, not checked.
ldconfig: File /usr/lib/libtk8.6.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Positioning.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Xml.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6OpenGLWidgets.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Sql.so is empty, not checked.
ldconfig: File /usr/lib/libQt6PrintSupport.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Network.so.6 is empty, not checked.
ldconfig: File /usr/lib/libtcl8.6.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Widgets.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6XcbQpa.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Network.so is empty, not checked.
ldconfig: File /usr/lib/libQt6DBus.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsGbmSupport.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFSDeviceIntegration.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Core.so.6 is empty, not checked.
ldconfig: File /usr/lib/libtcl.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so is empty, not checked.
ldconfig: File /usr/lib/libQt6EglFsKmsGbmSupport.so is empty, not checked.
ldconfig: File /usr/lib/libQt6Concurrent.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/libQt6EglFsKmsGbmSupport.so.6.7.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6Gui.so.6.7.0 is empty, not checked.
I've tried the general solutions such as using pacman -Qkk | grep warning and reinstalling all the packages with errors but that doesn't solve the problem either.
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: discord: /opt (UID mismatch)
warning: filesystem: /opt (UID mismatch)
warning: filesystem: /root (Permissions mismatch)
warning: filesystem: /srv/http (UID mismatch)
warning: filesystem: /srv/http (GID mismatch)
warning: intel-oneapi-common: /opt (UID mismatch)
warning: intel-oneapi-compiler-dpcpp-cpp-runtime-libs: /opt (UID mismatch)
warning: intel-oneapi-compiler-shared-runtime-libs: /opt (UID mismatch)
warning: intel-oneapi-tbb: /opt (UID mismatch)
warning: intel-ucode: /boot/intel-ucode.img (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)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: libvirt: /var/lib/libvirt/swtpm (Permissions mismatch)
warning: mariadb: /usr/lib/mysql/plugin/auth_pam_tool_dir (UID mismatch)
warning: mariadb: /usr/lib/mysql/plugin/auth_pam_tool_dir (Permissions mismatch)
warning: materialx: /usr/share/mime/model/materialx.xml (No such file or directory)
warning: packettracer: /opt (UID mismatch)
error: error while reading file /var/lib/pacman/local/patchelf-0.18.0-3/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/python-jaraco.functools-4.0.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/python-opengl-3.1.7-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/python-orjson-3.10.3-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/python-tinycss2-1.3.0-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/qt6-base-6.7.0-5/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/qt6-positioning-6.7.0-2/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/rsync-3.3.0-2/mtree: Unrecognized archive format
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: spotify: /opt (UID mismatch)
error: error while reading file /var/lib/pacman/local/system-config-printer-1.5.18-4/mtree: Unrecognized archive format
warning: systemd: /var/log/journal (GID mismatch)
error: error while reading file /var/lib/pacman/local/systemd-sysvcompat-255.5-4/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/tcl-8.6.14-4/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/tk-8.6.14-3/mtree: Unrecognized archive format
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
warning: vlc: /usr/lib/vlc/plugins/plugins.dat (SHA256 checksum mismatch)
error: error while reading file /var/lib/pacman/local/wget-1.24.5-2/mtree: Unrecognized archive format
warning: zoom: /opt (UID mismatch)
What else do I need to do?
Last edited by adrit1234 (2024-05-10 16:51:17)
Offline
Reinstall every package showing:
error: error while reading file /var/lib/pacman/local/*/mtree: Unrecognized archive format
Offline
I reinstalled the packages and they showed the file already exists error which I just solved by renaming those files. And now the errors are fixed. Thank you!
Offline
`yay -S $(pacman -Qq) --overwrite="*"`
This one works for me. reinstall every packages.
Offline