ubuntu dpkg-deb:错误:粘贴子进程被信号(管道破裂)终止处理时遇到错误:

7ivaypg9  于 2022-12-22  发布在  其他
关注(0)|答案(1)|浏览(552)

我正在参加kaggle OTTO推荐系统竞赛。
我正在尝试许多其他的代码。我看到高排名使用cudf库。
所以我想试一试,但我面临着许多错误...
我会从头给你看请帮帮我......

E: Unmet dependencies. Try ‘apt —-fix-broken install’ with no packages (or specify & solution)

当我试图修复损坏的安装时,我得到了这个

dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-4-local/./nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb (--unpack):  
unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) 
Preparing to unpack .../nvidia-utils-470_470.57.02-0ubuntu1_amd64.deb ... 
Unpacking nvidia-utils-470 (470.57.02-0ubuntu1) ... 
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-4-local/./nvidia-utils-470_470.57.02-0ubuntu1_amd64.deb (--unpack): 
unable to make backup link of './usr/bin/nvidia-debugdump' before installing new version: Invalid cross-device link 
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) 
Errors were encountered while processing: 
/var/cuda-repo-ubuntu1804-11-4-local/./nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb 
/var/cuda-repo-ubuntu1804-11-4-local/./nvidia-utils-470_470.57.02-0ubuntu1_amd64.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1)

我搜索这个错误,我找到了一些解决方案。
dpkg-dep error: paste subprocess was killed by signal(Broken Pipe) Ubuntu WSL2

sudo dpkg -i --force-overwrite /var/cuda-repo-ubuntu1804-11-4-local/./nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb

当我试着这样做的时候,我得到了错误...这个...

(Reading database ... 31 files and directories currently installed.) 
Preparing to unpack .../nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb ... 
Unpacking nvidia-compute-utils-470 (470.57.02-0ubuntu1) ... 
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-4-local/./nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb (--install): 
unable to make backup link of './usr/bin/nvidia-cuda-mps-control' before installing new version: Invalid cross-device link 
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) 
Errors were encountered while processing: 
/var/cuda-repo-ubuntu1804-11-4-local/./nvidia-compute-utils-470_470.57.02-0ubuntu1_amd64.deb

我能做些什么来解决这个问题?

hgb9j2n6

hgb9j2n61#

首先,您的计算机是否具有兼容的GPU?您是否正在使用WSL 2?如果是,请按照https://rapids.ai/wsl2上的安装说明操作。您不需要在WSL 2示例上安装NVIDIA驱动程序或CUDA。您可能需要重做示例,因此请按照Microsoft [may]提供的说明操作(在安装部分的一个链接中找到)祝你好运,与你的Kaggle比赛!

相关问题