System crashed while updating

Seems to be having real problems with that package. Here’s the output

sudo pacstrap -i /mnt papirus-icon-theme                         ✔ 
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: papirus-icon-theme-20220910-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /mnt/var/lib/pacman/local/papirus-icon-theme-20220910-1/files: No such file or directory
warning: could not fully load metadata for package papirus-icon-theme-20220910-1
error: failed to prepare transaction (invalid or corrupted package)
==> ERROR: Failed to install packages to new root

it worked, now its files instead of desc, so continue:

sudo touch /mnt/var/lib/pacman/local/papirus-icon-theme-20220910-1/files
sudo pacstrap -i /mnt papirus-icon-theme

There seems to be a lot of files associated with this package therefore I can’t capture all output. Here’s the last few lines.

ldconfig: File /usr/lib/libnetapi.so.1 is empty, not checked.
ldconfig: File /usr/lib/libnss_winbind.so.2 is empty, not checked.
ldconfig: File /usr/lib/libqgnomeplatform.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglClientHwIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WlShellIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglCompositorHwIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so.0.0.1 is empty, not checked.
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
(3/3) Updating icon theme caches...

yes we just need to make pacman run, so that you can repair your system…
now unmount:
sudo umount /dev/sda8
then chroot:
manjaro-chroot -a
and try:
pacman -Syu

Thanks. The output shows this:

manjaro-chroot -a                                                ✔ 
==> Detected systems:
 --> 0) ManjaroLinux
 --> 1) Manjaro
