Upgrade did not complete the filesystem has severe problems

Hi all
During the upgrade system froze and after a very very long time battery died.
From a Liveusb went to the Manjaro chat advised me to write some commands
Here are the commands and the output

—lsblk

loop0 7:0 0 70.7M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 580.5M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 1.8G 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 734.2M 1 loop /run/miso/sfs/rootfs
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 95.7M 0 part
├─sda2 8:2 0 123.1G 0 part
├─sda3 8:3 0 62.5G 0 part
├─sda4 8:4 0 1M 0 part
├─sda5 8:5 0 57.4G 0 part
├─sda6 8:6 0 109.7G 0 part
├─sda7 8:7 0 53.9G 0 part
└─sda8 8:8 0 59G 0 part
sdb 8:16 1 28.7G 0 disk /run/miso/bootmnt
├─sdb1 8:17 1 3.2G 0 part
└─sdb2 8:18 1 4M 0 part
sr0 11:0 1 1024M 0 rom

----manjaro-chroot -a

[manjaro@manjaro ~]$ sudo manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
==> Detected systems:
→ 0) openSUSE
→ 1) Ubuntu
→ 2) openSUSE1
→ 3) ManjaroLinux
→ 4) Ubuntu1
==> Select system to mount [0-4] :

----3

3
==> Mounting (ManjaroLinux) [/dev/sda7]
→ mount: [/mnt]
→ mount: [/mnt/run/media/aris/OpenSuseStuff]
mount: /mnt/run/media/aris/OpenSuseStuff: mount point does not exist.
[root@manjaro /]#

----ls /boot

manjaro@manjaro ~]$ ls /boot
amd-ucode.img grub intel-ucode.img linux513-x86_64.kver memtest86+ vmlinuz-5.13-x86_64

-------manjaro-chroot -a

then

------sudo pacman -Syu

[manjaro@manjaro ~]$ manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
==> Detected systems:
→ 0) openSUSE
→ 1) Ubuntu
→ 2) openSUSE1
→ 3) ManjaroLinux
→ 4) Ubuntu1
==> Select system to mount [0-4] :

-----3

==> Mounting (ManjaroLinux) [/dev/sda7]
→ mount: [/mnt]
→ mount: [/mnt/run/media/aris/OpenSuseStuff]
mount: /mnt/run/media/aris/OpenSuseStuff: mount point does not exist.
[root@manjaro /]#

------sudo pacman -Syu

[root@manjaro /]# sudo pacman -Syu
:: Synchronizing package databases…
error: failed to synchronize all databases (unable to lock database)
[root@manjaro /]#

------rm /var/lib/pacman/db.lck

[root@manjaro /]# rm /var/lib/pacman/db.lck
rm: cannot remove ‘/var/lib/pacman/db.lck’: No such file or directory

-----exit

-------pacman -r /mnt -Syu

