EQMX script fails to update to 5.10.0 #1285

Closed
opened 2026-02-05 00:10:40 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @kevdogg on GitHub (Jul 15, 2025).

Have you read and understood the above guidelines?

yes

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

EQMX

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/emqx.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

I have pretty much the exact same issue as described in this closed bug report:

https://github.com/community-scripts/ProxmoxVE/issues/5897

🔄 Steps to reproduce the issue.

Tried to update using usual method with the script.

Paste the full error output (if available).

Obtained following output:

  / ____/  |/  / __ \ | |/ /
  / __/ / /|_/ / / / / |   / 
 / /___/ /  / / /_/ / /   |  
/_____/_/  /_/\___\_\/_/|_|  
                             

  ✔️   Stopped EMQX
  ✔️   Downloaded EMQX
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'emqx-enterprise' instead of '/tmp/emqx-enterprise-5.10.0-debian12-amd64.deb'
The following additional packages will be installed:
  libodbc2
Suggested packages:
  odbc-postgresql tdsodbc
The following NEW packages will be installed:
  emqx-enterprise libodbc2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 150 kB/60.1 MB of archives.
After this operation, 114 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libodbc2 amd64 2.3.11-2+deb12u1 [150 kB]
Get:2 /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb emqx-enterprise amd64 5.10.0 [59.9 MB]
Fetched 150 kB in 0s (576 kB/s)
Selecting previously unselected package libodbc2:amd64.
(Reading database ... 28764 files and directories currently installed.)
Preparing to unpack .../libodbc2_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbc2:amd64 (2.3.11-2+deb12u1) ...
Selecting previously unselected package emqx-enterprise.
Preparing to unpack .../emqx-enterprise-5.10.0-debian12-amd64.deb ...
Unpacking emqx-enterprise (5.10.0) ...
dpkg: error processing archive /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb (--unpack):
 trying to overwrite '/etc/emqx/acl.conf', which is also in package emqx 5.8.6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

[ERROR] in line 39: exit code 0: while executing command $STD apt-get install -y "$DEB_FILE"

🖼️ Additional context (optional).

So based on prior thread - it talked about the /etc/emqx/acl.conf file. I backed up this file.

I'm confused about the solution that was finally suggested with this. It was listed as:

systemctl stop emqx
apt-get remove --purge -y emqx

update

I don't know what this means. The first 2 commands stops the emqx service and then removes emqx including the /etc/emqx directory. I then just typed update, but after this emqx wasn't installed at all. I also tried running the update script, but it didn't work either since emqx wasn't installed. I just ended up restoring from proxmox backup thank goodness and I'm here asking what needs to be done now.

