[GH-ISSUE #11218] PVE post install interrupts when choosing no to disable subscription nag on a system with nag enabled #2397

Closed
opened 2026-02-26 12:52:18 +03:00 by kerem · 3 comments
Owner

Originally created by @maiux on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11218

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

PVE Post Install

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

9.1.4

📝 Provide a clear and concise description of the issue.

Better check for /etc/apt/apt.conf.d/no-nag-script existence before trying to delete it, otherwise post install script will interrupt. I modified original script like this:

...
  no)
    whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58
    msg_error "Selected no to Disabling subscription nag"
    if [ -f /etc/apt/apt.conf.d/no-nag-script ]; then
      rm /etc/apt/apt.conf.d/no-nag-script 2>/dev/null
    fi    
    ;;
  esac
  apt --reinstall install proxmox-widget-toolkit &>/dev/null || msg_error "Widget toolkit reinstall failed"
...

Original script interrupts when both conditions occurring:

  • selected 'no' to disable subscription nag
  • no 'DPkg::Post-Invoke' script exists on the system

🔄 Steps to reproduce the issue.

  1. run PVE Post Install script on a fresh system
  2. select 'no' at the "Disable subscription nag" question

Paste the full error output (if available).

script fails silently

🖼️ Additional context (optional).

No response

Originally created by @maiux on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/11218 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? PVE Post Install ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 9.1.4 ### 📝 Provide a clear and concise description of the issue. Better check for `/etc/apt/apt.conf.d/no-nag-script` existence before trying to delete it, otherwise post install script will interrupt. I modified original script like this: ``` ... no) whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58 msg_error "Selected no to Disabling subscription nag" if [ -f /etc/apt/apt.conf.d/no-nag-script ]; then rm /etc/apt/apt.conf.d/no-nag-script 2>/dev/null fi ;; esac apt --reinstall install proxmox-widget-toolkit &>/dev/null || msg_error "Widget toolkit reinstall failed" ... ``` Original script interrupts when both conditions occurring: - selected 'no' to disable subscription nag - no 'DPkg::Post-Invoke' script exists on the system ### 🔄 Steps to reproduce the issue. 1) run PVE Post Install script on a fresh system 2) select 'no' at the "Disable subscription nag" question ### ❌ Paste the full error output (if available). script fails silently ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:52:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Jan 29, 2026):

fixed as oneliner

-f /etc/apt/apt.conf.d/no-nag-script && rm /etc/apt/apt.conf.d/no-nag-script

<!-- gh-comment-id:3818230086 --> @MickLesk commented on GitHub (Jan 29, 2026): fixed as oneliner [[ -f /etc/apt/apt.conf.d/no-nag-script ]] && rm /etc/apt/apt.conf.d/no-nag-script
Author
Owner

@maiux commented on GitHub (Jan 30, 2026):

@MickLesk you may consider the same fix on PBS post install script, thank you

<!-- gh-comment-id:3822677227 --> @maiux commented on GitHub (Jan 30, 2026): @MickLesk you may consider the same fix on PBS post install script, thank you
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

This issue has been automatically locked. Please open a new issue for related bugs and reference this issue if needed.

<!-- gh-comment-id:3837989136 --> @github-actions[bot] commented on GitHub (Feb 3, 2026): This issue has been automatically locked. Please open a new issue for related bugs and reference this issue if needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2397
No description provided.