我正在尝试安装一堆软件包,但安装脚本是为 Ubuntu 18.04 制作的。我在 20.04 中遇到了一些问题。有人能告诉我 Ubuntu 20.04 中的等效版本是什么吗?谢谢。
错误信息:
Package libfluidsynth1 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: Unable to locate package gudev-1.0
E: Unable to locate package libusb-1.0.0-dev
E: Package 'libfluidsynth1' has no installation candidate
E: Unable to locate package libnettle6
E: Unable to locate package libopenexr22
编辑:我也遇到了麻烦libgfortran3
。
答案1
也许你也正在做同样的尝试。
libgfortran3 -> libgfortran5
gudev-1.0 -> gir1.2-gudev-1.0
libusb-1.0.0-dev -> libusb-1.0-0-dev
libfluidsynth1 -> libfluidsynth2
libnettle6 -> libnettle7
libopenexr22 -> libopenexr24
答案2
libfluidsynth1 实时 MIDI 软件合成器已在 Ubuntu 20.04 及更高版本中升级为 libfluidsynth2。要安装它,请打开终端并输入:
sudo apt update
sudo apt install libfluidsynth2
要在 18.04 中安装 libgfortran3,请输入:
sudo apt install libgfortran3