==> Select system to mount [0-1] : 
1
==> Mounting (Manjaro) [/dev/sda8]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
[manjaro-gnome /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (40) pcsclite-1.9.9-1  perl-alien-build-2.70-1
              perl-alien-libxml2-0.19-1  perl-ffi-checklib-0.31-2
              perl-path-tiny-0.124-1  powertop-2.15-1  pyside6-6.3.2-1
              python-docker-6.0.0-1  python-dotenv-0.21.0-1
              python-google-api-core-2.10.0-1
              python-google-api-python-client-2.60.0-1
              python-google-auth-2.3.1-1  python-pyjwt-2.5.0-1
              python-pyqt5-5.15.7-2  python-tenacity-8.1.0-1
              python-toml-0.10.2-8  qt5-imageformats-5.15.6+kde+r4-1
              qt5-location-5.15.6+kde+r3-1  qt5-tools-5.15.6+kde+r1-1
              qt5-webchannel-5.15.6+kde+r3-1  qt5-webengine-5.15.10-3
              qt5-websockets-5.15.6+kde+r2-1  qt5-xmlpatterns-5.15.6+kde+r0-1
              qt6ct-0.6-2  rsync-3.2.6-2  sdl12-compat-1.2.56-1
              shiboken6-6.3.2-1  skopeo-1.10.0-1  snapd-2.57.4-1
              sof-firmware-2.2.2-1  speech-dispatcher-0.11.3-1
              squashfs-tools-4.5.1-2  systemd-sysvcompat-251.5-1
              tailscale-1.30.2-1  thunderbird-102.3.2-1  timeshift-22.06.5-2
              tracker-miners-1:2.3.5+r3+gd9d61d87f-3  ueberzug-18.1.9-4
              webkit2gtk-2.38.0-2  xapp-2.2.15-1

Total Installed Size:  790.57 MiB
Net Upgrade Size:        5.93 MiB

:: Proceed with installation? [Y/n] y
(40/40) checking keys in keyring                   [######################] 100%
(40/40) checking package integrity                 [######################] 100%
(40/40) loading package files                      [######################] 100%
(40/40) checking for file conflicts                [######################] 100%
(40/40) checking available disk space              [######################] 100%
warning: could not get file information for usr/lib/thunderbird/distribution/distribution.ini
:: Running pre-transaction hooks...
(1/1) Remove Thunderbird Distribution Settings
:: Processing package changes...
( 1/40) upgrading pcsclite                         [######################] 100%
( 2/40) upgrading perl-ffi-checklib                [######################] 100%
( 3/40) upgrading perl-path-tiny                   [######################] 100%
( 4/40) upgrading perl-alien-build                 [######################] 100%
( 5/40) upgrading perl-alien-libxml2               [######################] 100%
( 6/40) upgrading powertop                         [######################] 100%
( 7/40) upgrading shiboken6                        [######################] 100%
( 8/40) upgrading pyside6                          [######################] 100%
( 9/40) upgrading python-docker                    [######################] 100%
(10/40) upgrading python-dotenv                    [######################] 100%
(11/40) upgrading python-google-auth               [######################] 100%
(12/40) upgrading python-google-api-core           [######################] 100%
(13/40) upgrading python-google-api-python-client  [######################] 100%
(14/40) upgrading python-pyjwt                     [######################] 100%
(15/40) upgrading python-pyqt5                     [######################] 100%
(16/40) upgrading python-tenacity                  [######################] 100%
(17/40) upgrading python-toml                      [######################] 100%
(18/40) upgrading qt5-imageformats                 [######################] 100%
(19/40) upgrading qt5-location                     [######################] 100%
(20/40) upgrading qt5-tools                        [######################] 100%
(21/40) upgrading qt5-webchannel                   [######################] 100%
(22/40) upgrading qt5-webengine                    [######################] 100%
(23/40) upgrading qt5-websockets                   [######################] 100%
(24/40) upgrading qt5-xmlpatterns                  [######################] 100%
(25/40) upgrading qt6ct                            [######################] 100%
(26/40) upgrading rsync                            [######################] 100%
(27/40) upgrading sdl12-compat                     [######################] 100%
(28/40) upgrading skopeo                           [######################] 100%
(29/40) upgrading squashfs-tools                   [######################] 100%
(30/40) upgrading snapd                            [######################] 100%
(31/40) upgrading sof-firmware                     [######################] 100%
(32/40) upgrading speech-dispatcher                [######################] 100%
(33/40) upgrading systemd-sysvcompat               [######################] 100%
(34/40) upgrading tailscale                        [######################] 100%
(35/40) upgrading thunderbird                      [######################] 100%
(36/40) upgrading xapp                             [######################] 100%
(37/40) upgrading timeshift                        [######################] 100%
(38/40) upgrading tracker-miners                   [######################] 100%
(39/40) upgrading ueberzug                         [######################] 100%
(40/40) upgrading webkit2gtk                       [######################] 100%
ldconfig: File /usr/lib/libdcerpc-binding.so is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr.so is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so is empty, not checked.
ldconfig: File /usr/lib/libmariadbd.so.19 is empty, not checked.
ldconfig: File /usr/lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so.0 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libpamac-gtk.so is empty, not checked.
ldconfig: File /usr/lib/libmariadbd.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so.0 is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so.0.15 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so.0 is empty, not checked.
ldconfig: File /usr/lib/libmysqlclient_r.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WlShellIntegration.so.6.4.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglClientHwIntegration.so.6.4.0 is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandClient.so.6.4.0 is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandClient.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglClientHwIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandCompositor.so is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so.2.1.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libmariadb.so is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so is empty, not checked.
ldconfig: File /usr/lib/libsmbclient.so.0.7.0 is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so.0 is empty, not checked.
ldconfig: File /usr/lib/libmysqlclient.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-policy.cpython-310-x86-64-linux-gnu.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-credentials.so.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so.0 is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandClient.so.6 is empty, not checked.
ldconfig: File /usr/lib/libnss_wins.so.2 is empty, not checked.
ldconfig: File /usr/lib/libmariadb.so.3 is empty, not checked.
ldconfig: File /usr/lib/libsamba-errors.so.1 is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglCompositorHwIntegration.so.6.4.0 is empty, not checked.
ldconfig: File /usr/lib/libsmbldap.so.2 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-samr.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.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/libQt6WaylandCompositor.so.6 is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglCompositorHwIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libsamba-hostconfig.so is empty, not checked.
ldconfig: File /usr/lib/libndr.so.3 is empty, not checked.
ldconfig: File /usr/lib/libsamba-errors.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WlShellIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libsmbconf.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libmysqld.so is empty, not checked.
ldconfig: File /usr/lib/libsamba-util.so is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so is empty, not checked.
ldconfig: File /usr/lib/libndr-nbt.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libwbclient.so.0 is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-server-core.so is empty, not checked.
ldconfig: File /usr/lib/libqgnomeplatform6.so is empty, not checked.
ldconfig: File /usr/lib/libndr-standard.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so.0.28.0 is empty, not checked.
ldconfig: File /usr/lib/libsamba-passdb.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandCompositor.so.6.4.0 is empty, not checked.
ldconfig: File /usr/lib/libsamdb.so.0 is empty, not checked.
ldconfig: File /usr/lib/libndr.so.3.0.0 is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libndr-krb5pac.so.0.0.1 is empty, not checked.
ldconfig: File /usr/lib/libnetapi.so.1 is empty, not checked.
ldconfig: File /usr/lib/libnss_winbind.so.2 is empty, not checked.
ldconfig: File /usr/lib/libqgnomeplatform.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglClientHwIntegration.so.6 is empty, not checked.
ldconfig: File /usr/lib/libtevent-util.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WlShellIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libQt6WaylandEglCompositorHwIntegration.so is empty, not checked.
ldconfig: File /usr/lib/libdcerpc-binding.so.0.0.1 is empty, not checked.
:: Running post-transaction hooks...
( 1/10) Reloading system manager configuration...
  Skipped: Running in chroot.
( 2/10) Arming ConditionNeedsUpdate...
( 3/10) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
( 4/10) Reloading system bus configuration...
  Skipped: Running in chroot.
( 5/10) Warn about old perl modules
( 6/10) Compiling GSettings XML schema files...
( 7/10) Updating icon theme caches...
( 8/10) Updating the info directory file...
( 9/10) Copy Thunderbird Distribution Settings
(10/10) Updating the desktop file MIME type cache...

so pacman is working, thats what we wanted… however your system is messed up, so run this:
pacman-mirrors --fasttrack 5 && pacman -Syyu
pacman -Qqn | pacman --overwrite=* -S -

Ok that is looking good now.

(37/45) Collection of usefull scripts for Manjaro Gnome

==> Printing support installed

==> We have switched back to QGnomePlatform for GNOME 42.
  qt5ct and qt6ct (Qt Configuration Utilities) may be marked as orphans.
  If you want use QGnomePlatform with the Adwaita Qt style,
  you'll need remove or comment the QT_QPA_PLATFORMTHEME variable
  in /etc/environment.
(38/45) Hiding redundant menu entries
(39/45) Changing NetworkManager Connectivity-Ping to manjaro.org
(40/45) Configuring pacman-mirrors ...
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
hint: use `pacman-mirrors` to generate and update your pacman mirrorlist.
(41/45) Updating the info directory file...
(42/45) Copy Thunderbird Distribution Settings
(43/45) Updating the desktop file MIME type cache...
(44/45) Updating Vim help tags...
(45/45) Updating X fontdir indices...

Anything else to do before rebooting and trying?

dont reboot now, post output from:
mhwd-kernel -li && mhwd -li

No problem. Here’s that output:

mhwd-kernel -li && mhwd -li
Currently running: 5.15.57-2-MANJARO (linux515)
The following kernels are installed in your system:
   * linux510
   * linux515
   * linux516
   * linux517
   * linux519
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

ok, you have end of life kernels, so remove them:
pacman -R linux516 linux517
exit chroot:
exit
reboot

Many thanks @brahma I now have a working system again. Your time and effort is much appreciated.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.