You are not logged in.

#1 2024-03-24 21:11:26

sabin
Member
Registered: 2023-08-07
Posts: 2

Pacman ate all my shared libraries

Hello. Earlier today I performed a simple command to install some packages.
Here is the pacman log:

[2024-03-24T10:10:06-0400] [PACMAN] Running 'pacman -Syu fcitx5-qt fcitx5-gtk'
[2024-03-24T10:10:06-0400] [PACMAN] synchronizing package lists
[2024-03-24T10:10:08-0400] [PACMAN] starting full system upgrade
[2024-03-24T10:10:23-0400] [ALPM] transaction started
[2024-03-24T10:10:23-0400] [ALPM] installed xcb-imdkit (1.0.7-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded libsysprof-capture (45.2-1 -> 46.0-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded util-linux-libs (2.39.3-2 -> 2.40rc2-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded glib2 (2.78.4-1 -> 2.80.0-2)
[2024-03-24T10:10:23-0400] [ALPM] upgraded util-linux (2.39.3-2 -> 2.40rc2-1)
[2024-03-24T10:10:23-0400] [ALPM] installed fcitx5 (5.1.8-1)
[2024-03-24T10:10:23-0400] [ALPM] installed fcitx5-qt (5.1.5-2)
[2024-03-24T10:10:23-0400] [ALPM] installed fcitx5-gtk (5.1.2-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded adwaita-cursors (45.0-1 -> 46.0-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded librsvg (2:2.57.3-1 -> 2:2.58.0-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded gtk-update-icon-cache (1:4.12.5-1 -> 1:4.14.1-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded adwaita-icon-theme (45.0-1 -> 46.0-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded alsa-card-profiles (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:23-0400] [ALPM] upgraded gsettings-desktop-schemas (45.0-1 -> 46.0-1)
[2024-03-24T10:10:23-0400] [ALPM] installed libei (1.2.1-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded at-spi2-core (2.50.2-1 -> 2.52.0-1)
[2024-03-24T10:10:23-0400] [ALPM] upgraded glib-networking (1:2.78.1-1 -> 1:2.80.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded glib2-docs (2.78.4-1 -> 2.80.0-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded go-yq (4.42.1-2 -> 4.43.1-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded libgirepository (1.78.1-1 -> 1.80.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gobject-introspection-runtime (1.78.1-1 -> 1.80.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded python-markupsafe (2.1.4-1 -> 2.1.5-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gobject-introspection (1.78.1-1 -> 1.80.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gstreamer (1.24.1-1 -> 1.24.1-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gst-plugins-base-libs (1.24.1-1 -> 1.24.1-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gst-plugins-bad-libs (1.24.1-1 -> 1.24.1-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded tracker3 (3.6.0-3 -> 3.7.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gtk4 (1:4.12.5-1 -> 1:4.14.1-1)
[2024-03-24T10:10:24-0400] [ALPM] installed gcr-4 (4.2.1-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded gvfs (1.52.2-2 -> 1.54.0-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded libadwaita (1:1.4.4-1 -> 1:1.5.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded libnautilus-extension (45.2.1-1 -> 46.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded libpipewire (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded pipewire (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded nautilus (45.2.1-1 -> 46.0-1)
[2024-03-24T10:10:24-0400] [ALPM] upgraded pipewire-audio (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded pipewire-session-manager (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded pipewire-pulse (1:1.0.4-1 -> 1:1.0.4-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded python-gobject (3.46.0-1 -> 3.48.1-2)
[2024-03-24T10:10:24-0400] [ALPM] upgraded webkit2gtk-4.1 (2.42.5-2 -> 2.44.0-1)
[2024-03-24T10:10:24-0400] [ALPM] transaction completed

Immediately after this command completed my system stopped working. The next time I booted my PC I could only access the TTY and I couldn't get any compositor on any display server to work.

After taking way too long than I care to admit trying to debug this problem I realized pacman  was complaining about empty .so files. Here's some of the output of a -Syu operation performed immediately after my system was rebooted into the tty:

[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstanalytics-1.0.so.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstapp-1.0.so.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstcheck-1.0.so.0.2401.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstsctp-1.0.so is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libjavascriptcoregtk-4.1.so.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstrtp-1.0.so.0.2401.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstsctp-1.0.so.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstvulkan-1.0.so.0 is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgsttranscoder-1.0.so is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgsttag-1.0.so is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libtracker-sparql-3.0.so is empty, not checked.
[2024-03-24T10:12:40-0400] [ALPM-SCRIPTLET] ldconfig: File /usr/lib/libgstinsertbin-1.0.so is empty, not checked.

I had to reinstall every package with this command to get everything back to a working state:

sudo  pacman -Syu $(pacman -Qnq) --overwrite '*'

My problem is now resolved.

Does anyone know  what could possibly cause pacman to eat all my shared libraries like this?

Last edited by sabin (2024-03-24 22:12:36)

Offline

#2 2024-03-24 22:06:50

seth
Member
Registered: 2012-09-03
Posts: 51,560

Re: Pacman ate all my shared libraries

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

I had to reinstall every package with this command to get everything back to a working state:
sudo  pacman -Syu $(pacman -Qnq) --overwrite '*'

Don't do that, https://wiki.archlinux.org/title/System … n_commands
Re-installing the broken packages would have been sufficient and if there's a file collision that's typically because you lost the metadata and pre-installing it w/ --dbonly would have been the wiser choice.

This is a filesystem corruption, it seems to happen more often lately and the cause is

Immediately after this command completed my system stopped working

and then you pushed the power button.
This is not directly related to pacman, but **possibly** https://bugs.archlinux.org/task/77789, try to add

sudo touch /etc/systemd/do-not-udevadm-trigger-on-update

Last edited by seth (2024-04-05 21:41:12)

Offline

#3 2024-04-05 21:41:17

seth
Member
Registered: 2012-09-03
Posts: 51,560

Re: Pacman ate all my shared libraries

Hi, do you still recall the nature of the update crash?
Did the system suddenly reboot or did it stall and you then rebooted it with the power button?

---
This is a mass-inquiry, so please excuse if your thread actually detailed that.
We're trying to get some data on the situation, so it would be very helpful if you can just briefly respond.
Thanks a lot.

Offline

#4 2024-04-05 22:52:52

sabin
Member
Registered: 2023-08-07
Posts: 2

Re: Pacman ate all my shared libraries

seth wrote:

Hi, do you still recall the nature of the update crash?
Did the system suddenly reboot or did it stall and you then rebooted it with the power button?

---
This is a mass-inquiry, so please excuse if your thread actually detailed that.
We're trying to get some data on the situation, so it would be very helpful if you can just briefly respond.
Thanks a lot.


The system did not suddenly reboot. I pressed the power button to reboot the system shortly after the pacman command completed because my system was not responding to my keyboard/mouse.

Offline

Board footer

Powered by FluxBB