Accidentally installed aur packages for "mhwd-nvidia"

In that case it should be relatively easy…theoretically anyway

(This is all in a terminal emulator BTW.)

  1. Uninstall the current, wrong package:
pamac remove mhwd-nvidia

Do not reboot afterwards.

  1. Install the package from the repository:
pamac install mhwd-nvidia
  1. Perform a forced Nvidia driver reinstall, by first removing it:
mhwd --remove pci nonfree video-nvidia

…and then reinstalling it:

mhwd --install --pci nonfree video-nvidia
  1. If done successfully, re-sync your system:
pamac upgrade && pamac upgrade --aur --devel || echo -e '\033[0;91mThere was an error upgrading the system. AUR packages not upgraded.\e[0m'

This will update your system and ONLY if that was successful update any AUR packages.

a Reminder: While use of the AUR is possible, it’s neither recommended nor supported.

I recommend pamac instead of pacman, especially for newcomers as pamac was developed by Manajaro (developers) for Manjaro and just takes care of more thing than pacman. For example:

  1. Try a reboot now.

If it worked, feel free to heap on the praise. If it didn’t, well, then I’m not here!

1 Like