Solved 4 3CX installs will not install v15.5 SP2 linux debian

Status
Not open for further replies.

BrenttG

Platinum Partner
Advanced Certified
Joined
Nov 17, 2017
Messages
912
Reaction score
586
We have 15 debian linux 3cx installs, and recently 4 of them are failing to update when we try to install SP2.

They email us the following error message:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Rollback to 15.5.3849.1...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

I ran this command on the local linux console logged in as root.
sudo dpkg --configure -a

This spit out some output that had errors in it, but the update still will not install.
Output from sudo dpkg --configure -a:
sudo dpkg --configure -a
Setting up wireshark-common (1.12.1+g01b65bf-4+deb8u11) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Configuring wireshark-common
----------------------------

Dumpcap can be installed in a way that allows members of the "wireshark" system
group to capture packets. This is recommended over the alternative of running
Wireshark/Tshark directly as root, because less of the code will run with
elevated privileges.

For more detailed information please see
/usr/share/doc/wireshark-common/README.Debian.

Enabling this feature may be a security risk, so it is disabled by default. If
in doubt, it is suggested to leave it disabled.

Should non-superusers be able to capture packets?
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111.
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN6> line 1.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 1.
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Setting up tshark (1.12.1+g01b65bf-4+deb8u11) ...

We had been told to install tshark previously by a 3cx support rep to troubleshoot call quality a while back so i suspect thats why that part is in there.

the command
sudo dpkg --configure -a
no longer gives any output now.
 
I was able to go through the auth logs and see what command 3cx tries to run to upgrade, and heres what i found.

/usr/bin/apt-get update -o Dir::Etc::sourcelist=sources.list.d/3cxpbx.list -o Dir::Etc::sourceparts=- -o APT::Get::List-Cleanup=0
Hit http://downloads.3cx.com InRelease
Hit http://downloads.3cx.com Packages
Ign http://downloads.3cx.com Translation-en
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
 
We found a way to fix the problem!

Reboot the machine fully, so file locks get released, 3cx web admin will still fail to update it after the reboot, but apt-get can run the update just fine we discovered, so do this in SSH, or on the linux console as root, if you cannot login as root, add sudo to the beginning(sudo apt-get......)

apt-get upgrade 3cxpbx

Hit Y to accept it,

It will pull the update and install it and restart the services automatically.

15 years of linux experience pays off
--Brentt @ DocTechAZ
 
If this doesnt work for you, try running
dpkg --configure -a
before hand, accepting or answering any questions it asks, then proceeding with my instructions above and all should be well.
 
Glad to see your issue was resolved and thank you for sharing the solution.
 
Glad to see your issue was resolved and thank you for sharing the solution.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,880
Messages
589,533
Members
164,733
Latest member
HLISolutions