Originally created by @kevdogg on GitHub (Jul 15, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? EQMX ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/emqx.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. I have pretty much the exact same issue as described in this closed bug report: https://github.com/community-scripts/ProxmoxVE/issues/5897 ### 🔄 Steps to reproduce the issue. Tried to update using usual method with the script. ### ❌ Paste the full error output (if available). Obtained following output: ``` / ____/ |/ / __ \ | |/ / / __/ / /|_/ / / / / | / / /___/ / / / /_/ / / | /_____/_/ /_/\___\_\/_/|_| ✔️ Stopped EMQX ✔️ Downloaded EMQX Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'emqx-enterprise' instead of '/tmp/emqx-enterprise-5.10.0-debian12-amd64.deb' The following additional packages will be installed: libodbc2 Suggested packages: odbc-postgresql tdsodbc The following NEW packages will be installed: emqx-enterprise libodbc2 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 150 kB/60.1 MB of archives. After this operation, 114 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 libodbc2 amd64 2.3.11-2+deb12u1 [150 kB] Get:2 /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb emqx-enterprise amd64 5.10.0 [59.9 MB] Fetched 150 kB in 0s (576 kB/s) Selecting previously unselected package libodbc2:amd64. (Reading database ... 28764 files and directories currently installed.) Preparing to unpack .../libodbc2_2.3.11-2+deb12u1_amd64.deb ... Unpacking libodbc2:amd64 (2.3.11-2+deb12u1) ... Selecting previously unselected package emqx-enterprise. Preparing to unpack .../emqx-enterprise-5.10.0-debian12-amd64.deb ... Unpacking emqx-enterprise (5.10.0) ... dpkg: error processing archive /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb (--unpack): trying to overwrite '/etc/emqx/acl.conf', which is also in package emqx 5.8.6 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [ERROR] in line 39: exit code 0: while executing command $STD apt-get install -y "$DEB_FILE" ``` ### 🖼️ Additional context (optional). So based on prior thread - it talked about the /etc/emqx/acl.conf file. I backed up this file. I'm confused about the solution that was finally suggested with this. It was listed as: ``` systemctl stop emqx apt-get remove --purge -y emqx update ``` I don't know what this means. The first 2 commands stops the emqx service and then removes emqx including the /etc/emqx directory. I then just typed update, but after this emqx wasn't installed at all. I also tried running the update script, but it didn't work either since emqx wasn't installed. I just ended up restoring from proxmox backup thank goodness and I'm here asking what needs to be done now.
OVERLORD added the bug label 2026-02-05 00:10:40 +03:00
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

You talking about purging and havnt any Logs?

@MickLesk commented on GitHub (Jul 15, 2025): You talking about purging and havnt any Logs?
Author
Owner

@kevdogg commented on GitHub (Jul 15, 2025):

I'm not sure what you're asking, once I apt-get remove --purge -y emqx the entire /etc/emqx directory is blown away. There are not any logs. What can I post here to help, I'm not sure what I'm supposed to do? I ran the script manually. I'm not sure it's a problem with the script per se however am I supposed to save the acl.conf file to a different location -- install new version and then manually copy back? Is this what this error is telling me??:

dpkg: error processing archive /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb (--unpack):
 trying to overwrite '/etc/emqx/acl.conf', which is also in package emqx 5.8.6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
@kevdogg commented on GitHub (Jul 15, 2025): I'm not sure what you're asking, once I apt-get remove --purge -y emqx the entire /etc/emqx directory is blown away. There are not any logs. What can I post here to help, I'm not sure what I'm supposed to do? I ran the script manually. I'm not sure it's a problem with the script per se however am I supposed to save the acl.conf file to a different location -- install new version and then manually copy back? Is this what this error is telling me??: ``` dpkg: error processing archive /tmp/emqx-enterprise-5.10.0-debian12-amd64.deb (--unpack): trying to overwrite '/etc/emqx/acl.conf', which is also in package emqx 5.8.6 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) ```
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

If you purge the Install, so you dont have the acl issue

@MickLesk commented on GitHub (Jul 15, 2025): If you purge the Install, so you dont have the acl issue
Author
Owner

@kevdogg commented on GitHub (Jul 15, 2025):

But if I purge the install, aren't I left with nothing and just need to basically reinstall everything? And then my acl file (which it's an entire 4 line custom file) would need to be recreated?

@kevdogg commented on GitHub (Jul 15, 2025): But if I purge the install, aren't I left with nothing and just need to basically reinstall everything? And then my acl file (which it's an entire 4 line custom file) would need to be recreated?
Author
Owner

@MickLesk commented on GitHub (Jul 15, 2025):

Yes. You can report this to emqx - this is not our topic, why the .deb file does not work properly.

@MickLesk commented on GitHub (Jul 15, 2025): Yes. You can report this to emqx - this is not our topic, why the .deb file does not work properly.
Author
Owner

@kevdogg commented on GitHub (Jul 16, 2025):

I'm linking this discussion to the EMQX github for reference for this issue:
https://github.com/emqx/emqx/discussions/15513

@kevdogg commented on GitHub (Jul 16, 2025): I'm linking this discussion to the EMQX github for reference for this issue: https://github.com/emqx/emqx/discussions/15513
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1285