Manjaro won't boot after update, Nvidia problems

try installing it:
pacman -S openssl

Still no luck:

pacman: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

ok, so try using external pacman…
first exit chroot with:
exit
then run these commands:

sudo sed -i 's/ trap/#trap/' /usr/lib/manjaro-tools/util-mount.sh
exit | manjaro-chroot -a
sudo pacman --sysroot /mnt -S openssl

Results:

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 openssl-3.0.7-4-x86_64       5.1 MiB  1068 KiB/s 00:05 [#############################] 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%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) upgrading openssl                                 [#############################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

now rerun the update again:

sudo pacman --sysroot /mnt -Syu

Results below, mentioning the Nvidia stuff. Same thing that prevented me from updating anything before the OS wouldn’t reboot.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                    7.5 MiB  1760 KiB/s 00:04 [#############################] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-390xx-utils (390.157-1) breaks dependency 'nvidia-utils=390.154' required by linux519-nvidia-390xx
:: installing nvidia-390xx-utils (390.157-1) breaks dependency 'nvidia-utils=390.154' required by linux519-rt-nvidia-390xx

remove the following:

sudo pacman --sysroot /mnt -R linux519-rt linux519 linux519-nvidia-390xx linux519-rt-nvidia-390xx

rerun it again:

sudo pacman --sysroot /mnt -Syu

I tried running that first command, only to get this:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux519 breaks dependency 'linux519' required by linux519-bbswitch

you have also bbswitch, so remove it too:

sudo pacman --sysroot /mnt -R linux519-bbswitch linux519-rt-bbswitch linux519-rt linux519 linux519-nvidia-390xx linux519-rt-nvidia-390xx

rerun update again:

Still no luck:

error: target not found: linux519-rt-bbswitch

so you have installed linux519-rt but not the bbswitch with it, interesting… so run the command without it:

sudo pacman --sysroot /mnt -R linux519-bbswitch linux519-rt linux519 linux519-nvidia-390xx linux519-rt-nvidia-390xx

Here are the results:

:: Do you want to remove these packages? [Y/n] Y
:: Running pre-transaction hooks...
(1/1) Removing linux initcpios...
:: Processing package changes...
(1/5) removing linux519-rt-nvidia-390xx                 [#############################] 100%
(2/5) removing linux519-nvidia-390xx                    [#############################] 100%
(3/5) removing linux519-rt                              [#############################] 100%
(4/5) removing linux519-bbswitch                        [#############################] 100%
(5/5) removing linux519                                 [#############################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.0-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.0-x86_64.img
Found initrd fallback image: /boot/initramfs-6.0-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-rt-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-rt-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-rt-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
ERROR: mkdir /var/lock/dmraid
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.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

and why do you have installed all kernels, thats not needed…

Was my mistake, I’m largely new to Manjaro. Last time I had Linux exposure before the prior year was Linux Mint back in 2012, and Ubuntu before then. I’ve also rarely been on my PC much in the past 7 years because of my job as a truck driver, so haven’t had much time to learn and re-learn stuff.

thats ok… just rerun the update

Running now, fingers crossed…

Looks like it worked. It said the kernel was updated, as well as over 600 over items from the looks of it. I’m assuming I now close out the terminal and reboot the laptop?
Here’s one of the last messages, since there’s too much to copy/paste:

==> Warning:
	 -> Kernel has been updated. Modules of the current kernel
	 -> have been backed up so you can continue to use your
	 -> computer. However, the new kernel will only work
	 -> at next boot.

@brahma , it worked! Manjaro re-booted successfully! Thanks so much!

good, now remove these kernels, you dont need all of them:

sudo mhwd-kernel -r linux515-rt
sudo mhwd-kernel -r linux510
sudo mhwd-kernel -r linux54
sudo mhwd-kernel -r linux419

If you want to keep a bootable system, see:

And keep an eye on the #announcements:stable-updates section, there are announcements when updating, along with a list of possible gotchas.