How to delete a package my system can no longer use

My Laptop can no longer use the nvidia 390 driver.
When I go to uninstall it , it wants to remove other packages that I want to keep.
I probably should know how to do this but I don’t.
Here is what happens when I go to delete it.
Not sure what to do here.

[demo@Manjaro ~]$ sudo pacman -R mhwd-nvidia-390xx
[sudo] password for demo:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mhwd-nvidia-390xx breaks dependency 'mhwd-nvidia-390xx' required by mhwd-db
[demo@Manjaro ~]$ sudo pacman -R mhwd-db
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mhwd-db breaks dependency 'mhwd-db' required by mhwd
[demo@Manjaro ~]$ sudo pacman -R mhwd
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mhwd breaks dependency 'mhwd' required by mhwd-nvidia
:: removing mhwd breaks dependency 'mhwd' required by mhwd-nvidia-390xx
:: removing mhwd breaks dependency 'mhwd' required by mhwd-nvidia-470xx
:: removing mhwd breaks dependency 'mhwd' required by mhwd-nvidia-570xx
:: removing mhwd breaks dependency 'mhwd' required by mhwd-nvidia-575xx

Hi @MAYBL8,

Seeing as it’s a GPU driver, I recommend using mhwd to remove it, since that’s Manjaro own tool.

To do that, first get all installed driver packages:

mhwd --listinstalled

Provide the output here so we can see what there is to see.

1 Like
[demo@Manjaro ~]$ mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2025.12.29               false            PCI
     video-modesetting            2020.01.13                true            PCI
           video-linux            2024.05.06                true            PCI


Warning: No installed USB configs!

Hmmm. OK, and the following one, please?

pamac search --installed nvidia

That package is not the driver. The driver would be something like linux612-nvidia-390xx.

Leave it, it’s a dependency for mhwd.

If you want to remove mhwd then remove them all, but I wouldn’t recommand doing that.

5 Likes
[demo@Manjaro ~]$ pamac search --installed nvidia
egl-wayland  4:1.1.21-1                                                                                                                          extra
    EGLStream-based Wayland external platform
egl-gbm  1.1.3-1                                                                                                                                 extra
    The GBM EGL external platform library
mhwd-nvidia-575xx  575.64.05-3                                                                                                                   extra
    MHWD module-ids for nvidia 575.64.05
mhwd-nvidia-570xx  570.211.01-1                                                                                                                  extra
    MHWD module-ids for nvidia 570.211.01
mhwd-nvidia-470xx  470.256.02-17                                                                                                                 extra
    MHWD module-ids for nvidia 470.256.02
mhwd-nvidia-390xx  390.157-21                                                                                                                    extra
    MHWD module-ids for nvidia 390.157
mhwd-nvidia  590.48.01-3                                                                                                                         extra
    MHWD module-ids for nvidia 590.48.01
linux-firmware-nvidia  20260221-2                                                                                                                 core
    Firmware files for Linux - Firmware for NVIDIA GPUs and SoCs
lib32-nvidia-580xx-utils  580.126.18-1                                                                                                        multilib
    NVIDIA drivers utilities (32-bit) (580xx)
nvidia-settings  590.48.01-3                                                                                                                     extra
    Tool for configuring the NVIDIA graphics driver
nvidia-prime  1.0-5                                                                                                                              extra
    NVIDIA Prime Render Offload configuration and utilities
nvidia-driver-assistant  0.23.48.01-6                                                                                                            extra
    Detect and install the best NVIDIA driver packages for the system
nvidia-580xx-utils  580.126.18-2                                                                                                                 extra
    NVIDIA drivers utilities (580xx)
nvidia-580xx-dkms  580.126.18-2                                                                                                                  extra
    NVIDIA kernel modules - module sources (580xx)

This is a solution but not the one I want.
I just went ahead and updated it

It’s only a solution if you want to uninstall mhwd.

The real solution is to understand the system and don’t randomly uninstall stuff.

I understand the system in this case that nvidia doesn’t support the 390 on my system and I am using the 380 . So the way I see it mhwd needs to recognize that my system can’t use 390 and not allow it to be installed. Or allow me to remove it without removing the entire mhwd package since it is used for other things also.


Moderator edit: corrected your quote tags.

No you need to understand that 390 isn’t installed.

That package contains information about 390 for use by mhwd. It’s a required dependency so the only way to remove it is to remove mhwd.

You seem to have 580 installed though.

and for some reason nvidia-settings is at 590.

As explained to you, that package is not a driver. It is part of mhwd, along with several other, similarly named parts. Their intent is to help people install that driver if needed.

1 Like

Well I am not a programmer so I sympathize with the work it takes to make these packages whether it is a driver or whatever it is. It really is not a big deal to me.
I will adjust what I do during upgrade . I could always block the package from upgrading which would probably be the safest thing to do in case it ever installed and broke my system.
You don’t need to waste your time discussing this anymore.
Sorry for any misunderstanding or my ignorance of anything I am doing here.

No, don’t do that, because then you’ll break mhwd.

4 Likes

Just leave it alone and forget about it.

Your driver won’t be changed unless you change it by using either mhwd or a package manager to do so.

We’re here to help and clear up misunderstandings.

:smiley:

2 Likes

You are worried by package(s) that are about 2kb !

3 Likes

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