Lightsail fresh install fails to update

Status
Not open for further replies.

dynam1c

Customer
Joined
Aug 28, 2015
Messages
15
Reaction score
5
Hi All,
I have had a look here and I am not able to see an answer. Hopefully this is easy.
I did a fresh install of 3CX on lightsail on Dec 20 and straight away it says it is failing to update and has not done so over the holidays so I am investigating.
There are a couple of things that dont line up and I am having trouble deciding if this is a 3CX issue or a lightsail issue.

One line says 3cxpbx is already the newest version (16.0.3.676)
The latest version is 16.0.4.493
The install was just before we left for the christmas break and according to this https://www.3cx.com/blog/change-log/phone-system-change-log/ 16.0.3.676 is an October build, no big deal really, it should just update.

I have another 3CX install, done the same way and on the same lightsail server type and it is updating just fine.

I am not a linux guru and anything like this scares me.

There are some linux commands in the error report so part of me thinks this is a linux update error.

I have thought about upgrading the install from the $3.50 / month to the $5.00 / Month but the other one we have is working fine on the $3.50 per month server.

Anyway if you could please make some suggestions and please remember I am not a linux guru so you may have to spell it out for me.

Regards
John
Auckland, New Zealand.
 

Attachments

Did you try 'apt --fix-broken install' as it suggests?
 
I have just tried now. As I said I dont know Linux very well.

admin@ip-172-26-3-xxx:~$ 'apt --fix-broken install'
-bash: apt --fix-broken install: command not found

admin@ip-172-26-3-xxx:~$ apt --fix-broken install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

I dont know if I need the ' or not so tried both.

John
 
You should use sudo before the command:

sudo apt --fix-broken install
 
You should use sudo before the command:

sudo apt --fix-broken install
Thank you for that - I did say that I did not know a lot about linux.
The command has run and given the following.

admin@ip-172-26-2-xxx:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
apt-utils
The following packages will be upgraded:
apt-utils
1 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
1 not fully installed or removed.
Need to get 0 B/410 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 42536 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.4.9_amd64.deb ...
Unpacking apt-utils (1.4.9) over (1.4.8) ...
Setting up libapt-inst2.0:amd64 (1.4.9) ...
Setting up apt-utils (1.4.9) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
admin@ip-172-26-2-xxx:~$

Fingers crossed this does the business. I wont know until 1.30am NZDST as that is when the updates are scheduled for. Currently 8.37 NZDST so I will post tomorrow.

John
 
@Zol, thank you so much, that was the answer, the software has updated to the latest version overnight.

This case can now be closed. I have made notes in case it happens next time.

I think I should also find the book called "linux for dunnies"
 
  • Like
Reactions: Zol
Status
Not open for further replies.

Forum statistics

Threads
111,935
Messages
589,823
Members
164,816
Latest member
natedog