Upgrade from 16.0.6.655 to 16.0.7.1078 unmet dependencies problem.

Status
Not open for further replies.

drewt

Bronze Partner
Advanced Certified
Joined
Jul 18, 2011
Messages
129
Reaction score
27
I have 8 sim 16.0.6.655 hosted on lightsail, all working fine for busy auto body shop. For the last 2 days I have received failed upgrade notifications. I logged in today and ran upgrade manually so I could get email with log details. No reference to failed repositories, just an "unmet dependencies" error. Any help greatly appreciated!! Full log message posted below:

Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Hit:4 http://archive.repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch InRelease
Ign:5 http://cdn-aws.deb.debian.org/debian stretch InRelease
Hit:6 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease
Hit:7 http://cdn-aws.deb.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
3cxpbx : Depends: libfreeimage3 but it is not going to be installed
apt-utils : Depends: apt (= 1.4.9) but 1.4.10 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Rollback to 16.0.6.655...
Reading package lists...
Building dependency tree...
Reading state information...
3cxpbx is already the newest version (16.0.6.655).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt-utils : Depends: apt (= 1.4.9) but 1.4.10 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
When you say you ran the upgrade manually, do you mean from the management console or via SSH?
 
From the management console/web gui.
 
This usually happens if for some reason there are 'broken' Linux packages.
Important: As a first step I would recommend taking a Backup of your 3CX and downloading it to your local computer. When playing around with these things it's better just in case something goes wrong.

After that, you could try, via SSH:
Code:
sudo apt-get clean
sudo apt-get install -f
sudo dpkg --configure -a

After this, I would try to again trigger the update again manually via the 3CX Management Console.
 
In your original post your error states that apt is out of date.. why don't you try an
Code:
apt update -y && apt upgrade -y
?
It also says to try
Code:
apt --fix-broken install
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,990
Messages
590,161
Members
164,925
Latest member
batarong