EMQX - update fails into error (cannot remove unknown package) #1694

Closed
opened 2026-02-05 01:59:01 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @CellarSoft on GitHub (Sep 29, 2025).

Have you read and understood the above guidelines?

yes

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

EMQX

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

update (from the LXC itself)

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve)

📝 Provide a clear and concise description of the issue.

the update fails to remove the existing emqx package

🔄 Steps to reproduce the issue.

just run 'update' from the LXC console

Paste the full error output (if available).

✔️ Stopped EMQX
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package emqx

[ERROR] in line 34: exit code 0: while executing command $STD apt-get remove --purge -y emqx

🖼️ Additional context (optional).

I found the package emqx-enterprise installed instead of emqx

apt list | grep emqx

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

emqx-enterprise/now 5.10.0 amd64 [installed,local]

Originally created by @CellarSoft on GitHub (Sep 29, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? EMQX ### 📂 What was the exact command used to execute the script? update (from the LXC itself) ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.0.10/deb1ca707ec72a89 (running kernel: 6.14.11-2-pve) ### 📝 Provide a clear and concise description of the issue. the update fails to remove the existing emqx package ### 🔄 Steps to reproduce the issue. just run 'update' from the LXC console ### ❌ Paste the full error output (if available). ✔️ Stopped EMQX Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package emqx [ERROR] in line 34: exit code 0: while executing command $STD apt-get remove --purge -y emqx ### 🖼️ Additional context (optional). I found the package emqx-enterprise installed instead of emqx apt list | grep emqx WARNING: apt does not have a stable CLI interface. Use with caution in scripts. emqx-enterprise/now 5.10.0 amd64 [installed,local]
OVERLORD added the bug label 2026-02-05 01:59:01 +03:00
Author
Owner

@MickLesk commented on GitHub (Sep 29, 2025):

They Changes many Things in Last months. You should read old Issues

https://github.com/community-scripts/ProxmoxVE/issues/5994
As example

@MickLesk commented on GitHub (Sep 29, 2025): They Changes many Things in Last months. You should read old Issues https://github.com/community-scripts/ProxmoxVE/issues/5994 As example
Author
Owner

@CellarSoft commented on GitHub (Sep 29, 2025):

They Changes many Things in Last months. You should read old Issues

#5994 As example

Thank you for your reply.
The solutions provided don't work

@CellarSoft commented on GitHub (Sep 29, 2025): > They Changes many Things in Last months. You should read old Issues > > [#5994](https://github.com/community-scripts/ProxmoxVE/issues/5994) As example Thank you for your reply. The solutions provided don't work
Author
Owner

@CellarSoft commented on GitHub (Oct 15, 2025):

Hello
I confirm that the new removal logic implemented in the script fixed the issue.
Thank you.

@CellarSoft commented on GitHub (Oct 15, 2025): Hello I confirm that the new removal logic implemented in the script fixed the issue. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1694