我已经在 docker 容器内使用 tdarr 进行了几个月的工作设置,但在更新容器和我的 ubuntu 软件包后它停止工作。
追踪问题导致我简单地更新我正在使用的 nvidia 驱动程序版本,因为它不再与我的 ubuntu 版本兼容。
到目前为止,我可以安装驱动程序,并检测到我的 GPU nvidia-smi
。但我面临的问题是libnvcuvid1
我的系统中缺少库,因此 tdarr 将无法转码。
在安装 nvidia 驱动程序时,我可以看到它libnvcuvid1
在推荐的软件包中列出,但我不想安装推荐的软件包,apt
因为这也会安装一堆我不需要的东西,包括 GUI。
这是我用来安装驱动程序的命令:
apt install --no-install-recommends nvidia-cuda-toolkit nvidia-headless-550 nvidia-utils-550
我想在运行此命令后,我应该能够运行此命令来安装缺少的软件包:
apt install libnvcuvid1
但这给出了这样的输出:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libnvcuvid1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libnvcuvid1' has no installation candidate
我似乎无法找到一种方法来apt
指定我想要在主包中安装哪些推荐包。
这是可以做的事情吗?或者还有其他选择可以让我做到这一点吗?