Warning message when updating manjaro system


I got this warningmesssage when I updated my system:

Warning: installing nvidia-utils (535.129.03-1) breaks dependency ‘nvidia-utils=535.113.01’ required by linux64-nvidia
Add linux64-nvidia to remove

What do I do about this ?

I have not rebooted my system yet, bacause of what might happen.

You have a dead kernel installed.
Fix that and then you can move on.



(that means uninstall the dead kernel and any associated packages - remember to boot into a different kernel first … if you dont do it already, this is a good reminder to keep one good working LTS kernel installed)

Ok thanks cscs.

But can I get more specific instruction, what commands should I do in terminal now ?

I am scared shitless that my system dosent start up when I reboot.

My system says that it is up to date in Add/Remove Software, so can I not reli on that ?

Ok, i am in Manjaro Settings Manager now … should I remove linux 64 but it is still running .

You have package(s) installed that are no longer in the repos.

This might list them all:

pacman -Qs linux64

To list what kernel(s) you have installed:

mhwd-kernel -li

If you show me the output of the 2 commands above I can instruct you on what to do next.

In case you need a guide on code/formatting:

local/linux64 6.4.16-5
The Linux64 kernel and modules

Currently running: 6.4.16-5-MANJARO (linux64)
The following kernels are installed in your system:

  • linux64

Only have that Kernel installed

I would expect more packages than just the one, given that your original post contains reference to package like linux64-nvidia.

In any case you have only this EOL kernel installed and running.
You will need another.

sudo mhwd-kernel -i linux61

It may fail due to your current state.
If so try again with:

sudo pacman -S linux61

If you can successfully install another kernel then you want to reboot into it.
Make your selection at Grub, and verify your running kernel with

uname -a

Once you are surely in a different kernel you can proceed with removing 64;

sudo mhwd-kernel -r linux64

(and/or check again with pacman for more: pacman -Qs linux64)

Once all of 64 is removed you should be able to continue your updates:

sudo pacman -Syu

And reinstall your drivers for good measure;

sudo mhwd -f -i pci video-nvidia 

(or whatever your driver profile is).

If for whatever reason you do encounter an unbootable system then see this:

1 Like

Currently running: 6.4.16-5-MANJARO (linux64)
The following kernels are installed in your system:

  • linux61
  • linux64

I had networkproblem !

How do I choose the kernel in GRUB ? Ah ok ESC

Ah, well it looks like 6.1 is installed.
So just reboot into that.
You can make the selection at Grub during boot.
If you dont see the menu try hitting Esc during boot up.

Once there lets make sure we see all of the 64 packages:

pacman -Qs linux64 | curl -F 'file=@-' https://0x0.st

(that will produce a link to the output text that you can share here)

1 Like

local/linux64 6.4.16-5
The Linux64 kernel and modules

No more text was produced ):


Maybe you already removed the linux64-nvidia? Or it was trying to install due to dependencies?

Either way if you are booted into linux61 then go ahead and begin the removal:

sudo mhwd-kernel -r linux64

(you can check for remnants of 64 with pacman again if you want)
But with that gone, and assuming no other issues, then the update should be functional:

sudo pacman -Syu

Linux Aspire7 6.1.55-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Sep 23 12:13:56 UTC 2023 x86_64 GNU/Linux

I begin removal …

checking dependencies...
:: base optionally requires linux: bare metal support
:: mkinitcpio-firmware optionally requires linux: default linux preset

Packages (1) linux64-6.4.16-5

Total Removed Size:  131,74 MiB

:: Do you want to remove these packages? [Y/n]
: Running pre-transaction hooks...
(1/1) Removing linux initcpios...
:: Processing package changes...
(1/1) removing linux64                             [######################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Updating Kernel initcpios for Nvidia-DRM...
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-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.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.

1 Like

Looks fine.

theres just one thing, though its not really a ‘problem’:

You have grub-btrfs installed and you dont use btrfs.
If I were you then I would replace it with regular grub.
But it should continue to work fine as well if you dont want to touch it.

Is it complicated to change ?

And …

Can I go back to linux64 ?

You may wish to do your updates and such first, just to keep things separated.

sudo pacman -Syu

On to the exchange…
The package change would be simple:

sudo pacman -Syu grub && sudo pacman -Rns grub-btrfs

Its overwriting the installed grub files that can be a bit trickier.
Mainly it depends on BIOS/EFI, if you need extra options or use a funky path.
But the vast majority of installs could do this:

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck

Then this:

sudo grub-mkconfig -o /boot/grub/grub.cfg 

That last command being equivalent to

sudo update-grub

Info here:

No. That kernel is gone and dead.
(well … you could go and find the files and install it manually … but you probably would not want to)
If you want to keep surfing kernels newer than 6.1 then go ahead … just try current ones - 6.5, 6.6


Ok, but then I want to have linux65, instead of linux 61
Linux66 is experimental, so don’t want that

But you want to keep 61 because its an LTS. We know it works and its still getting updates.
(speaking of which … do your system updates first if you havent already)

Install whatever else you want to try:

sudo mhwd-kernel -i linux65

And then reboot into that.

1 Like

Ahaaa, so we have to be careful what kernel we use ?

Ok, I am keeping 61 LTS

I thought it was important to have the absolute latest kernel, to get all the hardware running smoothly.

General rule is keep one working LTS (long term support).
All the others tend to only exist for a few months or so.

If you let things go too long on an old kernel then you can find yourself in a weird dependency situation like you started with here.

Usually folks stay on top of that one way or another - such as by installing the newer kernel and then removing the old one … or various manjaro tools like manjaro-settings-manager-notifier can be configured to notify you of changes in kernel status.

(see my case - currently running my own compiled 6.6-zen-amd kernel that I recently rebuilt to be 6.6 after it was previously compiled as 6.5 … all the while I have manjaro’s regular 6.1 installed)

Mostly newer kernels are chased for newer hardware.
Though some security or performance enhancements can be found for regular users as well - 6.4 introduced noticeable speed improvements for the ext4 filesystem, for example.
But most important changes, like security improvements, will be backported to earlier LTS kernels when and where applicable.

1 Like

Wow man, you are an open book. Good to have you around, thanks for teaching me. Don’t die !

1 Like

Ha. Thanks, I’ll try. :sweat_smile:

1 Like