Can't find Asterisk 20?

Hi there,

I try to upgrade Asterisk to version 20 using asterisk-version-switch, but it can’t find it.

[root@freepbx ~]# asterisk-version-switch

        Current version:  Asterisk 19.6.0 is running

        (LTS) = Long Term Support | (EOL) = End of Life | (S) = Standard

        Press 1 for  Asterisk 13 (EOL)
        Press 2 for  Asterisk 13 Certified (EOL)
        Press 3 for  Asterisk 15 (EOL)
        Press 4 for  Asterisk 16 (EOL)
        Press 5 for  Asterisk 16 Certified (EOL)
        Press 6 for  Asterisk 17 (EOL)
        Press 7 for  Asterisk 18 (LTS)
        Press 8 for  Asterisk 18 Certified (LTS)
        Press 9 for  Asterisk 19 (EOL)
        Press 0 for  Asterisk 20 (LTS)

        Press q to exit and not change your Asterisk Version

This action below will cause Asterisk to stop and all calls in progress will be terminated

Please, select the Asterisk Version to change to : 0

Selected Asterisk 20. Confirm (y/N)? y

You picked asterisk20 - clearing yum cache

Loaded plugins: fastestmirror, versionlock
Cleaning repos: sng-base sng-epel sng-extras sng-pkgs sng-sng7php74 sng-updates
Cleaning up list of fastest mirrors
Other repos take up 776 M of disk space (use --verbose for details)

Switching to asterisk20


DPMA yes
Loaded plugins: fastestmirror, versionlock
> > Determining fastest mirrors
sng-base                                                 | 3.6 kB     00:00
sng-epel                                                 | 2.9 kB     00:00
sng-extras                                               | 2.9 kB     00:00
sng-pkgs                                                 | 3.4 kB     00:00
sng-sng7php74                                            | 3.4 kB     00:00
sng-updates                                              | 2.9 kB     00:00
(1/7): sng-base/7-8.2003.5.el7.sangoma/x86_64/group_gz     | 153 kB   00:00
(2/7): sng-sng7php74/7-8.2003.5.el7.sangoma/x86_64/primary | 123 kB   00:00
(3/7): sng-extras/7-8.2003.5.el7.sangoma/x86_64/primary_db | 206 kB   00:00
(4/7): sng-base/7-8.2003.5.el7.sangoma/x86_64/primary_db   | 6.1 MB   00:00
(5/7): sng-pkgs/7-8.2003.5.el7.sangoma/x86_64/primary_db   | 1.3 MB   00:00
(6/7): sng-updates/7-8.2003.5.el7.sangoma/x86_64/primary_d | 4.5 MB   00:00
(7/7): sng-epel/7-8.2003.5.el7.sangoma/x86_64/primary_db   | 7.3 MB   00:01
No package asterisk20-20* available.
No package asterisk20-addons-20* available.
No package asterisk20-addons-bluetooth-20* available.
No package asterisk20-addons-core-20* available.
No package asterisk20-addons-mysql-20* available.
No package asterisk20-addons-ooh323-20* available.
No package asterisk20-core-20* available.
> No package asterisk20-curl-20* available.
No package asterisk20-dahdi-20* available.
No package asterisk20-doc-20* available.
No package asterisk20-flite available.
No package asterisk20-odbc-20* available.
No package asterisk20-voicemail-20* available.
No package asterisk20-resample-20* available.
> No package asterisk20-ogg available.
No package asterisk20-g729* available.
No package asterisk20-res_digium_phone available.
No package asterisk20.*-freepbx_asterisk_modules* available.
> > Package sangoma-pbx16-2208-2.sng7.noarch already installed and latest version
> --> Running transaction check
---> Package asterisk19.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-addons.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-addons-bluetooth.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-addons-core.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-addons-mysql.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-addons-ooh323.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-core.x86_64 0:19.6.0-1.sng7 will be erased
--> Processing Dependency: asterisk-core for package: freepbx16-16.1-1.sng7.x86_64
---> Package asterisk19-curl.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-dahdi.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-doc.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-flite.x86_64 0:2.4-2_2505af1.sng7 will be erased
---> Package asterisk19-g729.x86_64 0:2002-7.sng7 will be erased
---> Package asterisk19-odbc.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-ogg.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-res_digium_phone.x86_64 0:3.6.6-1.sng7 will be erased
---> Package asterisk19-resample.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19-voicemail.x86_64 0:19.6.0-1.sng7 will be erased
---> Package asterisk19.0-freepbx_asterisk_modules.x86_64 0:1.0-0.sng7 will be erased
---> Package jansson.x86_64 0:2.10-1.el7 will be reinstalled
---> Package jansson-devel.x86_64 0:2.10-1.el7 will be reinstalled
---> Package jansson-devel-doc.noarch 0:2.10-1.el7 will be reinstalled
--> Running transaction check
---> Package freepbx16.x86_64 0:16.1-1.sng7 will be erased
--> Processing Dependency: freepbx16 for package: sangoma-pbx16-2208-2.sng7.noarch
--> Processing Dependency: freepbx16 for package: sangoma-pbx16-2208-2.sng7.noarch
--> Running transaction check
---> Package sangoma-pbx16.noarch 0:2208-2.sng7 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx16", which is protected
> --> Running transaction check
--> Finished Dependency Resolution
Error: Trying to remove "sangoma-pbx16", which is protected
> Leaving Shell

