如何解决proxmox 6.1 virtualbox 中未安装软件包
大家好!我在虚拟机(VirtualBox 6.1)中安装了 proxmox,每次尝试安装软件包时,debian 或 ceph 都会出现以下错误:
我安装 ceph 时:
W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/ceph-nautilus/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'enterprise.proxmox.com'
W: Some index files failed to download. They have been ignored,or old ones used instead.
start installation
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ceph 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
However the following packages replace it:
ceph-common
Package ceph-mds is not available,or
is only available from another source
E: Package 'ceph' has no installation candidate
E: Package 'ceph-mds' has no installation candidate
apt failed during ceph installation (25600)
我更新系统时:
root@pve:~# apt-get update
Err:1 https://enterprise.proxmox.com/debian/pve buster InRelease
Temporary failure resolving 'enterprise.proxmox.com'
Err:2 http://ftp.debian.org/debian buster InRelease
Temporary failure resolving 'ftp.debian.org'
Err:3 http://security.debian.org buster/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:4 http://download.proxmox.com/debian/ceph-nautilus buster InRelease
Temporary failure resolving 'download.proxmox.com'
Err:5 http://ftp.debian.org/debian buster-updates InRelease
Temporary failure resolving 'ftp.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.debian.org/debian/dists/buster/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://ftp.debian.org/debian/dists/buster-updates/InRelease Temporary failure resolving 'ftp.debian.org'
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://download.proxmox.com/debian/ceph-nautilus/dists/buster/InRelease Temporary failure resolving 'download.proxmox.com'
W: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/buster/InRelease Temporary failure resolving 'enterprise.proxmox.com'
W: Some index files failed to download. They have been ignored,or old ones used instead.
如果有人知道如何解决这个问题,我将非常感谢您的帮助!谢谢。
解决方法
您没有来自该 VM 的正确网络连接设置(nat、网桥、网关?)或内部名称解析 (resolv.conf)?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。