apt-update 401 Unauthorized signalwire

Status
Not open for further replies.

dgxa

Member
May 19, 2021
38
2
8
33
Lima, Peru
Hello all I have this issue to update packate in my server with fusionpbx Deb11

apt-get update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease
Err:5 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye InRelease
401 Unauthorized [IP: 190.102.98.174 443]
Reading package lists... Done
E: Failed to fetch https://freeswitch.signalwire.com/repo/deb/debian-release/dists/bullseye/InRelease 401 Unauthorized [IP: 190.102.98.174 443]
E: The repository 'https://freeswitch.signalwire.com/repo/deb/debian-release bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I know the news about personal access token (https://freeswitch.org/confluence/display/FREESWITCH/HOWTO+Create+a+SignalWire+Personal+Access+Token) and follow it and the gpg file was downloaded in /usr/share/keyrings/signalwire-freeswitch-repo.gpg but the error persist
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,043
565
113
Did you do this bit:
Code:
echo "machine freeswitch.signalwire.com login signalwire password $TOKEN" > /etc/apt/auth.conf
 

dgxa

Member
May 19, 2021
38
2
8
33
Lima, Peru
My first error was no put access token in /usr/src/fusionpbx-install.sh/debian/resources/config.sh but when the fusionpbx install end the repository was not added to /etc/apt/sources.list.d/

Code:
apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease [86.7 kB]
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Get:5 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 Packages [240 kB]
Fetched 366 kB in 2s (172 kB/s)
Reading package lists... Done

ls /etc/apt/sources.list.d/
postgresql.list

time sh /usr/src/fusionpbx-install.sh/debian/resources/switch/repo.sh

ls /etc/apt/sources.list.d/
freeswitch.list  postgresql.list

apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease
Get:5 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye InRelease [3,764 B]
Get:6 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye/main Sources [4,355 B]
Get:7 https://freeswitch.signalwire.com/repo/deb/debian-release bullseye/main amd64 Packages [65.4 kB]
Fetched 73.5 kB in 5s (13.5 kB/s)
Reading package lists... Done

aptitude search freeswitch
p   freeswitch                                                          - Cross-Platform Scalable Multi-Protocol Soft Switch
p   freeswitch-all                                                      - Cross-Platform Scalable Multi-Protocol Soft Switch
p   freeswitch-all-dbg                                                  - debugging symbols for FreeSWITCH
p   freeswitch-conf-curl                                                - FreeSWITCH curl configuration
p   freeswitch-conf-insideout                                           - FreeSWITCH insideout configuration
p   freeswitch-conf-minimal                                             - FreeSWITCH minimal configuration

Thank you for your help
 
Last edited:
Status
Not open for further replies.