---
# System prepended metadata

title: Untitled

---

liao@liao-NUC9i9QNX:~/桌面/RISE-V2G-1.2.6-master/RISE-V2G-PARENT$ sudo apt --fix-broken install
正在讀取套件清單... 完成
正在重建相依關係... 完成  
正在讀取狀態資料... 完成  
正在修正相依關係... 完成
以下套件為自動安裝，並且已經無用：
  cuda-cccl-11-7 cuda-cccl-11-8 cuda-command-line-tools-11-7 cuda-command-line-tools-11-8 cuda-compiler-11-7 cuda-compiler-11-8
  cuda-cudart-11-7 cuda-cudart-11-8 cuda-cudart-dev-11-7 cuda-cudart-dev-11-8 cuda-cuobjdump-11-7 cuda-cuobjdump-11-8 cuda-cupti-11-7
  cuda-cupti-11-8 cuda-cupti-dev-11-7 cuda-cupti-dev-11-8 cuda-cuxxfilt-11-7 cuda-cuxxfilt-11-8 cuda-documentation-11-7
  cuda-documentation-11-8 cuda-driver-dev-11-7 cuda-driver-dev-11-8 cuda-gdb-11-7 cuda-gdb-11-8 cuda-libraries-11-7 cuda-libraries-11-8
  cuda-libraries-dev-11-7 cuda-libraries-dev-11-8 cuda-memcheck-11-7 cuda-memcheck-11-8 cuda-nsight-11-7 cuda-nsight-11-8
  cuda-nsight-compute-11-7 cuda-nsight-compute-11-8 cuda-nsight-systems-11-7 cuda-nsight-systems-11-8 cuda-nvcc-11-7 cuda-nvcc-11-8
  cuda-nvdisasm-11-7 cuda-nvdisasm-11-8 cuda-nvml-dev-11-7 cuda-nvml-dev-11-8 cuda-nvprof-11-7 cuda-nvprof-11-8 cuda-nvprune-11-7
  cuda-nvprune-11-8 cuda-nvrtc-11-7 cuda-nvrtc-11-8 cuda-nvrtc-dev-11-7 cuda-nvrtc-dev-11-8 cuda-nvtx-11-7 cuda-nvtx-11-8 cuda-nvvp-11-7
  cuda-nvvp-11-8 cuda-profiler-api-11-8 cuda-sanitizer-11-7 cuda-sanitizer-11-8 cuda-toolkit-11-7 cuda-toolkit-11-7-config-common
  cuda-toolkit-11-8 cuda-toolkit-11-8-config-common cuda-toolkit-11-config-common cuda-toolkit-config-common cuda-tools-11-7 cuda-tools-11-8
  cuda-visual-tools-11-7 cuda-visual-tools-11-8 dctrl-tools dkms gds-tools-11-7 gds-tools-11-8 libatomic1:i386 libbsd0:i386 libcublas-11-7
  libcublas-11-8 libcublas-dev-11-7 libcublas-dev-11-8 libcufft-11-7 libcufft-11-8 libcufft-dev-11-7 libcufft-dev-11-8 libcufile-11-7
  libcufile-11-8 libcufile-dev-11-7 libcufile-dev-11-8 libcurand-11-7 libcurand-11-8 libcurand-dev-11-7 libcurand-dev-11-8 libcusolver-11-7
  libcusolver-11-8 libcusolver-dev-11-7 libcusolver-dev-11-8 libcusparse-11-7 libcusparse-11-8 libcusparse-dev-11-7 libcusparse-dev-11-8
  libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libegl-mesa0:i386 libegl1:i386 libelf1:i386
  libexpat1:i386 libffi8:i386 libgbm1:i386 libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386
  libgles2:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libicu70:i386 libllvm13:i386 libmd0:i386 libnpp-11-7 libnpp-11-8
  libnpp-dev-11-7 libnpp-dev-11-8 libnvidia-cfg1-515 libnvidia-common-515 libnvidia-common-520 libnvidia-compute-515:i386
  libnvidia-decode-515 libnvidia-decode-515:i386 libnvidia-egl-wayland1 libnvidia-encode-515 libnvidia-encode-515:i386 libnvidia-extra-515
  libnvidia-fbc1-515 libnvidia-gl-515 libnvjpeg-11-7 libnvjpeg-11-8 libnvjpeg-dev-11-7 libnvjpeg-dev-11-8 libopengl0:i386 libsensors5:i386
  libstdc++6:i386 libtinfo5 libvulkan1:i386 libwayland-client0:i386 libwayland-server0: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 libxcb-xinput0 libxcb1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxml2:i386 libxnvctrl0 libxshmfence1:i386
  libxxf86vm1:i386 mesa-vulkan-drivers:i386 nsight-compute-2022.2.1 nsight-compute-2022.3.0 nsight-systems-2022.1.3 nsight-systems-2022.4.2
  nvidia-compute-utils-515 nvidia-kernel-common-515 nvidia-kernel-source-515 nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-515
  pkg-config screen-resolution-extra xserver-xorg-video-nvidia-515
使用 'sudo apt autoremove' 將之移除。
下列套件將會被【移除】：
  cuda cuda-11-7 cuda-demo-suite-11-7 cuda-drivers cuda-drivers-515 cuda-runtime-11-7 libnvidia-fbc1-515:i386 libnvidia-gl-515:i386
  nvidia-dkms-515 nvidia-driver-515
升級 0 個，新安裝 0 個，移除 10 個，有 55 個未被升級。
19 個沒有完整得安裝或移除。
此操作完成之後，會空出 96.9 MB 的磁碟空間。
是否繼續進行 [Y/n]？ [Y/n] y
（讀取資料庫 ... 目前共安裝了 229608 個檔案和目錄。）
正在移除 libnvidia-fbc1-515:i386 (515.76-0ubuntu0.22.04.1)……
正在移除 libnvidia-gl-515:i386 (515.76-0ubuntu0.22.04.1)……
正在移除 cuda (11.7.1-1)……
正在移除 cuda-11-7 (11.7.1-1)……
正在移除 cuda-demo-suite-11-7 (11.7.91-1)……
正在移除 cuda-runtime-11-7 (11.7.1-1)……
正在移除 cuda-drivers (515.65.01-1)……
正在移除 cuda-drivers-515 (515.65.01-1)……
正在移除 nvidia-driver-515 (515.76-0ubuntu0.22.04.1)……
正在移除 nvidia-dkms-515 (515.76-0ubuntu0.22.04.1)……
update-initramfs: deferring update (trigger activated)
設定 libnvidia-compute-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-compute-515:i386 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-extra-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 nvidia-kernel-source-515 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-egl-wayland1:amd64 (1:1.1.9-1.1) ...
設定 libnvidia-decode-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-decode-515:i386 (515.76-0ubuntu0.22.04.1) ...
設定 nvidia-utils-515 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-gl-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-fbc1-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 nvidia-compute-utils-515 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-cfg1-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 xserver-xorg-video-nvidia-515 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-encode-515:amd64 (515.76-0ubuntu0.22.04.1) ...
設定 libnvidia-encode-515:i386 (515.76-0ubuntu0.22.04.1) ...
執行 libc-bin (2.35-0ubuntu3.1) 的觸發程式……
執行 man-db (2.10.2-1) 的觸發程式……
執行 initramfs-tools (0.140ubuntu13) 的觸發程式……
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic




裝cuda會把相關libarary 裝起來(包含driver)
