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

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

首先抱歉,因为我的终端是法语的,我将使用谷歌翻译所有的输出,所以术语可能不完全准确。
我正在运行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
我有以下错误:

  1. [sudo] wlutz password:
  2. Reading package lists... Done
  3. Building the dependency tree
  4. Reading status information... Done
  5. Some packages cannot be installed. This can mean
  6. that you have asked for the impossible, or, if you use
  7. the unstable distribution, which some packages do not yet have
  8. been created or not released from Incoming.
  9. The following information should help you resolve the situation:
  10. The following packages contain unmet dependencies:
  11. amdgpu-dkms: Depends: libc-dev or
  12. libc6-dev but will not be installed
  13. E: Unable to fix problems, bad packets are in "keep as is" mode.

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

jv2fixgn

jv2fixgn1#

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

  1. sudo apt install libc6-dev

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

  1. sudo dpkg -i <file_name>


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

  1. sudo apt install amdgpu-dkms


如果还是不行,试试:

  1. sudo apt --fix-missing update
  2. sudo apt update
  3. sudo apt install -f

展开查看全部

相关问题