manjush.kochi
June 27th, 2018, 06:26 PM
After upgrading from 17.10 to 18.04 I got a black screen, then from the terminal, I tried to uninstall Nvidia.
From Grub, I pressed 'e' and added nouveau.modeset=0.
I am able to successfully log in, but if I try to fix the broken packages
sudo dpkg --configure -a
Terminal get stuck in `Building initial module for 4.15.0-24-generic`
The complete output after sudo dpkg --configure -a
Processing triggers for initramfs-tools (0.130ubuntu3.2) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-24-generic
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf: No such file or directory
Setting up nvidia-dkms-390 (390.67-0ubuntu0~gpu18.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-390.67 DKMS files...
-------- Uninstall Beginning --------
Module: nvidia
Version: 390.67
Kernel: 4.15.0-24-generic (x86_64)
-------------------------------------
Status: This module version was INACTIVE for this kernel.
depmod......
DKMS: uninstall completed.
------------------------------
Deleting module version: 390.67
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-390.67 DKMS files...
Building for 4.15.0-24-generic
Building for architecture x86_64
Building initial module for 4.15.0-24-generic
From Grub, I pressed 'e' and added nouveau.modeset=0.
I am able to successfully log in, but if I try to fix the broken packages
sudo dpkg --configure -a
Terminal get stuck in `Building initial module for 4.15.0-24-generic`
The complete output after sudo dpkg --configure -a
Processing triggers for initramfs-tools (0.130ubuntu3.2) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-24-generic
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf: No such file or directory
Setting up nvidia-dkms-390 (390.67-0ubuntu0~gpu18.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-390.67 DKMS files...
-------- Uninstall Beginning --------
Module: nvidia
Version: 390.67
Kernel: 4.15.0-24-generic (x86_64)
-------------------------------------
Status: This module version was INACTIVE for this kernel.
depmod......
DKMS: uninstall completed.
------------------------------
Deleting module version: 390.67
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-390.67 DKMS files...
Building for 4.15.0-24-generic
Building for architecture x86_64
Building initial module for 4.15.0-24-generic