You are not logged in.
I am getting those outputs ("... is empty, not checked" and "... is truncated") whenever I install a package with pacman. I give the output of system upgrade down below as an example. It is not causing any error for now, I can successfully install packages and upgrade my system but I want to know why is that giving me this output and if it is going to be a problem for me later.
I found some similar topics on this forum. It was suggesting to use pacman -Qkk and fix the packages one by one. I ran pacman -Qkk but I don't know really how to fix those warning it gave me.
[baran@192 ~]$ sudo pacman -Syu
[sudo] password for baran:
:: Synchronizing package databases...
core 128.3 KiB 168 KiB/s 00:01 [###############################################] 100%
extra 8.1 MiB 3.79 MiB/s 00:02 [###############################################] 100%
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (4) containerd-1.7.15-1 hwdata-0.381-1 libx11-1.8.9-1 libxmlb-0.3.17-1
Total Download Size: 30.14 MiB
Total Installed Size: 142.04 MiB
Net Upgrade Size: -1.94 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
containerd-1.7.15-1-x86_64 26.4 MiB 4.53 MiB/s 00:06 [###############################################] 100%
libx11-1.8.9-1-x86_64 2039.9 KiB 3.09 MiB/s 00:01 [###############################################] 100%
hwdata-0.381-1-any 1625.2 KiB 3.63 MiB/s 00:00 [###############################################] 100%
libxmlb-0.3.17-1-x86_64 150.6 KiB 1186 KiB/s 00:00 [###############################################] 100%
Total (4/4) 30.1 MiB 4.03 MiB/s 00:07 [###############################################] 100%
(4/4) checking keys in keyring [###############################################] 100%
(4/4) checking package integrity [###############################################] 100%
(4/4) loading package files [###############################################] 100%
(4/4) checking for file conflicts [###############################################] 100%
(4/4) checking available disk space [###############################################] 100%
:: Processing package changes...
(1/4) upgrading containerd [###############################################] 100%
(2/4) upgrading hwdata [###############################################] 100%
(3/4) upgrading libx11 [###############################################] 100%
(4/4) upgrading libxmlb [###############################################] 100%
ldconfig: File /usr/lib32/libgstpbutils-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstsdp-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstgl-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstfft-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstfft-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstreamer-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstnet-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstbase-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstriff-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstrtp-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstreamer-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgsttag-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstvideo-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgsttag-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstcontroller-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgsttag-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstapp-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstallocators-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstapp-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstallocators-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstvideo-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstcontroller-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstcheck-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstrtsp-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstsdp-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstnet-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstaudio-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstsdp-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstbase-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstrtp-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstallocators-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstgl-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstgl-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstaudio-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstrtsp-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstrtsp-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstreamer-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstbase-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstriff-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstcheck-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstriff-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstrtp-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstapp-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstpbutils-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstcheck-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstfft-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstaudio-1.0.so.0.2401.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstcontroller-1.0.so.0 is empty, not checked.
ldconfig: File /usr/lib32/libgstnet-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstpbutils-1.0.so is empty, not checked.
ldconfig: File /usr/lib32/libgstvideo-1.0.so is empty, not checked.
ldconfig: File /usr/lib/libfolks.so.26 is empty, not checked.
ldconfig: File /usr/lib/libfolks.so.26.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfolks-eds.so is empty, not checked.
ldconfig: File /usr/lib/libfolks.so is empty, not checked.
ldconfig: File /usr/lib/librdf.so.0 is empty, not checked.
ldconfig: File /usr/lib/libfolks-dummy.so is empty, not checked.
ldconfig: file /usr/lib/libnvidia-rtcore.so.550.67 is truncated
ldconfig: File /usr/lib/libheif.so.1.17.6 is empty, not checked.
ldconfig: File /usr/lib/libavif.so is empty, not checked.
ldconfig: File /usr/lib/libfolks-eds.so.26 is empty, not checked.
ldconfig: File /usr/lib/libfolks-dummy.so.26 is empty, not checked.
ldconfig: File /usr/lib/librdf.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libavif.so.16.0.4 is empty, not checked.
ldconfig: File /usr/lib/librdf.so is empty, not checked.
ldconfig: File /usr/lib/libheif.so is empty, not checked.
ldconfig: file /usr/lib/libnvidia-rtcore.so is truncated
ldconfig: File /usr/lib/libavif.so.16 is empty, not checked.
ldconfig: File /usr/lib/libfolks-dummy.so.26.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfolks-eds.so.26.0.0 is empty, not checked.
ldconfig: File /usr/lib/libheif.so.1 is empty, not checked.
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
This is the output of pacman -Qkk | grep warning
warning: audit: /etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/audisp-filter.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/filter.conf (Permission denied)
warning: audit: /etc/audit/plugins.d/syslog.conf (Permission denied)
warning: audit: /usr/share/factory/etc/libaudit.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-filter.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/audisp-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/zos-remote.conf (failed to calculate SHA256 checksum)
warning: audit: /usr/share/factory/etc/audit/plugins.d/af_unix.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/au-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/audispd-zos-remote.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/filter.conf (Permission denied)
warning: audit: /usr/share/factory/etc/audit/plugins.d/syslog.conf (Permission denied)
warning: dbus: /usr/lib/dbus-1.0/dbus-daemon-launch-helper (failed to calculate SHA256 checksum)
warning: filesystem: /etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /etc/shadow (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/crypttab (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/gshadow (failed to calculate SHA256 checksum)
warning: filesystem: /usr/share/factory/etc/shadow (failed to calculate SHA256 checksum)
warning: gdm: /var/lib/gdm/.config (Permission denied)
warning: gdm: /var/lib/gdm/.config/pulse (Permission denied)
warning: gdm: /var/lib/gdm/.config/pulse/default.pa (Permission denied)
warning: gdm: /var/lib/gdm/.local (Permission denied)
warning: gdm: /var/lib/gdm/.local/share (Permission denied)
warning: gdm: /var/lib/gdm/.local/share/applications (Permission denied)
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/lib32-gst-plugins-base-libs-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/lib32-gstreamer-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libavif-1.0.4-2/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libheif-1.17.6-5/mtree: Unrecognized archive format
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (Size mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (SHA256 checksum mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (Size mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (SHA256 checksum mismatch)
warning: openssh: /usr/lib/ssh/ssh-keysign (failed to calculate SHA256 checksum)
error: error while reading file /var/lib/pacman/local/redland-1:1.0.17-9/mtree: Unrecognized archive format
warning: shadow: /etc/default/useradd (failed to calculate SHA256 checksum)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: shadow: /usr/bin/groupmems (failed to calculate SHA256 checksum)
warning: sudo: /etc/sudoers (failed to calculate SHA256 checksum)
warning: systemd: /var/log/journal (GID mismatch)
Last edited by baransahin (2024-04-08 11:25:15)
Offline
Just to verify, you execute pacman -Qkk as root. Correct?
* Is the package for any of empty files installed? (you can check by: pacman -Qo /usr/lib32/libgsttag-1.0.so.0.2401.0 )
* If it does, better reinstall the package (since the files are empty) and if doesn't I believe you can delete the empty files.
* The packages that reports "size mismath", try to explicitly reinstall and see if error disappear.
I wonder regarding more critical files like the users' passwords (/etc/shadow)
* Can you check that the file permissions are correct?
* Can you calc sha256 sum of the file?
* Good formatted problem description will cause good and quick solution
* Please don't forget to mark as [SOLVED].
Offline
# LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txt
cat /tmp/broken_packages.txt | curl -F 'file=@-' 0x0.st
Then please post the link that generates.
/etc/shadow changing is expected as users are added and passwords are set. Even if no users are manually added systemd-sysusers will add those required by installed packages.
Offline
I might have ran the pacman -Qkk without root privileges, so I ran it again with sudo. This is the output:
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/lib32-gst-plugins-base-libs-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/lib32-gstreamer-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libavif-1.0.4-2/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libheif-1.17.6-5/mtree: Unrecognized archive format
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (Size mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (SHA256 checksum mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (Size mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (SHA256 checksum mismatch)
error: error while reading file /var/lib/pacman/local/redland-1:1.0.17-9/mtree: Unrecognized archive format
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
And the output for the
# LC_ALL=C pacman -Qkk 2>&1 | grep -v ', 0 altered files' | tee /tmp/broken_packages.txt
cat /tmp/broken_packages.txt | curl -F 'file=@-' 0x0.st
is this:
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backup file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
folks: no mtree file
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
backup file: grub: /etc/default/grub (Modification time mismatch)
backup file: grub: /etc/default/grub (Size mismatch)
backup file: grub: /etc/default/grub (SHA256 checksum mismatch)
gvfs-goa: 13 towarning: 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)
java-runtime-common: 21 total files, 2 altered files
lerror: error while reading file /var/lib/pacman/local/lib32-gst-plugins-base-libs-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/lib32-gstreamer-1.24.1-1/mtree: Unrecognized archive format
lib32-gst-plugins-base-libs: no mtree file
lib32-gstreamer: no mtree file
lib32-nspr: 8 totaerror: error while reading file /var/lib/pacman/local/libavif-1.0.4-2/mtree: Unrecognized archive format
libavif: no mtree file
libepubgen: 24error: error while reading file /var/lib/pacman/local/libheif-1.17.6-5/mtree: Unrecognized archive format
libheif: no mtree file
liborcus: 1warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
libutempter: 20 total files, 1 altered file
libxfixes: 18 total files, 0 altered fwarning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (Size mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (SHA256 checksum mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (Size mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (SHA256 checksum mismatch)
iles
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
nvidia-utils: 232 total files, 2 altered files
openssh: 81 total files, 0 aerror: error while reading file /var/lib/pacman/local/redland-1:1.0.17-9/mtree: Unrecognized archive format
ltered files
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
redland: no mtree file
rygel: 360 total files,warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
0 altered files
shadow: 588 total files, 1 altered file
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
backup file: sudo: /etc/sudoers (SHA256 checksum mismatch)
systemd: 1449 total files, 1 altered file
Offline
folks: no mtree file
lib32-gst-plugins-base-libs: no mtree file
lib32-gstreamer: no mtree file
libavif: no mtree file
libheif: no mtree file
redland: no mtree file
All these packages have corrupted or missing mtree files so reinstall them in pacman's database first then reinstall them to fix the packages contents:
# pacman -S --dbonly folks lerror lib32-gst-plugins-base-libs lib32-gstreamer lib32-nspr libavif libheif redland
# pacman -S folks lerror lib32-gst-plugins-base-libs lib32-gstreamer lib32-nspr libavif libheif redland
Offline
I did as you mentioned but it seems like the same warnings persist. Here is the output of pacman -Qkk:
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/lib32-gst-plugins-base-libs-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/lib32-gstreamer-1.24.1-1/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libavif-1.0.4-2/mtree: Unrecognized archive format
error: error while reading file /var/lib/pacman/local/libheif-1.17.6-5/mtree: Unrecognized archive format
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (Size mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (SHA256 checksum mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (Size mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (SHA256 checksum mismatch)
error: error while reading file /var/lib/pacman/local/redland-1:1.0.17-9/mtree: Unrecognized archive format
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
Offline
What is the output of
pacman -Qi lib32-gst-plugins-base-libs lib32-gstreamer libavif libheif redland
Edit:
Were any errors produced when you executed the commands I posted?
I had `lerror` in the package listed from `lerror: error while reading file /var/lib/pacman/local/lib32-gst-plugins-base-libs-1.24.1-1/mtree: Unrecognized archive format` which should have produced an error causing the commands to fail.
Last edited by loqs (2024-04-07 18:01:49)
Offline
My bad, I forgot to add the output of reinstalling process. Here is the output:
[baran@192 ~]$ sudo pacman -S --dbonly folks lerror lib32-gst-plugins-base-libs lib32-gstreamer lib32-nspr libavif libheif redland
[sudo] password for baran:
warning: folks-0.15.9-1 is up to date -- reinstalling
error: target not found: lerror
warning: lib32-gst-plugins-base-libs-1.24.1-1 is up to date -- reinstalling
warning: lib32-gstreamer-1.24.1-1 is up to date -- reinstalling
warning: lib32-nspr-4.35-2 is up to date -- reinstalling
warning: libavif-1.0.4-2 is up to date -- reinstalling
warning: libheif-1.17.6-5 is up to date -- reinstalling
warning: redland-1:1.0.17-9 is up to date -- reinstalling
[baran@192 ~]$ sudo pacman -S folks lerror lib32-gst-plugins-base-libs lib32-gstreamer lib32-nspr libavif libheif redland
warning: folks-0.15.9-1 is up to date -- reinstalling
error: target not found: lerror
warning: lib32-gst-plugins-base-libs-1.24.1-1 is up to date -- reinstalling
warning: lib32-gstreamer-1.24.1-1 is up to date -- reinstalling
warning: lib32-nspr-4.35-2 is up to date -- reinstalling
warning: libavif-1.0.4-2 is up to date -- reinstalling
warning: libheif-1.17.6-5 is up to date -- reinstalling
warning: redland-1:1.0.17-9 is up to date -- reinstalling
And the output of the pacman -Qi is:
Name : lib32-gst-plugins-base-libs
Version : 1.24.1-1
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : wine wine-lol-bin
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Name : lib32-gstreamer
Version : 1.24.1-1
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Unknown
Name : libavif
Version : 1.0.4-2
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : gd webkit2gtk-4.1 webkitgtk-6.0
Optional For : gdk-pixbuf2
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Name : libheif
Version : 1.17.6-5
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : gd
Optional For : gdk-pixbuf2 glycin imagemagick imlib2
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Name : redland
Version : 1:1.0.17-9
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : libreoffice-still
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Date : Thu 01 Jan 1970 02:00:00 AM EET
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Edit:
I managed to reinstall the packages one by one, first it gave me a lot of "... is exists in file system" error when I tried to reinstall with pacman -S. I go around of it by adding "--overwrite \*" parameter. So I reinstalled the packages as:
sudo pacman -S --overwrite \* pkgName
When I checked the pacman -Qkk again it says:
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: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (Size mismatch)
warning: nvidia-utils: /usr/lib/libnvidia-rtcore.so.550.67 (SHA256 checksum mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (Size mismatch)
warning: nvidia-utils: /usr/share/nvidia/nvoptix.bin (SHA256 checksum mismatch)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
Happily the error messages have been removed. Also many of the "... is empty, not checked" errors (which occurs during any package installation) are removed too. But there is still few of them persist. Here is the output of my last system upgrade:
:: Synchronizing package databases...
core 128.4 KiB 234 KiB/s 00:01 [###############################################] 100%
extra 8.1 MiB 4.30 MiB/s 00:02 [###############################################] 100%
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (3) filesystem-2024.04.07-1 pciutils-3.12.0-1 pcre2-10.43-3
Total Download Size: 1.62 MiB
Total Installed Size: 6.75 MiB
Net Upgrade Size: 0.02 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
pcre2-10.43-3-x86_64 1511.3 KiB 3.69 MiB/s 00:00 [###############################################] 100%
pciutils-3.12.0-1-x86_64 136.3 KiB 1239 KiB/s 00:00 [###############################################] 100%
filesystem-2024.04.07-1-any 14.0 KiB 127 KiB/s 00:00 [###############################################] 100%
Total (3/3) 1661.6 KiB 1358 KiB/s 00:01 [###############################################] 100%
(3/3) checking keys in keyring [###############################################] 100%
(3/3) checking package integrity [###############################################] 100%
(3/3) loading package files [###############################################] 100%
(3/3) checking for file conflicts [###############################################] 100%
(3/3) checking available disk space [###############################################] 100%
:: Processing package changes...
(1/3) upgrading filesystem [###############################################] 100%
(2/3) upgrading pciutils [###############################################] 100%
(3/3) upgrading pcre2 [###############################################] 100%
ldconfig: File /usr/lib/libfolks.so.26 is empty, not checked.
ldconfig: File /usr/lib/libfolks.so.26.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfolks-eds.so is empty, not checked.
ldconfig: File /usr/lib/libfolks.so is empty, not checked.
ldconfig: File /usr/lib/libfolks-dummy.so is empty, not checked.
ldconfig: file /usr/lib/libnvidia-rtcore.so.550.67 is truncated
ldconfig: File /usr/lib/libfolks-eds.so.26 is empty, not checked.
ldconfig: File /usr/lib/libfolks-dummy.so.26 is empty, not checked.
ldconfig: file /usr/lib/libnvidia-rtcore.so is truncated
ldconfig: File /usr/lib/libfolks-dummy.so.26.0.0 is empty, not checked.
ldconfig: File /usr/lib/libfolks-eds.so.26.0.0 is empty, not checked.
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
(2/4) Applying kernel sysctl settings...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
Last edited by baransahin (2024-04-07 21:55:17)
Offline
lerror is not a package, you should not be trying to install that.
Offline
Re-install folks and nvidia-utils and since you've synced the databases, "-Syu"
You probably want to re-check
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
after all of that,
sudo pacman -S --overwrite \* pkgName
Try to not do that - it was "required" because of the corrupted databases and restoring them (and later on the packages) failed because of
error: target not found: lerror
since, as pointed out by loqs and Scimmia, that's not a package in the repos (and also not in that AUR) and no re-installation was performed at all.
If you had correctly updated the repo packages first --dbonly and then w/o that, there would have been no need to steamroll over the system.
lerror is probably a custom package of https://luarocks.org/modules/daelvn/lerror ? You may still need to address that.
Online
I re-installed folks and nvidia-utils, and finally all of the "... is empty, not checked" messages removed. Thank you all for helping me to fix this and giving me insights on the problem. Everything seems fine right now.
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online