Still The Same :
phantom@PhantomBox:~$ sudo apt install nvidia-driver-390
[sudo] password for phantom:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
dctrl-tools dkms libatomic1:i386 libbsd0:i386 libdrm-amdgpu1:i386
libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
libedit2:i386 libelf1:i386 libexpat1:i386 libffi8:i386 libgl1:i386
libgl1-mesa-dri:i386 libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386
libglx0:i386 libicu70:i386 libllvm15:i386 libmd0: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 libpciaccess0:i386 libsensors5:i386 libstdc++6:i386
libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386
libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386
libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxml2:i386 libxnvctrl0
libxshmfence1:i386 libxxf86vm1:i386 nvidia-compute-utils-390 nvidia-dkms-390
nvidia-kernel-common-390 nvidia-kernel-source-390 nvidia-prime
nvidia-settings nvidia-utils-390 pkg-config screen-resolution-extra
xserver-xorg-video-nvidia-390
Suggested packages:
debtags menu lm-sensors:i386
Recommended packages:
libgl1-amber-dri:i386
The following NEW packages will be installed:
dctrl-tools dkms libatomic1:i386 libbsd0:i386 libdrm-amdgpu1:i386
libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386
libedit2:i386 libelf1:i386 libexpat1:i386 libffi8:i386 libgl1:i386
libgl1-mesa-dri:i386 libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386
libglx0:i386 libicu70:i386 libllvm15:i386 libmd0: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 libpciaccess0:i386 libsensors5:i386 libstdc++6:i386
libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386
libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386
libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386
libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxml2:i386 libxnvctrl0
libxshmfence1:i386 libxxf86vm1:i386 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 xserver-xorg-video-nvidia-390
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/145 MB of archives.
After this operation, 580 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Selecting previously unselected package dctrl-tools.
(Reading database ... 270983 files and directories currently installed.)
Preparing to unpack .../00-dctrl-tools_2.24-3build2_amd64.deb ...
Unpacking dctrl-tools (2.24-3build2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../01-dkms_2.8.7-2ubuntu2.2_all.deb ...
Unpacking dkms (2.8.7-2ubuntu2.2) ...
Selecting previously unselected package libmd0:i386.
Preparing to unpack .../02-libmd0_1.0.4-1build1_i386.deb ...
Unpacking libmd0:i386 (1.0.4-1build1) ...
Selecting previously unselected package libbsd0:i386.
Preparing to unpack .../03-libbsd0_0.11.5-1_i386.deb ...
Unpacking libbsd0:i386 (0.11.5-1) ...
Selecting previously unselected package libelf1:i386.
Preparing to unpack .../04-libelf1_0.186-1build1_i386.deb ...
Unpacking libelf1:i386 (0.186-1build1) ...
Selecting previously unselected package libexpat1:i386.
Preparing to unpack .../05-libexpat1_2.4.7-1ubuntu0.3_i386.deb ...
Unpacking libexpat1:i386 (2.4.7-1ubuntu0.3) ...
Selecting previously unselected package libffi8:i386.
Preparing to unpack .../06-libffi8_3.4.2-4_i386.deb ...
Unpacking libffi8:i386 (3.4.2-4) ...
Selecting previously unselected package libstdc++6:i386.
Preparing to unpack .../07-libstdc++6_12.3.0-1ubuntu1~22.04_i386.deb ...
Unpacking libstdc++6:i386 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libicu70:i386.
Preparing to unpack .../08-libicu70_70.1-2_i386.deb ...
Unpacking libicu70:i386 (70.1-2) ...
Selecting previously unselected package libxml2:i386.
Preparing to unpack .../09-libxml2_2.9.13+dfsg-1ubuntu0.4_i386.deb ...
Unpacking libxml2:i386 (2.9.13+dfsg-1ubuntu0.4) ...
Selecting previously unselected package libdrm2:i386.
Preparing to unpack .../10-libdrm2_2.4.113-2~ubuntu0.22.04.1_i386.deb ...
Unpacking libdrm2:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libedit2:i386.
Preparing to unpack .../11-libedit2_3.1-20210910-1build1_i386.deb ...
Unpacking libedit2:i386 (3.1-20210910-1build1) ...
Selecting previously unselected package libxau6:i386.
Preparing to unpack .../12-libxau6_1%3a1.0.9-1build5_i386.deb ...
Unpacking libxau6:i386 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp6:i386.
Preparing to unpack .../13-libxdmcp6_1%3a1.1.3-0ubuntu5_i386.deb ...
Unpacking libxdmcp6:i386 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package libxcb1:i386.
Preparing to unpack .../14-libxcb1_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb1:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libx11-6:i386.
Preparing to unpack .../15-libx11-6_2%3a1.7.5-1ubuntu0.3_i386.deb ...
Unpacking libx11-6:i386 (2:1.7.5-1ubuntu0.3) ...
Selecting previously unselected package libxext6:i386.
Preparing to unpack .../16-libxext6_2%3a1.3.4-1build1_i386.deb ...
Unpacking libxext6:i386 (2:1.3.4-1build1) ...
Selecting previously unselected package libatomic1:i386.
Preparing to unpack .../17-libatomic1_12.3.0-1ubuntu1~22.04_i386.deb ...
Unpacking libatomic1:i386 (12.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libdrm-amdgpu1:i386.
Preparing to unpack .../18-libdrm-amdgpu1_2.4.113-2~ubuntu0.22.04.1_i386.deb ...
Unpacking libdrm-amdgpu1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libpciaccess0:i386.
Preparing to unpack .../19-libpciaccess0_0.16-3_i386.deb ...
Unpacking libpciaccess0:i386 (0.16-3) ...
Selecting previously unselected package libdrm-intel1:i386.
Preparing to unpack .../20-libdrm-intel1_2.4.113-2~ubuntu0.22.04.1_i386.deb ...
Unpacking libdrm-intel1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libdrm-nouveau2:i386.
Preparing to unpack .../21-libdrm-nouveau2_2.4.113-2~ubuntu0.22.04.1_i386.deb ..
.
Unpacking libdrm-nouveau2:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libdrm-radeon1:i386.
Preparing to unpack .../22-libdrm-radeon1_2.4.113-2~ubuntu0.22.04.1_i386.deb ...
Unpacking libdrm-radeon1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libglapi-mesa:i386.
Preparing to unpack .../23-libglapi-mesa_23.2.1-1ubuntu3.1~22.04.2_i386.deb ...
Unpacking libglapi-mesa:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Selecting previously unselected package libllvm15:i386.
Preparing to unpack .../24-libllvm15_1%3a15.0.7-0ubuntu0.22.04.3_i386.deb ...
Unpacking libllvm15:i386 (1:15.0.7-0ubuntu0.22.04.3) ...
Selecting previously unselected package libsensors5:i386.
Preparing to unpack .../25-libsensors5_1%3a3.6.0-7ubuntu1_i386.deb ...
Unpacking libsensors5:i386 (1:3.6.0-7ubuntu1) ...
Selecting previously unselected package libxcb-dri3-0:i386.
Preparing to unpack .../26-libxcb-dri3-0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-dri3-0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libgl1-mesa-dri:i386.
Preparing to unpack .../27-libgl1-mesa-dri_23.2.1-1ubuntu3.1~22.04.2_i386.deb ..
.
Unpacking libgl1-mesa-dri:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Selecting previously unselected package libx11-xcb1:i386.
Preparing to unpack .../28-libx11-xcb1_2%3a1.7.5-1ubuntu0.3_i386.deb ...
Unpacking libx11-xcb1:i386 (2:1.7.5-1ubuntu0.3) ...
Selecting previously unselected package libxcb-dri2-0:i386.
Preparing to unpack .../29-libxcb-dri2-0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-dri2-0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-glx0:i386.
Preparing to unpack .../30-libxcb-glx0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-glx0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-present0:i386.
Preparing to unpack .../31-libxcb-present0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-present0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-randr0:i386.
Preparing to unpack .../32-libxcb-randr0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-randr0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-shm0:i386.
Preparing to unpack .../33-libxcb-shm0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-shm0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-sync1:i386.
Preparing to unpack .../34-libxcb-sync1_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-sync1:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-xfixes0:i386.
Preparing to unpack .../35-libxcb-xfixes0_1.14-3ubuntu3_i386.deb ...
Unpacking libxcb-xfixes0:i386 (1.14-3ubuntu3) ...
Selecting previously unselected package libxfixes3:i386.
Preparing to unpack .../36-libxfixes3_1%3a6.0.0-1_i386.deb ...
Unpacking libxfixes3:i386 (1:6.0.0-1) ...
Selecting previously unselected package libxshmfence1:i386.
Preparing to unpack .../37-libxshmfence1_1.3-1build4_i386.deb ...
Unpacking libxshmfence1:i386 (1.3-1build4) ...
Selecting previously unselected package libxxf86vm1:i386.
Preparing to unpack .../38-libxxf86vm1_1%3a1.1.4-1build3_i386.deb ...
Unpacking libxxf86vm1:i386 (1:1.1.4-1build3) ...
Selecting previously unselected package libglx-mesa0:i386.
Preparing to unpack .../39-libglx-mesa0_23.2.1-1ubuntu3.1~22.04.2_i386.deb ...
Unpacking libglx-mesa0:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Selecting previously unselected package libnvidia-cfg1-390:amd64.
Preparing to unpack .../40-libnvidia-cfg1-390_390.157-0ubuntu0.22.04.2_amd64.deb
...
Unpacking libnvidia-cfg1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-common-390.
Preparing to unpack .../41-libnvidia-common-390_390.157-0ubuntu0.22.04.2_all.deb
...
Unpacking libnvidia-common-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-compute-390:i386.
Preparing to unpack .../42-libnvidia-compute-390_390.157-0ubuntu0.22.04.2_i386.d
eb ...
Unpacking libnvidia-compute-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-compute-390:amd64.
Preparing to unpack .../43-libnvidia-compute-390_390.157-0ubuntu0.22.04.2_amd64.
deb ...
Unpacking libnvidia-compute-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-decode-390:amd64.
Preparing to unpack .../44-libnvidia-decode-390_390.157-0ubuntu0.22.04.2_amd64.d
eb ...
Unpacking libnvidia-decode-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-decode-390:i386.
Preparing to unpack .../45-libnvidia-decode-390_390.157-0ubuntu0.22.04.2_i386.de
b ...
Unpacking libnvidia-decode-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-encode-390:i386.
Preparing to unpack .../46-libnvidia-encode-390_390.157-0ubuntu0.22.04.2_i386.de
b ...
Unpacking libnvidia-encode-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-encode-390:amd64.
Preparing to unpack .../47-libnvidia-encode-390_390.157-0ubuntu0.22.04.2_amd64.d
eb ...
Unpacking libnvidia-encode-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-fbc1-390:amd64.
Preparing to unpack .../48-libnvidia-fbc1-390_390.157-0ubuntu0.22.04.2_amd64.deb
...
Unpacking libnvidia-fbc1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libglvnd0:i386.
Preparing to unpack .../49-libglvnd0_1.4.0-1_i386.deb ...
Unpacking libglvnd0:i386 (1.4.0-1) ...
Selecting previously unselected package libglx0:i386.
Preparing to unpack .../50-libglx0_1.4.0-1_i386.deb ...
Unpacking libglx0:i386 (1.4.0-1) ...
Selecting previously unselected package libgl1:i386.
Preparing to unpack .../51-libgl1_1.4.0-1_i386.deb ...
Unpacking libgl1:i386 (1.4.0-1) ...
Selecting previously unselected package libnvidia-fbc1-390:i386.
Preparing to unpack .../52-libnvidia-fbc1-390_390.157-0ubuntu0.22.04.2_i386.deb
...
Unpacking libnvidia-fbc1-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-gl-390:i386.
Preparing to unpack .../53-libnvidia-gl-390_390.157-0ubuntu0.22.04.2_i386.deb ..
.
Unpacking libnvidia-gl-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-gl-390:amd64.
Preparing to unpack .../54-libnvidia-gl-390_390.157-0ubuntu0.22.04.2_amd64.deb .
..
Unpacking libnvidia-gl-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-ifr1-390:i386.
Preparing to unpack .../55-libnvidia-ifr1-390_390.157-0ubuntu0.22.04.2_i386.deb
...
Unpacking libnvidia-ifr1-390:i386 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libnvidia-ifr1-390:amd64.
Preparing to unpack .../56-libnvidia-ifr1-390_390.157-0ubuntu0.22.04.2_amd64.deb
...
Unpacking libnvidia-ifr1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package libxnvctrl0:amd64.
Preparing to unpack .../57-libxnvctrl0_510.47.03-0ubuntu1_amd64.deb ...
Unpacking libxnvctrl0:amd64 (510.47.03-0ubuntu1) ...
Selecting previously unselected package nvidia-compute-utils-390.
Preparing to unpack .../58-nvidia-compute-utils-390_390.157-0ubuntu0.22.04.2_amd
64.deb ...
Unpacking nvidia-compute-utils-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-kernel-source-390.
Preparing to unpack .../59-nvidia-kernel-source-390_390.157-0ubuntu0.22.04.2_amd
64.deb ...
Unpacking nvidia-kernel-source-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-kernel-common-390.
Preparing to unpack .../60-nvidia-kernel-common-390_390.157-0ubuntu0.22.04.2_amd
64.deb ...
Unpacking nvidia-kernel-common-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-dkms-390.
Preparing to unpack .../61-nvidia-dkms-390_390.157-0ubuntu0.22.04.2_amd64.deb ..
.
Unpacking nvidia-dkms-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-utils-390.
Preparing to unpack .../62-nvidia-utils-390_390.157-0ubuntu0.22.04.2_amd64.deb .
..
Unpacking nvidia-utils-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package xserver-xorg-video-nvidia-390.
Preparing to unpack .../63-xserver-xorg-video-nvidia-390_390.157-0ubuntu0.22.04.
2_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-driver-390.
Preparing to unpack .../64-nvidia-driver-390_390.157-0ubuntu0.22.04.2_amd64.deb
...
Unpacking nvidia-driver-390 (390.157-0ubuntu0.22.04.2) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../65-nvidia-prime_0.8.17.1_all.deb ...
Unpacking nvidia-prime (0.8.17.1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../66-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../67-screen-resolution-extra_0.18.2_all.deb ...
Unpacking screen-resolution-extra (0.18.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../68-nvidia-settings_510.47.03-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (510.47.03-0ubuntu1) ...
Setting up libexpat1:i386 (2.4.7-1ubuntu0.3) ...
Setting up libpciaccess0:i386 (0.16-3) ...
Setting up libxau6:i386 (1:1.0.9-1build5) ...
Setting up nvidia-prime (0.8.17.1) ...
Setting up libglvnd0:i386 (1.4.0-1) ...
Setting up nvidia-kernel-common-390 (390.157-0ubuntu0.22.04.2) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-6.5.0-35-generic
Setting up libxnvctrl0:amd64 (510.47.03-0ubuntu1) ...
Setting up nvidia-kernel-source-390 (390.157-0ubuntu0.22.04.2) ...
Setting up libatomic1:i386 (12.3.0-1ubuntu1~22.04) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Setting up libnvidia-compute-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up libnvidia-compute-390:i386 (390.157-0ubuntu0.22.04.2) ...
Setting up libsensors5:i386 (1:3.6.0-7ubuntu1) ...
Setting up libglapi-mesa:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Setting up screen-resolution-extra (0.18.2) ...
Setting up libffi8:i386 (3.4.2-4) ...
Setting up libdrm2:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libmd0:i386 (1.0.4-1build1) ...
Setting up libnvidia-common-390 (390.157-0ubuntu0.22.04.2) ...
Setting up libxshmfence1:i386 (1.3-1build4) ...
Setting up nvidia-settings (510.47.03-0ubuntu1) ...
Setting up nvidia-utils-390 (390.157-0ubuntu0.22.04.2) ...
Setting up libnvidia-fbc1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up nvidia-compute-utils-390 (390.157-0ubuntu0.22.04.2) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file
or directory
Adding system user `nvidia-persistenced' (UID 129) ...
Adding new group `nvidia-persistenced' (GID 138) ...
Adding new user `nvidia-persistenced' (UID 129) with group `nvidia-persistenced'
...
Not creating home directory `/nonexistent'.
Setting up libbsd0:i386 (0.11.5-1) ...
Setting up libelf1:i386 (0.186-1build1) ...
Setting up libstdc++6:i386 (12.3.0-1ubuntu1~22.04) ...
Setting up dctrl-tools (2.24-3build2) ...
Setting up libicu70:i386 (70.1-2) ...
Setting up libdrm-amdgpu1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libnvidia-cfg1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up libxdmcp6:i386 (1:1.1.3-0ubuntu5) ...
Setting up libdrm-nouveau2:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxcb1:i386 (1.14-3ubuntu3) ...
Setting up libxcb-xfixes0:i386 (1.14-3ubuntu3) ...
Setting up libnvidia-decode-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up libnvidia-gl-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up libdrm-radeon1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxcb-glx0:i386 (1.14-3ubuntu3) ...
Setting up libedit2:i386 (3.1-20210910-1build1) ...
Setting up libdrm-intel1:i386 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxcb-shm0:i386 (1.14-3ubuntu3) ...
Setting up libnvidia-encode-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up dkms (2.8.7-2ubuntu2.2) ...
Setting up libxcb-present0:i386 (1.14-3ubuntu3) ...
Setting up libxcb-sync1:i386 (1.14-3ubuntu3) ...
Setting up libxcb-dri2-0:i386 (1.14-3ubuntu3) ...
Setting up libxcb-randr0:i386 (1.14-3ubuntu3) ...
Setting up libnvidia-ifr1-390:amd64 (390.157-0ubuntu0.22.04.2) ...
Setting up libx11-6:i386 (2:1.7.5-1ubuntu0.3) ...
Setting up xserver-xorg-video-nvidia-390 (390.157-0ubuntu0.22.04.2) ...
Setting up libxml2:i386 (2.9.13+dfsg-1ubuntu0.4) ...
Setting up libxcb-dri3-0:i386 (1.14-3ubuntu3) ...
Setting up libx11-xcb1:i386 (2:1.7.5-1ubuntu0.3) ...
Setting up nvidia-dkms-390 (390.157-0ubuntu0.22.04.2) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-6.5.0-35-generic
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-390.157 DKMS files...
Building for 6.5.0-35-generic 6.8.0-40-generic
Building for architecture x86_64
Building initial module for 6.5.0-35-generic
Error! Bad return status for module build on kernel: 6.5.0-35-generic (x86_64)
Consult /var/lib/dkms/nvidia/390.157/build/make.log for more information.
dpkg: error processing package nvidia-dkms-390 (--configure):
installed nvidia-dkms-390 package post-installation script subprocess returned
error exit status 10
Setting up libxext6:i386 (2:1.3.4-1build1) ...
Setting up libxxf86vm1:i386 (1:1.1.4-1build3) ...
Setting up libxfixes3:i386 (1:6.0.0-1) ...
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on nvidia-dkms-390 (<= 390.157-1); however:
Package nvidia-dkms-390 is not configured yet.
nvidia-driver-390 depends on nvidia-dkms-390 (>= 390.157); however:
Package nvidia-dkms-390 is not configured yet.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
Setting up libllvm15:i386 (1:15.0.7-0ubuntu0.22.04.3) ...
Setting up libnvidia-decode-390:i386 (390.157-0ubuntu0.22.04.2) ...
Setting up libnvidia-gl-390:i386 (390.157-0ubuntu0.22.04.2) ...
Setting up libgl1-mesa-dri:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Setting up libnvidia-encode-390:i386 (390.157-0ubuntu0.22.04.2) ...
Setting up libglx-mesa0:i386 (23.2.1-1ubuntu3.1~22.04.2) ...
Setting up libglx0:i386 (1.4.0-1) ...
Setting up libgl1:i386 (1.4.0-1) ...
Setting up libnvidia-ifr1-390:i386 (390.157-0ubuntu0.22.04.2) ...
Setting up libnvidia-fbc1-390:i386 (390.157-0ubuntu0.22.04.2) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-6.8.0-40-generic
Errors were encountered while processing:
nvidia-dkms-390
nvidia-driver-390
E: Sub-process /usr/bin/dpkg returned an error code (1)