diff --git a/misc/build.func b/misc/build.func index 36e194baa..928d68d42 100644 --- a/misc/build.func +++ b/misc/build.func @@ -5449,21 +5449,21 @@ create_lxc_container() { msg_warn "An update for the Proxmox LXC stack is available" echo " pve-container: installed=${_pvec_i:-n/a} candidate=${_pvec_c:-n/a}" echo " lxc-pve : installed=${_lxcp_i:-n/a} candidate=${_lxcp_c:-n/a}" - echo " note : option 1 runs host apt update + apt dist-upgrade" + echo " note : option 1 runs host apt update + apt upgrade" echo # Offer older OS version fallback when template version might be too new for LXC stack local _has_fallback_option=false if [[ "$do_retry" == "yes" ]] && has_previous_os_version_template; then _has_fallback_option=true - echo " [1] Run host dist-upgrade now (recommended)" + echo " [1] Run host upgrade now (recommended)" echo " [2] Use an older ${PCT_OSTYPE} template instead (may not work with all scripts)" echo " [3] Ignore" echo " [4] Cancel" echo read -rp "Select option [1/2/3/4]: " _ans /dev/null; then msg_error "LXC stack upgrade caused PVE tool breakage (likely Perl module incompatibility)." msg_custom "⚠️" "${YW}" "A partial package upgrade has left the PVE stack in an inconsistent state." msg_custom "🔧" "${YW}" "Please run the following on the Proxmox host, then retry:" - echo -e "${TAB} apt update && apt dist-upgrade -y" + echo -e "${TAB} apt update && apt upgrade -y" echo -e "${TAB} reboot" return 3 fi