Freezing while booting after interrupted update

Hey, today my Manjaro doesn’t boot like the other days and throws this error while booting:

[65.094453] systemd[1]: Cought , core dump failed (child 337, code=killed, status=7/BUS).
[65.095120] systemd[1]: Freezing execution.

After some restarts the problem still there, so I hope someone can help me :smiley:

Provide basic Information:

It‘s a bit hard to execute commands without access to a shell

boot on USB iso manjaro ,
open a terminal and a browser on this topic

sudo manjaro-chroot -a
journalctl -b -1 -p4
exit (end chroot ) 

and provide also

inxi -Fza
1 Like

journalctl:

Jan 15 12:05:52 Computhor kernel: ata1.00: supports DRM functions and may not be fully accessible
Jan 15 12:05:52 Computhor kernel: ata1.00: supports DRM functions and may not be fully accessible
Jan 15 12:05:52 Computhor kernel: usb: port power management may be unreliable
Jan 15 12:05:52 Computhor kernel: EXT4-fs (sdb2): warning: mounting fs with errors, running e2fsck is recommended
Jan 15 12:05:52 Computhor kernel: usb 1-2: device descriptor read/64, error -71
Jan 15 12:05:52 Computhor kernel: ata11.00: exception Emask 0x10 SAct 0xc0 SErr 0x280100 action 0x6 frozen
Jan 15 12:05:52 Computhor kernel: ata11.00: irq_stat 0x08000000, interface fatal error
Jan 15 12:05:52 Computhor kernel: ata11: SError: { UnrecovData 10B8B BadCRC }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/00:30:f8:fb:31/01:00:0b:00:00/40 tag 6 ncq dma 131072 in
                                           res 40/00:3c:b8:cb:3a/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/20:38:b8:cb:3a/00:00:0b:00:00/40 tag 7 ncq dma 16384 in
                                           res 40/00:3c:b8:cb:3a/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: usb 1-2: device descriptor read/64, error -71
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 187825144 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 188402616 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Jan 15 12:05:52 Computhor kernel: usb 1-2: device descriptor read/64, error -71
Jan 15 12:05:52 Computhor kernel: ata11.00: exception Emask 0x10 SAct 0x60402002 SErr 0x280100 action 0x6 frozen
Jan 15 12:05:52 Computhor kernel: ata11.00: irq_stat 0x08000000, interface fatal error
Jan 15 12:05:52 Computhor kernel: ata11: SError: { UnrecovData 10B8B BadCRC }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/30:08:d8:72:09/00:00:0b:00:00/40 tag 1 ncq dma 24576 in
                                           res 40/00:b4:e0:ca:12/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/08:68:b0:6c:70/00:00:74:00:00/40 tag 13 ncq dma 4096 in
                                           res 40/00:b4:e0:ca:12/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/20:b0:e0:ca:12/00:00:0b:00:00/40 tag 22 ncq dma 16384 in
                                           res 40/00:b4:e0:ca:12/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/38:e8:60:72:09/00:00:0b:00:00/40 tag 29 ncq dma 28672 in
                                           res 40/00:b4:e0:ca:12/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/30:f0:a0:72:09/00:00:0b:00:00/40 tag 30 ncq dma 24576 in
                                           res 40/00:b4:e0:ca:12/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: usb 1-2: device descriptor read/64, error -71
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 185168600 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 1953524912 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 185780960 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 185168480 op 0x0:(READ) flags 0x80700 phys_seg 7 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 185168544 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0
Jan 15 12:05:52 Computhor kernel: usb 1-2: Device not responding to setup address.
Jan 15 12:05:52 Computhor kernel: ata11.00: exception Emask 0x10 SAct 0x1804001 SErr 0x280100 action 0x6 frozen
Jan 15 12:05:52 Computhor kernel: ata11.00: irq_stat 0x08000000, interface fatal error
Jan 15 12:05:52 Computhor kernel: ata11: SError: { UnrecovData 10B8B BadCRC }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/10:00:30:7d:cd/00:00:0b:00:00/40 tag 0 ncq dma 8192 in
                                           res 40/00:04:30:7d:cd/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/e0:70:88:22:32/00:00:0b:00:00/40 tag 14 ncq dma 114688 in
                                           res 40/00:04:30:7d:cd/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/08:b8:70:84:0a/00:00:0b:00:00/40 tag 23 ncq dma 4096 in
                                           res 40/00:04:30:7d:cd/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: ata11.00: failed command: READ FPDMA QUEUED
