mirror of
https://github.com/pimox/pimox7.git
synced 2026-06-03 20:51:40 +00:00
Fix for dpkg error while installing pve-manager
While running the script, the following error will appear during the process: proxmox-ve depends on pve-manager; however: Package pve-manager is not configured yet. This appears to be a combination of upstream issues and race conditions. Installing pve-manager by itself, prior to installing the proxmox-ve package, along with disabling optional dependencies, seems to fix this issue. This pull request has the script install pve-manager early, before the other packages, so that it's already installed and configured by the time the remainder of the script performs the remaining functions.
This commit is contained in:
@@ -157,6 +157,11 @@ if [ "$(cat /boot/cmdline.txt | grep cgroup)" != "" ]
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#### INSTALL PIMOX7 AND REBOOT ###########################################################################################################
|
#### INSTALL PIMOX7 AND REBOOT ###########################################################################################################
|
||||||
|
|
||||||
|
#### Install pve-manager separately, and without recommended packages, to avoid packaging issue later.
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" pve-manager
|
||||||
|
|
||||||
|
#### Continue with remaining packages
|
||||||
DEBIAN_FRONTEND=noninteractive apt install -y -o Dpkg::Options::="--force-confdef" proxmox-ve
|
DEBIAN_FRONTEND=noninteractive apt install -y -o Dpkg::Options::="--force-confdef" proxmox-ve
|
||||||
|
|
||||||
#### RECONFIGURE NETWORK #### /etc/hosts REMOVE IPv6 #### /etc/network/interfaces.new CONFIGURE NETWORK TO CHANGE ON REBOOT ##############
|
#### RECONFIGURE NETWORK #### /etc/hosts REMOVE IPv6 #### /etc/network/interfaces.new CONFIGURE NETWORK TO CHANGE ON REBOOT ##############
|
||||||
|
|||||||
Reference in New Issue
Block a user