asterisk20 installation had an issue and was NOT completed

Review the console logs and resolve the RPM conflicts first,
then rerun this script to try again.

[root@freepbx ~]#

Can you guys tell me what’s wrong here?
Does connect to the internet successfully, configured DNS servers are working

Asterisk 20 is still in the testing repos, so attempting to install without having the sangoma-devel16 repo enabled will fail. There are still some issues that are being worked on, until then I recommend you stick to Asterisk 18.

[merged this post with related thread - mod]

Switching to asterisk20

DPMA no
Loaded plugins: fastestmirror, versionlock

Determining fastest mirrors
nextdns/signature | 659 B 00:00:00
nextdns/signature | 3.0 kB 00:00:00 !!!
sng-base | 3.6 kB 00:00:00
sng-epel | 2.9 kB 00:00:00
sng-extras | 2.9 kB 00:00:00
sng-pkgs | 3.4 kB 00:00:00
sng-sng7php74 | 3.4 kB 00:00:00
sng-updates | 2.9 kB 00:00:00
(1/8): sng-base/7-8.2003.5.el7.sangoma/x86_64/group_gz | 153 kB 00:00:00
(2/8): sng-extras/7-8.2003.5.el7.sangoma/x86_64/primary_db | 206 kB 00:00:00
(3/8): nextdns/primary_db | 2.3 kB 00:00:00
(4/8): sng-sng7php74/7-8.2003.5.el7.sangoma/x86_64/primary_db | 123 kB 00:00:00
(5/8): sng-pkgs/7-8.2003.5.el7.sangoma/x86_64/primary_db | 1.3 MB 00:00:00
(6/8): sng-updates/7-8.2003.5.el7.sangoma/x86_64/primary_db | 4.5 MB 00:00:01
(7/8): sng-base/7-8.2003.5.el7.sangoma/x86_64/primary_db | 6.1 MB 00:00:01
(8/8): sng-epel/7-8.2003.5.el7.sangoma/x86_64/primary_db | 7.3 MB 00:00:01
No package asterisk20-20* available.
No package asterisk20-addons-20* available.
No package asterisk20-addons-bluetooth-20* available.
No package asterisk20-addons-core-20* available.
No package asterisk20-addons-mysql-20* available.
No package asterisk20-addons-ooh323-20* available.
No package asterisk20-core-20* available.
No package asterisk20-curl-20* available.
No package asterisk20-dahdi-20* available.
No package asterisk20-doc-20* available.
No package asterisk20-flite available.
No package asterisk20-odbc-20* available.
No package asterisk20-voicemail-20* available.
No package asterisk20-resample-20* available.
No package asterisk20-ogg available.
No package asterisk20-g729* available.
No package asterisk20.-freepbx_asterisk_modules available.
Package sangoma-pbx16-2208-2.sng7.noarch already installed and latest version
→ Running transaction check
—> Package asterisk18cert.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-addons.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-addons-bluetooth.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-addons-core.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-addons-mysql.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-addons-ooh323.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-core.x86_64 0:18.9.2-1.sng7 will be erased
→ Processing Dependency: asterisk-core for package: freepbx16-16.1-1.sng7.x86_64
—> Package asterisk18cert-curl.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-dahdi.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-doc.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-flite.x86_64 0:2.4-2_2505af1.sng7 will be erased
—> Package asterisk18cert-freepbx_asterisk_modules.x86_64 0:1.0-1.sng7 will be erased
—> Package asterisk18cert-g729.x86_64 0:2002-7.sng7 will be erased
—> Package asterisk18cert-odbc.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-ogg.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-resample.x86_64 0:18.9.2-1.sng7 will be erased
—> Package asterisk18cert-voicemail.x86_64 0:18.9.2-1.sng7 will be erased
—> Package jansson.x86_64 0:2.10-1.el7 will be reinstalled
—> Package jansson-devel.x86_64 0:2.10-1.el7 will be reinstalled
—> Package jansson-devel-doc.noarch 0:2.10-1.el7 will be reinstalled
→ Running transaction check
—> Package freepbx16.x86_64 0:16.1-1.sng7 will be erased
→ Processing Dependency: freepbx16 for package: sangoma-pbx16-2208-2.sng7.noarch
→ Processing Dependency: freepbx16 for package: sangoma-pbx16-2208-2.sng7.noarch
→ Running transaction check
—> Package sangoma-pbx16.noarch 0:2208-2.sng7 will be erased
→ Finished Dependency Resolution
Error: Trying to remove “sangoma-pbx16”, which is protected
→ Running transaction check
→ Finished Dependency Resolution
Error: Trying to remove “sangoma-pbx16”, which is protected
Leaving Shell

asterisk20 installation had an issue and was NOT completed

Please read Lorne’s comment above.

Ok, thanks for the info, will try again later

OK, staying with 18

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.