You are not logged in.

#1 2022-06-18 19:49:17

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

[SOLVED] idconfig:File /usr/lib... after crash

I triggered updates today in hot weather, unfortunately laptop turned off when updating sad I know I know my bad
I was able to chroot and install linux-lts coz linux was not booting. I can boot to TTY but any try to update it says nothing to do, any try to reinstall anything what was updating during the crash says idconfig: File /usr/lib and hundreds of rows of text that it is empty, not checked.
I checked pacman.log and it crashed at the end of update, last rows are
upgraded smbclient
then tens of @@@@@@@@@@@@@@@@@
Is there any way how to force last packages ˜60 to update?
And I can work only as root sudo in user does do nothing

Last edited by VoDo (2022-06-19 08:30:37)


Archi3

Offline

#2 2022-06-18 19:58:59

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [SOLVED] idconfig:File /usr/lib... after crash

Please post the output of the following:

# pacman -Qkk 2>&1 | grep -Fv '0 altered files'

See pastebin for examples to pipe output from console directly to a pastebin.

Offline

#3 2022-06-18 20:08:26

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED] idconfig:File /usr/lib... after crash

https://pastebin.com/kAiCgxZ9

here is what was happening after yay command
https://pastebin.com/95KAcG6j

Last edited by VoDo (2022-06-18 20:19:50)


Archi3

Offline

#4 2022-06-18 20:20:44

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [SOLVED] idconfig:File /usr/lib... after crash

The first line fixes the missing or corrupted mtree files.  The second then reinstalls thse packages.

pacman -S --dbonly --gimp glslang gmic gnome-video-effect gperftools gst-editing-services gst-libav gst-plugin-gtk gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gst-python gstreamer gstreamer-vaapi gtksourceview5 intel-media-driver libgme libixion libnm libnma libnma-common libnma-gtk4 libopenmpt liborcus libphonenumber libplacebo libpsl libpst libreoffice-fresh libxpm multipath-tools mypy networkmanager nvidia pciutils pipewire pulseaudio-alsa python-more-itertools python-setuptools python-trove-classifiers python-validate-pyproject rxvt-unerror shaderc smbclient sudo
pacman -S gimp glslang gmic gnome-video-effect gperftools gst-editing-services gst-libav gst-plugin-gtk gst-plugin-pipewire gst-plugins-bad gst-plugins-bad-libs gst-plugins-base gst-plugins-base-libs gst-plugins-good gst-plugins-ugly gst-python gstreamer gstreamer-vaapi gtksourceview5 intel-media-driver libgme libixion libnm libnma libnma-common libnma-gtk4 libopenmpt liborcus libphonenumber libplacebo libpsl libpst libreoffice-fresh libxpm multipath-tools mypy networkmanager nvidia pciutils pipewire pulseaudio-alsa python-more-itertools python-setuptools python-trove-classifiers python-validate-pyproject rxvt-unerror shaderc smbclient sudo

Offline

#5 2022-06-18 21:00:24

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED] idconfig:File /usr/lib... after crash

Thank you! Only problem with Linux it is stuck on Lenovo logo I tried to downgrade to 5.18.3 I tried to remove nvidia and still same, linux-lts boots to Gnome (without nvidia installed)


Archi3

Offline

#6 2022-06-18 21:35:45

loqs
Member
Registered: 2014-03-06
Posts: 18,967

Re: [SOLVED] idconfig:File /usr/lib... after crash

Please post the system journal for a stuck boot.

Offline

#7 2022-06-19 05:47:49

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED] idconfig:File /usr/lib... after crash

Unfortunately there is no log since it does not boot at all, it is stuck on Lenovo logo when I chose Linux in grub menu, normally Lenovo logo shows up for a moment then systemd with /dev/sda2 message is displayed and then gdm. Here is what I have in journalctl

Jun 19 07:35:47 LenovoP50 systemd-shutdown[1]: Syncing filesystems and block devices.
Jun 19 07:35:47 LenovoP50 systemd-journald[257]: Journal stopped
-- Boot cc72e85c3a9e4664b45cf8024a6f7a92 --
Jun 19 07:40:13 LenovoP50 kernel: microcode: microcode updated early to revision 0xf0, date = 2021-11-12
Jun 19 07:40:13 LenovoP50 kernel: Linux version 5.15.48-1-lts (linux-lts@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP Thu, 16 Jun 2022 13:32:35 +0000
Jun 19 07:40:13 LenovoP50 kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=7bba9349-f398-4f92-952a-2497aaa324a3 rw loglevel=3 quiet
Jun 19 07:40:13 LenovoP50 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jun 19 07:40:13 LenovoP50 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'

7:35 I turned off laptop
then 7:37 I chose Linux in grub
then 7:40 I chose Linux-lts


Archi3

Offline

#8 2022-06-19 08:28:16

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [SOLVED] idconfig:File /usr/lib... after crash

Progress :I found out it could not generate linux.preset and of course fallback initramfs was missing because in /etc/mkinitcpio.d was that file with 0B so I deleted it and regenerate.
The laptop looks like it is in state as yesterday.
THANK YOU master loqs

Last edited by VoDo (2022-06-19 09:08:47)


Archi3

Offline

Board footer

Powered by FluxBB