Jan 15 12:05:52 Computhor kernel: ata11.00: cmd 60/20:c0:e0:a1:cd/00:00:0b:00:00/40 tag 24 ncq dma 16384 in
                                           res 40/00:04:30:7d:cd/00:00:0b:00:00/40 Emask 0x10 (ATA bus error)
Jan 15 12:05:52 Computhor kernel: ata11.00: status: { DRDY }
Jan 15 12:05:52 Computhor kernel: usb 1-2: Device not responding to setup address.
Jan 15 12:05:52 Computhor kernel: usb 1-2: device not accepting address 4, error -71
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 198016304 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 187835016 op 0x0:(READ) flags 0x80700 phys_seg 26 prio class 0
Jan 15 12:05:52 Computhor kernel: blk_update_request: I/O error, dev sdb, sector 198025696 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0
Jan 15 12:05:52 Computhor kernel: usb 1-2: Device not responding to setup address.
Jan 15 12:05:52 Computhor kernel: ipmi_si: Unable to find any System Interface(s)

inxi:

System:    Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
           parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=de tz=UTC misobasedir=manjaro
           misolabel=MANJARO_KDE_2116 quiet systemd.show_status=1 apparmor=1 security=apparmor driver=free nouveau.modeset=1
           i915.modeset=1 radeon.modeset=1
           Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:   Type: Desktop System: Gigabyte product: B450 AORUS PRO v: N/A serial: <filter>
           Mobo: Gigabyte model: B450 AORUS PRO-CF serial: <filter> UEFI: American Megatrends v: F60c date: 10/29/2020
CPU:       Info: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 8 stepping: 2
           microcode: 800820D cache: L2: 4 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 118236
           Speed: 2398 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2398 2: 1715 3: 1847 4: 1804 5: 1890
           6: 1885 7: 1888 8: 1884 9: 1829 10: 1808 11: 1883 12: 2135 13: 1887 14: 1890 15: 2625 16: 1719
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] vendor: ASUSTeK driver: amdgpu
           v: kernel bus-ID: 0a:00.0 chip-ID: 1002:687f class-ID: 0300
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: modesetting
           alternate: fbdev,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2") s-diag: 1055mm (41.5")
           Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") diag: 598mm (23.5")
           Monitor-2: DVI-D-0 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") diag: 598mm (23.5")
           OpenGL: renderer: Radeon RX Vega (VEGA10 DRM 3.41.0 5.13.19-2-MANJARO LLVM 12.0.1) v: 4.6 Mesa 21.2.3
           direct render: Yes
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64] driver: snd_hda_intel v: kernel
           bus-ID: 0a:00.1 chip-ID: 1002:aaf8 class-ID: 0403
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
           bus-ID: 0c:00.3 chip-ID: 1022:1457 class-ID: 0403
           Device-3: C-Media MAXTER 7.1 type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-4:4 chip-ID: 0d8c:0012
           class-ID: 0300 serial: <filter>
           Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:   Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel port: f000 bus-ID: 03:00.0
           chip-ID: 8086:1539 class-ID: 0200
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
           Device-2: Broadcom BCM4360 802.11ac Wireless Network Adapter driver: bcma-pci-bridge v: N/A modules: bcma
           bus-ID: 06:00.0 chip-ID: 14e4:43a0 class-ID: 0280
