Can not reinstall nouveau driver

Hi, I have have incorrectly used nvidia-installer-dkms without the BumbleBee flag -b (however I have a hybrid GPU system). This effectively broke my installation (boot ends up at a blinking underscore character).

I tried liveusb boot with chroot. Here I planned to again reinstall either nouveau or bumblebee directly. Now in this liveusb iam trying sudo nvidia-installer-dkms -n and it fails (also with -b). This is the output:

[liveuser@eos-2021.04.17 ~]$ sudo nvidia-installer-dkms -n
INFO:root:Removing /tmp/nvidia-installer_r.log file...
INFO:root:EndeavourOS Nvidia Installer v3.3.8
2021-06-27 11:17:49 [INFO]: EndeavourOS Nvidia Installer v3.3.8
INFO:root:All logs will be stored in /tmp/nvidia-installer_r.log
2021-06-27 11:17:49 [INFO]: All logs will be stored in /tmp/nvidia-installer_r.log
INFO:root:Updating Nvidia graphics cards database...
2021-06-27 11:17:49 [INFO]: Updating Nvidia graphics cards database...
Database is already up-to-date.
INFO:root:Installing nouveau driver...
2021-06-27 11:17:53 [INFO]: Installing nouveau driver...
INFO:root:Removing conflicting packages...
2021-06-27 11:17:53 [INFO]: Removing conflicting packages...
INFO:root:Downloading and installing driver packages, please wait as this may take a few minutes...
2021-06-27 11:17:53 [INFO]: Downloading and installing driver packages, please wait as this may take a few minutes...
ERROR:root:Cannot install required packages: :: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libelf (0.185-1) breaks dependency 'libelf=0.183-3' required by elfutils

2021-06-27 11:17:53 [ERROR]: Cannot install required packages: :: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libelf (0.185-1) breaks dependency 'libelf=0.183-3' required by elfutils

[liveuser@eos-2021.04.17 ~]$

How could I fix this problem and install the nouveau drivers or bumblebee drivers when my computer doesnt boot?

Some ideas:

  • Are you sure you chrooted to the correct disk?
  • Have you updated your system before trying to install nouveau?
1 Like

to check that you are chrooted take a look if your users home is present in filesystem:
cd /home
ls

1 Like

As others have noted - seeing this tells me you likely didn’t chroot correctly.

https://discovery.endeavouros.com/system-rescue/arch-chroot-for-efi-uefi-systems/2021/03/

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