Repository and License Key issues - STRETCH for 3CX

New to Debian (Or Linux in general)? Ask your questions here!

Repository and License Key issues - STRETCH for 3CX

Postby Jonners59 » 2020-02-03 09:02

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/downloads/debian/dists/stretch-testing/InRelease: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/downloads/debianstretch-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/stretch-updates/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/downloads/debian/dists/stretch/InRelease: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-security/dists/stretch/updates/InRelease: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/stretch/Release.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?
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01

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

Postby arochester » 2020-02-03 09:12

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/ ?
arochester
 
Posts: 1770
Joined: 2010-12-07 19:55

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

Postby Jonners59 » 2020-02-03 10:08

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
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01

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

Postby Chrisdb » 2020-02-03 11:58

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
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

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

Postby Jonners59 » 2020-02-03 12:58

Cheers
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01

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

Postby Jonners59 » 2020-02-03 19:33

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#
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01

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

Postby Chrisdb » 2020-02-04 07:38

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 -
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

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

Postby Jonners59 » 2020-02-04 10:04

ANy help, please, any one. Getting failures with this and no idea where to go and what to do, PLEASE
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01

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

Postby Chrisdb » 2020-02-04 13:23

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:
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

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

Postby Jonners59 » 2020-02-04 19:37

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

BRILLIANT. Worked a TREAT. THANK YOU, THANKYOU, THANKYOU!!!!!!!!!!!!!!
Jonners59
 
Posts: 6
Joined: 2019-04-21 10:01


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable