提问人:Pawel 提问时间:3/24/2021 更新时间:7/22/2023 访问量:8357
无法从文件安装软件包,上次元数据过期检查,错误:找不到匹配项,Centos 8
Can't install package from file, Last metadata expiration check, Error: Unable to find a match, Centos 8
问:
请告诉我我做错了什么。我无法从文件安装软件包。
早些时候,我尝试通过指向地址进行安装,但是
dnf install https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.4.4-1_amd64.deb
Last metadata expiration check: 0:24:44 ago on Tue 23 Mar 2021 09:06:41 PM UTC.
containerd.io_1.4.4-1_amd64.deb 1.0 MB/s | 27 MB 00:27
Can not load RPM file: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/containerd.io_1.4.4-1_amd64.deb.
Could not open: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/containerd.io_1.4.4-1_amd64.deb
我已经下载了文件并尝试安装 dnf 和 yum
sudo dnf install /tmp/containerd.io_1.4.4-1_amd64.deb
Last metadata expiration check: 0:13:47 ago on Tue 23 Mar 2021 08:47:58 PM UTC.
No match for argument: /tmp/containerd.io_1.4.4-1_amd64.deb
Error: Unable to find a match: /tmp/containerd.io_1.4.4-1_amd64.deb
我试过了
yum clean all
我添加了docker repo
我在 CentOS Linux 发行版 8.3.2011 上工作
答: 暂无答案
评论