Bluetooth: Device-1: ASUSTek Broadcom BCM20702A0 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2:2 chip-ID: 0b05:17cb
           class-ID: fe01 serial: <filter>
           Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:    Local Storage: total: 2.16 TiB used: 21.68 GiB (1.0%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT250MX500SSD1 size: 232.89 GiB block-size: physical: 512 B
           logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 023 scheme: GPT
           ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000BX500SSD1 size: 931.51 GiB block-size: physical: 512 B
           logical: 512 B speed: <unknown> type: SSD serial: <filter> rev: 030 scheme: GPT
           ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB block-size:
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: 1A02 scheme: GPT
           ID-4: /dev/sdd maj-min: 8:48 type: USB vendor: Intenso model: Ultra Line size: 115.23 GiB block-size:
           physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1100 scheme: MBR
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Swap:      Alert: No swap data was found.
Sensors:   System Temperatures: cpu: 42.5 C mobo: N/A gpu: amdgpu temp: 39.0 C mem: 37.0 C
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 1391
Info:      Processes: 384 Uptime: 20m wakeups: 0 Memory: 15.55 GiB used: 2.61 GiB (16.8%) Init: systemd v: 249 tool: systemctl
           Compilers: gcc: N/A Packages: pacman: 1234 lib: 333 flatpak: 0 Shell: Bash v: 5.1.8 running-in: yakuake
           inxi: 3.3.07

5.13 is EOL. Switch to a supported kernel:

sudo manjaro-chroot -a
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu 
sudo mhwd-kernel -i linux510
exit

Then reboot into 5.10 (Press Esc during boot to get into grub menu and boot with 5.10)
Double check your running kernel is not 5.13 then remove it:

uname -r
sudo mhwd-kernel -r linux513
/usr/bin/mhwd-kernel: line 57: /usr/bin/pacman: Input/output error
/usr/bin/mhwd-kernel: line 58: /usr/bin/pacman: Input/output error
Error: Please make sure if the given kernel(s) exist(s).
available kernels:

any idea?

[manjaro /]# ls
bin  boot  desktopfs-pkgs.txt  dev  etc  home  lib  lib64  lost+found  mnt  opt  proc  root  rootfs-pkgs.txt  run  sbin  srv  sys  tmp  usr  var
[manjaro /]# mhwd-kernel -i linux510
/usr/bin/mhwd-kernel: line 57: /usr/bin/pacman: Input/output error
/usr/bin/mhwd-kernel: line 58: /usr/bin/pacman: Input/output error
Error: Please make sure if the given kernel(s) exist(s).
available kernels:
[manjaro /]# ls
bash: /usr/bin/ls: Input/output error
[manjaro /]# ls
bash: /usr/bin/ls: Input/output error
[manjaro /]#

I think that command breaks the hole bash

Update: It seems that it’s working now

Well, it doesn’t work, the error is still cannot read file data: Input/output error

[manjaro /]# sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.267 Netherlands    : https://mirror.koddos.net/manjaro/
  3.036 China          : https://mirrors.ustc.edu.cn/manjaro/
  0.261 Poland         : http://ftp.vectranet.pl/manjaro/
  0.922 Canada         : https://mirror.0xem.ma/manjaro/
  0.938 United_States  : https://repo.ialab.dsu.edu/manjaro/
::INFO Writing mirror list
::Poland          : http://ftp.vectranet.pl/manjaro/stable
::Netherlands     : https://mirror.koddos.net/manjaro/stable
::Canada          : https://mirror.0xem.ma/manjaro/stable
::United_States   : https://repo.ialab.dsu.edu/manjaro/stable
::China           : https://mirrors.ustc.edu.cn/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
^[[A^[[B
pacman: error while loading shared libraries: /usr/lib/libzstd.so.1: cannot read file data: Input/output error
[manjaro /]# 
[manjaro /]# sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
bash: /usr/bin/sudo: Input/output error
[manjaro /]# 

Update, after the third try

[manjaro /]# sudo pacman-mirrors --fasttrack 5
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  1.091 United_States  : https://mirrors.gigenet.com/manjaro/
  0.575 Greece         : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  0.411 Switzerland    : https://mirror.init7.net/manjaro/
  1.226 Singapore      : http://ossmirror.mycloud.services/os/linux/manjaro/
  2.335 Canada         : https://mirror.0xem.ma/manjaro/
::INFO Writing mirror list
::Switzerland     : https://mirror.init7.net/manjaro/stable
::Greece          : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable
::United_States   : https://mirrors.gigenet.com/manjaro/stable
::Singapore       : http://ossmirror.mycloud.services/os/linux/manjaro/stable
::Canada          : https://mirror.0xem.ma/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[manjaro /]# sudo pacman -Syyu
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
[manjaro /]# 

after running sudo rm /var/lib/pacman/db.lck it seems running, lets wait

Total Download Size:   73.97 MiB
Total Installed Size:  78.34 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 linux510-5.10.89-1-x86_64                                                            74.0 MiB  10.4 MiB/s 00:07 [###################################################################] 100%
(1/1) checking keys in keyring                                                                                   [###################################################################] 100%
(1/1) checking package integrity                                                                                 [###################################################################] 100%
(1/1) loading package files                                                                                      [###################################################################] 100%
(1/1) checking for file conflicts                                                                                [###################################################################] 100%
(1/1) checking available disk space                                                                              [###################################################################] 100%
:: Processing package changes...
(1/1) installing linux510                                                                                        [###################################################################] 100%
Optional dependencies for linux510
    crda: to set the correct wireless channels of your country [installed]

error: command terminated by signal 7: Bus error
error: could not open directory: /etc/pacman.d/hooks/: Input/output error
error: could not open directory: /usr/share/libalpm/hooks/: Input/output error
warning: could not remove lock file /var/lib/pacman/db.lck

or not

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

1 - with USB manjaro live ,
repair sdb if possible , check before cable management
2 - then you can try to update after

nope

[manjaro /]# sudo rm -f /var/lib/pacman/db.lock
[manjaro /]# sudo mhwd-kernel -i linux510
:: Synchronizing package databases...
 core                                                                                169.5 KiB   697 KiB/s 00:00 [###################################################################] 100%
 extra                                                                              1915.2 KiB  7.28 MiB/s 00:00 [###################################################################] 100%
 community                                                                             6.8 MiB  9.95 MiB/s 00:01 [###################################################################] 100%
 multilib                                                                            175.5 KiB  3.01 MiB/s 00:00 [###################################################################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (1) linux510-5.10.89-1

Total Download Size:   73.97 MiB
Total Installed Size:  78.34 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 linux510-5.10.89-1-x86_64                                                            74.0 MiB  10.6 MiB/s 00:07 [###################################################################] 100%
(1/1) checking keys in keyring                                                                                   [###################################################################] 100%
downloading required keys...
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
warning: could not remove lock file /var/lib/pacman/db.lck
[manjaro /]# sudo rm -f /var/lib/pacman/db.lock
bash: /usr/bin/sudo: Input/output error
[manjaro /]# 
[manjaro /]# sudo rm -f /var/lib/pacman/db.lock
[manjaro /]# sudo mhwd-kernel -i linux510
:: Synchronizing package databases...
 core                                                                                169.5 KiB   697 KiB/s 00:00 [###################################################################] 100%
 extra                                                                              1915.2 KiB  7.28 MiB/s 00:00 [###################################################################] 100%
 community                                                                             6.8 MiB  9.95 MiB/s 00:01 [###################################################################] 100%
 multilib                                                                            175.5 KiB  3.01 MiB/s 00:00 [###################################################################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (1) linux510-5.10.89-1

Total Download Size:   73.97 MiB
Total Installed Size:  78.34 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 linux510-5.10.89-1-x86_64                                                            74.0 MiB  10.6 MiB/s 00:07 [###################################################################] 100%
(1/1) checking keys in keyring                                                                                   [###################################################################] 100%
downloading required keys...
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
warning: could not remove lock file /var/lib/pacman/db.lck
[manjaro /]# sudo rm -f /var/lib/pacman/db.lock
bash: /usr/bin/sudo: Input/output error
[manjaro /]# 

Try without sudo as you are already root

same as before

I decided to reinstall manjaro with a newer live iso, the installation isn’t that old and many settings have not been done yet