[manjaro@manjaro ~]$ sudo pacman -r /mnt -Syu
:: Synchronizing package databases…
core 169.6 KiB 77.7 KiB/s 00:02 [###########################################################] 100%
extra 1893.0 KiB 414 KiB/s 00:05 [###########################################################] 100%
community 6.6 MiB 462 KiB/s 00:15 [###########################################################] 100%
multilib 174.6 KiB 254 KiB/s 00:01 [###########################################################] 100%
:: Some packages should be upgraded first…
resolving dependencies…
looking for conflicting packages…
error: could not open file /mnt/var/lib/pacman/local/korganizer-21.04.3-1/desc: No such file or directory

Packages (2) archlinux-keyring-20210820-1 manjaro-keyring-20210807-2

Total Download Size: 1.08 MiB
Total Installed Size: 1.51 MiB
Net Upgrade Size: 0.02 MiB

:: Proceed with installation? [Y/n]

:: Proceed with installation? [Y/n] y
:: Retrieving packages…
archlinux-keyring-20210820-1-any 967.4 KiB 341 KiB/s 00:03 [###########################################################] 100%
manjaro-keyring-20210807-2-any 139.4 KiB 194 KiB/s 00:01 [###########################################################] 100%
Total (2/2) 1106.8 KiB 284 KiB/s 00:04 [###########################################################] 100%
(2/2) checking keys in keyring [###########################################################] 100%
(2/2) checking package integrity [###########################################################] 100%
(2/2) loading package files [###########################################################] 100%
(2/2) checking for file conflicts [###########################################################] 100%
(2/2) checking available disk space [###########################################################] 100%
:: Processing package changes…
(1/2) upgrading archlinux-keyring [###########################################################] 100%
==> Appending keys from archlinux.gpg…
==> Locally signing trusted keys in keyring…
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: AB19265E5D7D20687D303246BA1DFB64FFF979E7 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: DDB867B92AA789C165EEFA799B729B06A680C281 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 2AC0A42EFB0B5CBC7A0402ED4DC95B6D7BE9892E could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 0E8B644079F599DFC1DDC3973348882F6AC6A4C2 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: D8AFDDA07A5B6EDFA7D8CCDAD6D055F927843F1C could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 91FFE0700E80619CEB73235CA88E23E377514E00 could not be locally signed.
(2/2) upgrading manjaro-keyring [###########################################################] 100%
==> Appending keys from manjaro.gpg…
==> Locally signing trusted keys in keyring…
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 7C89F4D439B2BFACF425107B62443D89B35859F8 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 16DC688DF3EECC72323954237EC47C82A42D53A2 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 688E8F82879D0E25CE541426150C200743ED46D8 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 04BB537F5BC2D399BFA72F8F17C752B61B2F2E90 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 5A97ED6B72418199F0C22B23137C934B5DCB998E could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 76C6E477042BFE985CC220BD9C08A255442FAFF0 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 2D14560CDCE6A75BB186DB758238651DDF5E0594 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: A44C644D792767CED7941AFEABB2075D5F310CF8 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 74C2F2CC05A0AB7D859839938934292D604F8BA2 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 7A443CEE69B6B3777740E258084A7FC0035B1D49 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 2C688B52E3FC0144B7484BABE3B3F44AC45EE0AA could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 0037505D6C3F595C37F5626AFD847358FF20E35C could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 1E7908935AAB9A00D6B47503363DFFFD59152F77 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 39F0EC1AE50B37E5F3196F09DAD3B211663CA268 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: F66AD0FF0E57C561615A0901CEE477135C5872B0 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 77DC01C9971AC3C39A0626F72C089F09AC97B894 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 22C903DE964E6FE321656E318DB9F8C18DF53602 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: B4663188A692DB1E45A98EE95BD96CC4247B52CC could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 75C1B95A4D9514A57EB2DAE71817DC63CD3B5DF5 could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E could not be locally signed.
usr/bin/pacman-key: line 194: /dev/fd/63: No such file or directory
==> ERROR: 3B794DE6D4320FCE594F4171279E7CF5D8D56EC8 could not be locally signed.
error: command failed to execute correctly
ldconfig: File /usr/lib/libkmailprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkmailprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossCore.so.5 is empty, not checked.
ldconfig: File /usr/lib/libQt5Script.so.5.15 is empty, not checked.
ldconfig: File /usr/lib/libkdeinit5_konsole.so is empty, not checked.
ldconfig: File /usr/lib/libkonsoleprivate.so.21 is empty, not checked.
ldconfig: File /usr/lib/libsieveeditor.so.5 is empty, not checked.
ldconfig: File /usr/lib/libsystemsettingsview.so.3 is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossCore.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5DocTools.so is empty, not checked.
ldconfig: File /usr/lib/libQt5Script.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5DocTools.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libknotesprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkgetcore.so is empty, not checked.
ldconfig: File /usr/lib/libplasmacomicprovidercore.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libQt5ScriptTools.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkbookmarkmodel_private.so is empty, not checked.
ldconfig: File /usr/lib/libpimdataexporterprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libkontactprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientcore.so is empty, not checked.
ldconfig: File /usr/lib/libpimdataexporterprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libsieveeditor.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossUi.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_interfaces.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libkontactprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientcore.so.1 is empty, not checked.
ldconfig: File /usr/lib/libQt5ScriptTools.so.5.15.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5kipiplugins.so is empty, not checked.
ldconfig: File /usr/lib/libKF5KHtml.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5WebKit.so.5 is empty, not checked.
ldconfig: File /usr/lib/libQt5Script.so.5.15.5 is empty, not checked.
ldconfig: File /usr/lib/libkonsoleprivate.so.21.04.3 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientgui.so is empty, not checked.
ldconfig: File /usr/lib/libKF5MediaPlayer.so is empty, not checked.
ldconfig: File /usr/lib/libKF5kipiplugins.so.5.9.1 is empty, not checked.
ldconfig: File /usr/lib/libnotesharedprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5JS.so is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_core.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5MediaPlayer.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossCore.so is empty, not checked.
ldconfig: File /usr/lib/libkgetcore.so.5.0.0 is empty, not checked.
ldconfig: File /usr/lib/libkgetcore.so.5 is empty, not checked.
ldconfig: File /usr/lib/libplasmapotdprovidercore.so.1 is empty, not checked.
ldconfig: File /usr/lib/libknotesprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libkorganizerprivate.so.5 is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossUi.so is empty, not checked.
ldconfig: File /usr/lib/libQt5ScriptTools.so.5.15 is empty, not checked.
ldconfig: File /usr/lib/libKF5JSApi.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientgui.so.1.3.0 is empty, not checked.
ldconfig: File /usr/lib/libplasmapotdprovidercore.so.1.0.0 is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_core.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libnotesharedprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libKF5JSApi.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_interfaces.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkdeinit5_khelpcenter.so is empty, not checked.
ldconfig: File /usr/lib/libkbookmarkmodel_private.so.6 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientcore.so.1.3.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5MediaPlayer.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5DocTools.so.5 is empty, not checked.
ldconfig: file /usr/lib/libgeocoding.so.8.12 is truncated

ldconfig: File /usr/lib/libKF5JS.so.5 is empty, not checked.
ldconfig: File /usr/lib/libkleopatraclientgui.so.1 is empty, not checked.
ldconfig: File /usr/lib/libKF5WebKit.so is empty, not checked.
ldconfig: File /usr/lib/libKF5JSApi.so is empty, not checked.
ldconfig: File /usr/lib/libQt5Script.so is empty, not checked.
ldconfig: File /usr/lib/libKF5KrossUi.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libkbookmarkmodel_private.so.5.97.0 is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_core.so is empty, not checked.
ldconfig: File /usr/lib/libQt5ScriptTools.so is empty, not checked.
ldconfig: File /usr/lib/libKF5JS.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5WebKit.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libKF5KHtml.so.5.84.0 is empty, not checked.
ldconfig: File /usr/lib/libkorganizer_interfaces.so is empty, not checked.
ldconfig: File /usr/lib/libKF5KHtml.so is empty, not checked.
ldconfig: File /usr/lib/libplasmapotdprovidercore.so is empty, not checked.
ldconfig: file /usr/lib/libgeocoding.so is truncated

ldconfig: File /usr/lib/libkorganizerprivate.so.5.17.3 is empty, not checked.
ldconfig: File /usr/lib/libplasmacomicprovidercore.so.1 is empty, not checked.
ldconfig: file /usr/lib/libgeocoding.so.8 is truncated

:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…

:: Starting full system upgrade…
:: Replace brave with community/brave-browser? [Y/n]

:: Starting full system upgrade…
:: Replace brave with community/brave-browser? [Y/n] y
:: Replace jack with extra/jack2? [Y/n] y
error: could not open file /mnt/var/lib/pacman/local/korganizer-21.04.3-1/desc: No such file or directory
:: Replace lib32-jack with multilib/lib32-jack2? [Y/n] y
resolving dependencies…
looking for conflicting packages…
warning: could not fully load metadata for package korganizer-21.04.3-1
error: failed to prepare transaction (invalid or corrupted package)
[manjaro@manjaro ~]$

----mount -t proc /proc /mnt/proc
----mount -t sysfs /sys /mnt/sys
----mount -o bind /dev /mnt/dev
----pacman --sysroot /mnt -Syu

[manjaro@manjaro ~]$ sudo mount -t proc /proc /mnt/proc
[manjaro@manjaro ~]$ sudo mount -t sysfs /sys /mnt/sys
[manjaro@manjaro ~]$ sudo mount -o bind /dev /mnt/dev
[manjaro@manjaro ~]$ sudo pacman --sysroot /mnt -Syu
:: Synchronizing package databases…
core.db failed to download
error: failed retrieving file ‘core.db’ from manjaro.moson.eu : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘core.db’ from mirror.alpix.eu : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘core.db’ from www.uex.dk : Resolving timed out after 10000 milliseconds
error: failed to synchronize all databases (download library error)

-----manjaro-chroot /mnt

[manjaro@manjaro ~]$ manjaro-chroot /mnt
mount: /mnt/sys: sys already mounted on /sys.
==> ERROR: failed to setup API filesystems in chroot /mnt

That is all. A friend tried but until here

To enjoy your system to it’s fullest potential - only install one system - Manjaro of course.

When you want to play with other distributions - create virtual machins using VirtualBox.

Doing so will make your life easier and your distro curiosity can be satisfied in a non-destructive manner.

1 Like

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