Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Repository and License Key issues - STRETCH for 3CX

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Repository and License Key issues - STRETCH for 3CX

#1 Post by Jonners59 »

Dear all
I am using Debian STRETCH (Debian 9.9) on a virtual machine to run 3CX IP-PBX. After it's upgrade it now gets errors when I

Code: Select all

sudo apt-get update
.

Here are the errors:
Get:1http://ftp.uk.debian.org/debian stretch InRelease
Get:2http://downloads-global.3cx.com/downloads/debian stretch-testingInRelease [8,917 B]
Hit:3http://ftp.uk.debian.org/debian stretch-updates InRelease
Get:4http://downloads-global.3cx.com/downloads/debian stretch InRelease[8,890 B]
Hit:5http://security.debian.org/debian-security stretch/updates InRelease
Hit:6http://ftp.uk.debian.org/debian stretch Release
Ign:2http://downloads-global.3cx.com/downloads/debian stretch-testingInRelease
Ign:4http://downloads-global.3cx.com/downloads/debian stretch InRelease
Fetched17.8 kB in 1s (16.8 kB/s)
Readingpackage lists... Done
W:http://downloads-global.3cx.com/downloa ... elease:The key(s) in the keyring /etc/apt/trusted.gpg are ignored as thefile is not readable by user '_apt' executing apt-key.
W:GPG error: http://downloads-global.3cx.com/downloa ... ch-testing InRelease: The following signatures couldn't beverified because the public key is not available: NO_PUBKEYD34B9BFD90503A6B
W:The repository 'http://downloads-global.3cx.com/downloa ... ch-testing InRelease' is not signed.
N:Data from such a repository can't be authenticated and is thereforepotentially dangerous to use.
N:See apt-secure(8) manpage for repository creation and userconfiguration details.
W:http://ftp.uk.debian.org/debian/dists/s ... /InRelease: Thekey(s) in the keyring /etc/apt/trusted.gpg are ignored as the file isnot readable by user '_apt' executing apt-key.
W:http://downloads-global.3cx.com/downloa ... elease:The key(s) in the keyring /etc/apt/trusted.gpg are ignored as thefile is not readable by user '_apt' executing apt-key.
W:GPG error: http://downloads-global.3cx.com/downloads/debian stretchInRelease: The following signatures couldn't be verified because thepublic key is not available: NO_PUBKEY D34B9BFD90503A6B
W:The repository 'http://downloads-global.3cx.com/downloads/debianstretch InRelease' is not signed.
N:Data from such a repository can't be authenticated and is thereforepotentially dangerous to use.
N:See apt-secure(8) manpage for repository creation and userconfiguration details.
W:http://security.debian.org/debian-secur ... elease:The key(s) in the keyring /etc/apt/trusted.gpg are ignored as thefile is not readable by user '_apt' executing apt-key.
W:http://ftp.uk.debian.org/debian/dists/s ... elease.gpg: The key(s)in the keyring /etc/apt/trusted.gpg are ignored as the file is notreadable by user '_apt' executing apt-key.
Any ideas for a fix, please?

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Repository and License Key issues - STRETCH for 3CX

#2 Post by arochester »

When you click on the blue links you have given it says "Server Error".

Have you followed https://www.3cx.com/docs/manual/installation-linux/ ?

Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Re: Repository and License Key issues - STRETCH for 3CX

#3 Post by Jonners59 »

Thank you, yes. Makes no changes. I am going to give it another go. I copy and pasted every post and article I have found in to a doc and then cleaned out all the duplicates etc so now have a simple set of instructions. It MIGHT make a difference.

Question. Is this pasted as is into the terminal or line by line...

Code: Select all

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add -
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list
echo "deb http://downloads-global.3cx.com/downloads/debian stretch-testing main" | sudo tee /etc/apt/sources.list.d/3cxpbx-testing.list

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Repository and License Key issues - STRETCH for 3CX

#4 Post by Chrisdb »

Jonners59 wrote:Question. Is this pasted as is into the terminal or line by line...

Code: Select all

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add -
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list
echo "deb http://downloads-global.3cx.com/downloads/debian stretch-testing main" | sudo tee /etc/apt/sources.list.d/3cxpbx-testing.list
Treat them as 3 separate lines.

The first one copies the so called 'standard input' (here the output of command wget before the 'pipe'), to the command 'apt-key add'
The last two just add text to the respective files

Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Re: Repository and License Key issues - STRETCH for 3CX

#5 Post by Jonners59 »

Cheers

Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Re: Repository and License Key issues - STRETCH for 3CX

#6 Post by Jonners59 »

I am getting errors... run as root

Code: Select all

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add -
--2019-05-05 02:28:16--  http://downloads-global.3cx.com/downloads/3cxpbx/public.key
Resolving downloads-global.3cx.com (downloads-global.3cx.com)... 35.201.76.132
Connecting to downloads-global.3cx.com (downloads-global.3cx.com)|35.201.76.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1179 (1.2K) [application/octet-stream]
Saving to: ‘STDOUT’

-                   100%[===================>]   1.15K  --.-KB/s    in 0s      

2019-05-05 02:28:16 (31.4 MB/s) - written to stdout [1179/1179]

[color=#FF4000]gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0[/color]

Code: Select all

echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | sudo tee /etc/apt/sources.list.d/3cxpbx.list
deb http://downloads-global.3cx.com/downloads/debian stretch main
root@deb3cx:/home/administration/Desktop# 

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Repository and License Key issues - STRETCH for 3CX

#7 Post by Chrisdb »

The following:

Code: Select all

wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add -
works for me.

Which command did you run exactly?

**EDIT:
After a closer look it seems your keyring is having problems

Try the following:

Code: Select all

sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.orig
wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | sudo apt-key add -

Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Re: Repository and License Key issues - STRETCH for 3CX

#8 Post by Jonners59 »

ANy help, please, any one. Getting failures with this and no idea where to go and what to do, PLEASE

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Repository and License Key issues - STRETCH for 3CX

#9 Post by Chrisdb »

Jonners59 wrote:ANy help, please, any one. Getting failures with this and no idea where to go and what to do, PLEASE
Did you have a look at my previous post??? :roll:

Jonners59
Posts: 14
Joined: 2019-04-21 10:01
Has thanked: 1 time

Re: Repository and License Key issues - STRETCH for 3CX

#10 Post by Jonners59 »

sorry I missed it. will try and revert...

BRILLIANT. Worked a TREAT. THANK YOU, THANKYOU, THANKYOU!!!!!!!!!!!!!!

Post Reply