AlmaLinux 8的新安装(r8.7 (Stone Smilodon))我在准备安装ffmpeg时运行了以下命令:
sudo dnf -y install https://download.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo yum install yum-utils -y
sudo yum-config-manager --enable powertools
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm -y
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm -y当我运行最终的sudo dnf install ffmpeg ffmpeg-devel时,我会得到以下错误:
Last metadata expiration check: 0:22:38 ago on Tue 25 Apr 2023 11:48:30 AM MDT.
No match for argument: ffmpeg
Error: Unable to find a match: ffmpeg我已经安装和运行了ffmpeg,在以前的机器上和其他的“Nix”中没有问题,但是这一个让我很不爽。我运行了一个dnf repolist并得到了以下结果:
repo id repo name
appstream AlmaLinux 8 - AppStream
baseos AlmaLinux 8 - BaseOS
dell-omsa-indep Dell OMSA repository - Hardware independent
dell-omsa-specific Dell OMSA repository - Hardware specific
dell-system-update_dependent dell-system-update_dependent
dell-system-update_independent dell-system-update_independent
elevate ELevate
epel Extra Packages for Enterprise Linux 8 - x86_64
extras AlmaLinux 8 - Extras
influxdata InfluxData Repository - Stable
influxdb InfluxDB Repository
powertools AlmaLinux 8 - PowerTools因此,存储库是存在的并且是正确的。
我不知道还有什么地方可以查。这应该很简单。有人能帮我把这个装上吗?
发布于 2023-04-26 06:42:57
以下步骤对我有效:
dnf config-manager --set-enabled powertools
dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y
dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm -y
dnf install ffmpeg你甚至不需要埃佩尔。仅仅是动力工具和rpmfusion对ffmpeg来说就足够了。
https://serverfault.com/questions/1129671
复制相似问题