Welp, I’ve been doing all of this off my live sd card and already entered chroot, so the other commands give the following:
[manjaro /]# pacman -Syy
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]# pacman -Syu
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]# mhwd-kernel -i linux57
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
error: no targets specified (use -h for help)
[manjaro /]#
I’ve been issuing all these commands through my live SD card, so I’m already in chroot, so this is that linux latest gives:
[manjaro /]# sudo pacman -Sy linux-latest
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
[manjaro /]#
sudo manjaro-chroot -a ( type 1 if only one line appears )
rm -f /var/lib/pacman/db.lck
pacman -Syy
pacman -Syu
mhwd-kernel -i linux57
exit ( quit chroot )
I’ve just done this and it looks like the process went through successfully, however on reboot I recive the same original error.
There’s a screenshot below showing the terminal.
From the success of command to update to latest linux, I can only assume it is an error within linux56 which my system is trying to boot from as this might indicate:
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda2]
–> mount: [/mnt]
–> mount: [/mnt/boot/efi]
[manjaro /]# pacman -Syy
:: Synchronizing package databases…
core 168.7 KiB 1592 KiB/s 00:00 [##########################################] 100%
extra 2000.2 KiB 2.45 MiB/s 00:01 [##########################################] 100%
community 6.1 MiB 2.28 MiB/s 00:03 [##########################################] 100%
multilib 195.2 KiB 2.51 MiB/s 00:00 [##########################################] 100%
[manjaro /]# 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…
there is nothing to do
[manjaro /]#
[manjaro /]# mhwd-kernel -i linux56
Error: You can’t reinstall your current kernel. Please use ‘pacman -Syu’ instead to update.
[manjaro /]#
Is there any way to remove linux56 entirely or is it still needed?
ok seems to be progress but is now stuck on updating grub:
[manjaro /]# pacman -Syu linux57
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: linux57-5.7.14-1 is up to date – reinstalling
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
Packages (1) linux57-5.7.14-1
Total Installed Size: 145.44 MiB
Net Upgrade Size: 0.00 MiB