是否可以在 Ubuntu 20 机器上安装 Proxmox VE?

问题描述

是否可以在 Ubuntu ubuntu-20.04.2.0-desktop-amd64 上安装 Proxmox VE?

This article 正在使用 Debian 10 buster,但我想知道它是否也适用于 Ubuntu 20.04。

我已经尝试运行以下步骤:

echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
apt update
apt install proxmox-ve postfix open-iscsi

在那之后,我缺少依赖项:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: pve-qemu-kvm but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
              Depends: spiceterm but it is not going to be installed
              Depends: vncterm but it is not going to be installed
E: Unable to correct problems,you have held broken packages.

提前致谢。

解决方法

不支持在 Ubuntu 上安装 Proxmox VE。

Proxmox VE 是 based on Debian 并依赖于相应 Debian 版本中可用的软件包。虽然在错误消息中没有清晰可见,但您提到的内容

在那之后,我缺少依赖项

正是我所期望的,因为 Ubuntu 和 Debian 中的软件包或软件包版本不同。

Proxmox VE 的安装 ISO 包括一个完整的 Debian 系统以及 Proxmox VE 软件包(您可以在 download.proxmox.com 上获得)。因此,您可以在系统上安装普通 Debian(但不是 Ubuntu)并在其上安装 Proxmox VE。公共 Proxmox VE wiki 上有关于如何完成此操作的 guide

但是,值得注意的是,Proxmox VE 附带的内核是基于 Ubuntu 的。由于它比 Debian 内核更新,因此可以使用更新的硬件。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...