![손상된 CUDA 패키지를 업데이트하는 방법은 무엇입니까?](https://linux55.com/image/205582/%EC%86%90%EC%83%81%EB%90%9C%20CUDA%20%ED%8C%A8%ED%82%A4%EC%A7%80%EB%A5%BC%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
다음 문제를 어떻게 해결할 수 있나요? 이 두 CUDA 패키지를 업데이트하고 싶습니다.
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:
cuda-cudart-dev-11-2: Depends: cuda-cudart-11-2 (>= 11.2.152) but it is not installed
cuda-libraries-11-2: Depends: cuda-cudart-11-2 (>= 11.2.152) but it is not installed
Depends: cuda-nvrtc-11-2 (>= 11.2.152) but 11.2.152-1 is installed
Depends: libcublas-11-2 (>= 11.4.1.1043) but 11.4.1.1043-1 is installed
Depends: libcusparse-11-2 (>= 11.4.1.1152) but 11.4.1.1152-1 is installed
Depends: libnpp-11-2 (>= 11.3.2.152) but 11.3.2.152-1 is installed
Depends: libnvjpeg-11-2 (>= 11.4.0.152) but 11.4.0.152-1 is installed
답변1
패키지가 손상되지 않았으므로 업데이트/설치해야 합니다. 다음과 같이 시도해 보세요.
apt-get install cuda-cudart-dev cuda-libraries