I have been trying to work with TensorFlow on Ubuntu 18.04 LTS. Unfortunately I’ve encountered several issues trying to get everything ready. My current one is installing nvidia-390
sudo apt-get install nvidia-390
It starts installing normally until it just stops. This is the part I got stuck:
.....
.....
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/nonexistent'.
Setting up libxnvctrl0:amd64 (396.24-0ubuntu0~gpu18.04.1) ...
Setting up libnvidia-common-390 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up libnvidia-encode-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up mesa-vdpau-drivers:amd64 (18.0.0~rc5-1ubuntu1) ...
Setting up nvidia-settings (396.24-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-utils-390 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-dkms-390 (390.59-0ubuntu0~gpu18.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-390.59 DKMS files...
Building for 4.15.0-22-generic
Building for architecture x86_64
Building initial module for 4.15.0-22-generic
Generating a new Secure Boot signing key:
Generating a 2048 bit RSA private key
................................................................................................................................+++
..+++
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-----
I’ve left it for hours and it just won’t go. I’ve interrupted it before, but it created more problems I had to reinstall Ubuntu.
Has anybody encountered the same issue?
I’ve been following these steps: Installing Tensorflow GPU on Ubuntu 18.04 LTS | by Taylor Denouden | Medium
Thank you!
Full output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gcc-8-base:i386 libbsd0:i386 libc6:i386 libffi6:i386 libgcc1:i386
libgl1:i386 libglvnd0:i386 libglx0:i386 libnvidia-cfg1-390
libnvidia-common-390 libnvidia-compute-390 libnvidia-compute-390:i386
libnvidia-decode-390 libnvidia-decode-390:i386 libnvidia-encode-390
libnvidia-encode-390:i386 libnvidia-fbc1-390 libnvidia-fbc1-390:i386
libnvidia-gl-390 libnvidia-gl-390:i386 libnvidia-ifr1-390
libnvidia-ifr1-390:i386 libvdpau1 libwayland-client0:i386
libwayland-server0:i386 libx11-6:i386 libxau6:i386 libxcb1:i386
libxdmcp6:i386 libxext6:i386 libxnvctrl0 mesa-vdpau-drivers
nvidia-compute-utils-390 nvidia-dkms-390 nvidia-driver-390
nvidia-kernel-common-390 nvidia-kernel-source-390 nvidia-prime
nvidia-settings nvidia-utils-390 pkg-config screen-resolution-extra
vdpau-driver-all xserver-xorg-video-nvidia-390
Suggested packages:
glibc-doc:i386 locales:i386 libvdpau-va-gl1 nvidia-vdpau-driver
nvidia-legacy-340xx-vdpau-driver
The following NEW packages will be installed:
gcc-8-base:i386 libbsd0:i386 libc6:i386 libffi6:i386 libgcc1:i386
libgl1:i386 libglvnd0:i386 libglx0:i386 libnvidia-cfg1-390
libnvidia-common-390 libnvidia-compute-390:i386 libnvidia-decode-390
libnvidia-decode-390:i386 libnvidia-encode-390 libnvidia-encode-390:i386
libnvidia-fbc1-390 libnvidia-fbc1-390:i386 libnvidia-gl-390
libnvidia-gl-390:i386 libnvidia-ifr1-390 libnvidia-ifr1-390:i386 libvdpau1
libwayland-client0:i386 libwayland-server0:i386 libx11-6:i386 libxau6:i386
libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxnvctrl0 mesa-vdpau-drivers
nvidia-390 nvidia-compute-utils-390 nvidia-dkms-390 nvidia-driver-390
nvidia-kernel-common-390 nvidia-kernel-source-390 nvidia-prime
nvidia-settings pkg-config screen-resolution-extra vdpau-driver-all
xserver-xorg-video-nvidia-390
The following packages will be upgraded:
libnvidia-compute-390 nvidia-utils-390
2 upgraded, 43 newly installed, 0 to remove and 63 not upgraded.
Need to get 90,9 MB of archives.
After this operation, 317 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://br.archive.ubuntu.com/ubuntu bionic/main i386 gcc-8-base i386 8-20180414-1ubuntu2 [18,2 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libgcc1 i386 1:8-20180414-1ubuntu2 [48,1 kB]
Get:3 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libc6 i386 2.27-3ubuntu1 [2.551 kB]
Get:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-cfg1-390 amd64 390.59-0ubuntu0~gpu18.04.1 [70,5 kB]
Get:5 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libxau6 i386 1:1.0.8-1 [8.352 B]
Get:6 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libbsd0 i386 0.8.7-1 [44,7 kB]
Get:7 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libxdmcp6 i386 1:1.1.2-3 [11,1 kB]
Get:8 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libxcb1 i386 1.13-1 [50,0 kB]
Get:9 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libx11-6 i386 2:1.6.4-3 [594 kB]
Get:10 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-common-390 all 390.59-0ubuntu0~gpu18.04.1 [10,8 kB]
Get:11 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libxext6 i386 2:1.3.3-1 [31,6 kB]
Get:12 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libffi6 i386 3.2.1-8 [17,2 kB]
Get:13 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libglvnd0 i386 1.0.0-2ubuntu2 [42,0 kB]
Get:14 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libwayland-client0 i386 1.14.0-2 [22,8 kB]
Get:15 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libwayland-server0 i386 1.14.0-2 [29,6 kB]
Get:16 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libglx0 i386 1.0.0-2ubuntu2 [29,6 kB]
Get:17 http://br.archive.ubuntu.com/ubuntu bionic/main i386 libgl1 i386 1.0.0-2ubuntu2 [77,6 kB]
Get:18 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 libvdpau1 amd64 1.1.1-3ubuntu1 [25,5 kB]
Get:19 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 mesa-vdpau-drivers amd64 18.0.0~rc5-1ubuntu1 [1.915 kB]
Get:20 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-compute-390 amd64 390.59-0ubuntu0~gpu18.04.1 [20,6 MB]
Get:21 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 nvidia-prime all 0.8.8 [8.852 B]
Get:22 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 pkg-config amd64 0.29.1-0ubuntu2 [45,0 kB]
Get:23 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 screen-resolution-extra all 0.17.3 [11,7 kB]
Get:24 http://br.archive.ubuntu.com/ubuntu bionic/main amd64 vdpau-driver-all amd64 1.1.1-3ubuntu1 [4.674 B]
Get:25 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-compute-390 i386 390.59-0ubuntu0~gpu18.04.1 [21,0 MB]
Get:26 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-decode-390 amd64 390.59-0ubuntu0~gpu18.04.1 [1.120 kB]
Get:27 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-decode-390 i386 390.59-0ubuntu0~gpu18.04.1 [1.188 kB]
Get:28 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-encode-390 amd64 390.59-0ubuntu0~gpu18.04.1 [53,1 kB]
Get:29 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-encode-390 i386 390.59-0ubuntu0~gpu18.04.1 [53,4 kB]
Get:30 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-gl-390 i386 390.59-0ubuntu0~gpu18.04.1 [14,9 MB]
Get:31 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-fbc1-390 i386 390.59-0ubuntu0~gpu18.04.1 [39,2 kB]
Get:32 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-fbc1-390 amd64 390.59-0ubuntu0~gpu18.04.1 [42,1 kB]
Get:33 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-gl-390 amd64 390.59-0ubuntu0~gpu18.04.1 [14,3 MB]
Get:34 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main i386 libnvidia-ifr1-390 i386 390.59-0ubuntu0~gpu18.04.1 [62,8 kB]
Get:35 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libnvidia-ifr1-390 amd64 390.59-0ubuntu0~gpu18.04.1 [69,7 kB]
Get:36 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libxnvctrl0 amd64 396.24-0ubuntu0~gpu18.04.1 [18,2 kB]
Get:37 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-kernel-source-390 amd64 390.59-0ubuntu0~gpu18.04.1 [8.424 kB]
Get:38 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-kernel-common-390 amd64 390.59-0ubuntu0~gpu18.04.1 [11,5 kB]
Get:39 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-dkms-390 amd64 390.59-0ubuntu0~gpu18.04.1 [27,3 kB]
Get:40 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-compute-utils-390 amd64 390.59-0ubuntu0~gpu18.04.1 [69,2 kB]
Get:41 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-utils-390 amd64 390.59-0ubuntu0~gpu18.04.1 [328 kB]
Get:42 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 xserver-xorg-video-nvidia-390 amd64 390.59-0ubuntu0~gpu18.04.1 [1.616 kB]
Get:43 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-driver-390 amd64 390.59-0ubuntu0~gpu18.04.1 [391 kB]
Get:44 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-390 amd64 390.59-0ubuntu0~gpu18.04.1 [8.024 B]
Get:45 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-settings amd64 396.24-0ubuntu0~gpu18.04.1 [960 kB]
Fetched 90,9 MB in 4min 26s (342 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package gcc-8-base:i386.
(Reading database ... 156731 files and directories currently installed.)
Preparing to unpack .../00-gcc-8-base_8-20180414-1ubuntu2_i386.deb ...
Unpacking gcc-8-base:i386 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libgcc1:i386.
Preparing to unpack .../01-libgcc1_1%3a8-20180414-1ubuntu2_i386.deb ...
Unpacking libgcc1:i386 (1:8-20180414-1ubuntu2) ...
Selecting previously unselected package libc6:i386.
Preparing to unpack .../02-libc6_2.27-3ubuntu1_i386.deb ...
Unpacking libc6:i386 (2.27-3ubuntu1) ...
Selecting previously unselected package libxau6:i386.
Preparing to unpack .../03-libxau6_1%3a1.0.8-1_i386.deb ...
Unpacking libxau6:i386 (1:1.0.8-1) ...
Selecting previously unselected package libbsd0:i386.
Preparing to unpack .../04-libbsd0_0.8.7-1_i386.deb ...
Unpacking libbsd0:i386 (0.8.7-1) ...
Selecting previously unselected package libxdmcp6:i386.
Preparing to unpack .../05-libxdmcp6_1%3a1.1.2-3_i386.deb ...
Unpacking libxdmcp6:i386 (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:i386.
Preparing to unpack .../06-libxcb1_1.13-1_i386.deb ...
Unpacking libxcb1:i386 (1.13-1) ...
Selecting previously unselected package libx11-6:i386.
Preparing to unpack .../07-libx11-6_2%3a1.6.4-3_i386.deb ...
Unpacking libx11-6:i386 (2:1.6.4-3) ...
Selecting previously unselected package libxext6:i386.
Preparing to unpack .../08-libxext6_2%3a1.3.3-1_i386.deb ...
Unpacking libxext6:i386 (2:1.3.3-1) ...
Selecting previously unselected package libffi6:i386.
Preparing to unpack .../09-libffi6_3.2.1-8_i386.deb ...
Unpacking libffi6:i386 (3.2.1-8) ...
Selecting previously unselected package libnvidia-cfg1-390:amd64.
Preparing to unpack .../10-libnvidia-cfg1-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-cfg1-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-common-390.
Preparing to unpack .../11-libnvidia-common-390_390.59-0ubuntu0~gpu18.04.1_all.deb ...
Unpacking libnvidia-common-390 (390.59-0ubuntu0~gpu18.04.1) ...
Preparing to unpack .../12-libnvidia-compute-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-compute-390:amd64 (390.59-0ubuntu0~gpu18.04.1) over (390.48-0ubuntu3) ...
Selecting previously unselected package libnvidia-compute-390:i386.
Preparing to unpack .../13-libnvidia-compute-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-compute-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-decode-390:amd64.
Preparing to unpack .../14-libnvidia-decode-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-decode-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-decode-390:i386.
Preparing to unpack .../15-libnvidia-decode-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-decode-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-encode-390:amd64.
Preparing to unpack .../16-libnvidia-encode-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-encode-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-encode-390:i386.
Preparing to unpack .../17-libnvidia-encode-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-encode-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libglvnd0:i386.
Preparing to unpack .../18-libglvnd0_1.0.0-2ubuntu2_i386.deb ...
Unpacking libglvnd0:i386 (1.0.0-2ubuntu2) ...
Selecting previously unselected package libwayland-client0:i386.
Preparing to unpack .../19-libwayland-client0_1.14.0-2_i386.deb ...
Unpacking libwayland-client0:i386 (1.14.0-2) ...
Selecting previously unselected package libwayland-server0:i386.
Preparing to unpack .../20-libwayland-server0_1.14.0-2_i386.deb ...
Unpacking libwayland-server0:i386 (1.14.0-2) ...
Selecting previously unselected package libnvidia-gl-390:i386.
Preparing to unpack .../21-libnvidia-gl-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-gl-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libglx0:i386.
Preparing to unpack .../22-libglx0_1.0.0-2ubuntu2_i386.deb ...
Unpacking libglx0:i386 (1.0.0-2ubuntu2) ...
Selecting previously unselected package libgl1:i386.
Preparing to unpack .../23-libgl1_1.0.0-2ubuntu2_i386.deb ...
Unpacking libgl1:i386 (1.0.0-2ubuntu2) ...
Selecting previously unselected package libnvidia-fbc1-390:i386.
Preparing to unpack .../24-libnvidia-fbc1-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-fbc1-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-fbc1-390:amd64.
Preparing to unpack .../25-libnvidia-fbc1-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-fbc1-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-gl-390:amd64.
Preparing to unpack .../26-libnvidia-gl-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-gl-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-ifr1-390:amd64.
Preparing to unpack .../27-libnvidia-ifr1-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libnvidia-ifr1-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libnvidia-ifr1-390:i386.
Preparing to unpack .../28-libnvidia-ifr1-390_390.59-0ubuntu0~gpu18.04.1_i386.deb ...
Unpacking libnvidia-ifr1-390:i386 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package libvdpau1:amd64.
Preparing to unpack .../29-libvdpau1_1.1.1-3ubuntu1_amd64.deb ...
Unpacking libvdpau1:amd64 (1.1.1-3ubuntu1) ...
Selecting previously unselected package libxnvctrl0:amd64.
Preparing to unpack .../30-libxnvctrl0_396.24-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking libxnvctrl0:amd64 (396.24-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package mesa-vdpau-drivers:amd64.
Preparing to unpack .../31-mesa-vdpau-drivers_18.0.0~rc5-1ubuntu1_amd64.deb ...
Unpacking mesa-vdpau-drivers:amd64 (18.0.0~rc5-1ubuntu1) ...
Selecting previously unselected package nvidia-kernel-source-390.
Preparing to unpack .../32-nvidia-kernel-source-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-kernel-source-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-kernel-common-390.
Preparing to unpack .../33-nvidia-kernel-common-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-kernel-common-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-dkms-390.
Preparing to unpack .../34-nvidia-dkms-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-dkms-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-compute-utils-390.
Preparing to unpack .../35-nvidia-compute-utils-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-compute-utils-390 (390.59-0ubuntu0~gpu18.04.1) ...
Preparing to unpack .../36-nvidia-utils-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-utils-390 (390.59-0ubuntu0~gpu18.04.1) over (390.48-0ubuntu3) ...
Selecting previously unselected package xserver-xorg-video-nvidia-390.
Preparing to unpack .../37-xserver-xorg-video-nvidia-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-driver-390.
Preparing to unpack .../38-nvidia-driver-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-driver-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-390.
Preparing to unpack .../39-nvidia-390_390.59-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-390 (390.59-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../40-nvidia-prime_0.8.8_all.deb ...
Unpacking nvidia-prime (0.8.8) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../41-pkg-config_0.29.1-0ubuntu2_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu2) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../42-screen-resolution-extra_0.17.3_all.deb ...
Unpacking screen-resolution-extra (0.17.3) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../43-nvidia-settings_396.24-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking nvidia-settings (396.24-0ubuntu0~gpu18.04.1) ...
Selecting previously unselected package vdpau-driver-all:amd64.
Preparing to unpack .../44-vdpau-driver-all_1.1.1-3ubuntu1_amd64.deb ...
Unpacking vdpau-driver-all:amd64 (1.1.1-3ubuntu1) ...
Setting up nvidia-kernel-source-390 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-prime (0.8.8) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up libnvidia-fbc1-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up libvdpau1:amd64 (1.1.1-3ubuntu1) ...
Setting up libnvidia-compute-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-kernel-common-390 (390.59-0ubuntu0~gpu18.04.1) ...
update-initramfs: deferring update (trigger activated)
Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-fallback.service → /lib/systemd/system/nvidia-fallback.service.
Setting up pkg-config (0.29.1-0ubuntu2) ...
Setting up libnvidia-cfg1-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up xserver-xorg-video-nvidia-390 (390.59-0ubuntu0~gpu18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up screen-resolution-extra (0.17.3) ...
Setting up gcc-8-base:i386 (8-20180414-1ubuntu2) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libnvidia-decode-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Setting up nvidia-compute-utils-390 (390.59-0ubuntu0~gpu18.04.1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 127) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/nonexistent'.
Setting up libxnvctrl0:amd64 (396.24-0ubuntu0~gpu18.04.1) ...
Setting up libnvidia-common-390 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up libnvidia-encode-390:amd64 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up mesa-vdpau-drivers:amd64 (18.0.0~rc5-1ubuntu1) ...
Setting up nvidia-settings (396.24-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-utils-390 (390.59-0ubuntu0~gpu18.04.1) ...
Setting up nvidia-dkms-390 (390.59-0ubuntu0~gpu18.04.1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-390.59 DKMS files...
Building for 4.15.0-22-generic
Building for architecture x86_64
Building initial module for 4.15.0-22-generic
Generating a new Secure Boot signing key:
Generating a 2048 bit RSA private key
................................................................................................................................+++
..+++
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-----