Solved HA Cluster Install Failure on Raspbian Buster - 'stable' to 'oldstable' Repository Issue

Status
Not open for further replies.

Gavino

Customer
Joined
Jul 24, 2021
Messages
41
Reaction score
16
HA installation on Raspbian Buster currently fails after step (2) when choosing "Yes" to the question "Would you like to create an SBC HA cluster?" (note that if you don't create a cluster, everything completes and works fine).

EDIT: I did follow this guide for the initial SBC install, substituting that for the step 1 in the HA installation URL above.

The key outputs from my SSH terminal screen are:
Bash:
<<SNIP>>
warning: 3cxsbc service is running, will stop it now!
Hit:1 http://downloads-global.3cx.com/downloads/debian buster-testing InRelease
Hit:2 http://downloads-global.3cx.com/downloads/debian buster InRelease                                          
Get:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]                                        
Get:4 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [393 kB]
Reading package lists... Done  
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
<<SNIP>>
error: Some of prerequisites are not present. Make sure your /etc/apt/sources.list is valid.
root@xysbc01:~/downloads#

Whether right or wrong, I solved this by first running "sudo apt-get update --allow-releaseinfo-change" and then trying again.

I've added this just to help future surfers. Please mark this as "Solved" if this is the correct approach. If there is a better way to solve this then please elaborate below. Also 3CX'ers - please update online docs accordingly. Cheers.
 

Attachments

Last edited:
Hi @Gavino,

I've done a clean install and got the same message but it didn't stop me from installing to completion. Thanks for updating me, if you run into any other installs that kick back this error, let me know.
 
Hi @VasilisV_3CX thanks for testing - that's interesting. When the HA install failed, it wasn't until about a week later that I revisited the issue and found the "sudo apt-get update --allow-releaseinfo-change" command. Maybe it was just timing, and the "404 Not Found" issues were unrelated to the 'stable' to 'oldstable' explicit acceptance. Anyway it's good to know it's working, regardless of the "oldstable" acceptance.
 
  • Like
Reactions: VasilisV_3CX
Hi @Gavino,

That's true, could have been down to bad timing. If it happens again, feel free to PM me or to open a new thread. Will close this one as solved for now.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet