ubuntu libc 6-dev/libc-dev:“无法修复问题,坏数据包处于“保持原样”模式,”

kb5ga3dv  于 2023-11-17  发布在  其他
关注(0)|答案(1)|浏览(115)

首先抱歉,因为我的终端是法语的,我将使用谷歌翻译所有的输出,所以术语可能不完全准确。
我正在运行Ubuntu 20.04.6 LTS,我想在AMD® Firepro w7100 GPU上使用tensorflow。我试图遵循this tutorial to use Tensorflow 2 & PyTorch for AMD GPUs。然而,当我运行Ubuntu 20.04.6 LTS时,
sudo apt install amdgpu-dkms
我有以下错误:

[sudo] wlutz password:
Reading package lists... Done
Building the dependency tree
Reading status information... Done
Some packages cannot be installed. This can mean
that you have asked for the impossible, or, if you use
the unstable distribution, which some packages do not yet have
been created or not released from Incoming.
The following information should help you resolve the situation:

The following packages contain unmet dependencies:
 amdgpu-dkms: Depends: libc-dev or
                        libc6-dev but will not be installed
E: Unable to fix problems, bad packets are in "keep as is" mode.

字符串
它基本上是做类似的事情与其他软件包我想安装。你可能知道一些关于这一点吗?非常感谢。

jv2fixgn

jv2fixgn1#

首先,尝试修复正在显示的包的依赖关系:

sudo apt install libc6-dev

字符串
如果您无法安装它,请尝试手动下载(PKGS - Packages for Linux and Unix)并使用以下命令安装:

sudo dpkg -i <file_name>


再次检查amdgpu-dkms的安装是否正常:

sudo apt install amdgpu-dkms


如果还是不行,试试:

sudo apt --fix-missing update
sudo apt update
sudo apt install -f

相关问题