Uninstalling Netdata left me unable to upgrade debian on host #321

Closed
opened 2026-02-04 17:57:22 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Builder-DE-TH on GitHub (Jan 12, 2025).

Have you read and understood the above guidelines?

yes

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

Netdata

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/netdata.sh)"

📝 Provide a clear and concise description of the issue.

Netdata does not cleanly uninstall. Upgrading Debian on the host gives an error about a probable packaging bug.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

execute uninstall script

Paste the full error output (if available).

Don't have

🖼️ Additional context (optional).

If you have the same issue, you can fix it and get debian upgrading again using

for override in $(grep netdata /var/lib/dpkg/statoverride | cut -f 4 -d ' '); do
    dpkg-statoverride --remove "${override}"
done

From here

Originally created by @Builder-DE-TH on GitHub (Jan 12, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Netdata ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/netdata.sh)" ### 📝 Provide a clear and concise description of the issue. Netdata does not cleanly uninstall. Upgrading Debian on the host gives an error about a probable packaging bug. ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. execute uninstall script ### ❌ Paste the full error output (if available). Don't have ### 🖼️ Additional context (optional). If you have the same issue, you can fix it and get debian upgrading again using ``` for override in $(grep netdata /var/lib/dpkg/statoverride | cut -f 4 -d ' '); do dpkg-statoverride --remove "${override}" done ``` From here [](https://github.com/netdata/netdata/issues/10061)
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 13, 2025):

Can not reproduce on any of my 5 nodes.

@michelroegl-brunner commented on GitHub (Jan 13, 2025): Can not reproduce on any of my 5 nodes.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#321