Hi,
Yes. I tried the commands but still it showed "cannot locate package 3cxpbx".
below are the sequence of the commands.
wget -O-
http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
--2020-05-15 08:18:20--
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
2020-05-15 08:18:20 (182 MB/s) - written to stdout [1179/1179]
OK
root@3CXPBX:/home/user# echo "deb
http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
deb
http://downloads-global.3cx.com/downloads/debian stretch main
root@3CXPBX:/home/user# apt-get update
Hit:1
http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Ign:2
http://deb.debian.org/debian stretch InRelease
Hit:3
http://downloads-global.3cx.com/downloads/debian stretch InRelease
Hit:4
http://deb.debian.org/debian stretch Release
Get:6
http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:7
http://ftp.de.debian.org/debian jessie InRelease
Ign:8
http://ftp.sg.debian.org/debian stretch InRelease
Hit:9
http://ftp.de.debian.org/debian jessie Release
Get:10
http://ftp.sg.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:12
http://ftp.sg.debian.org/debian stretch Release
Fetched 185 kB in 1s (141 kB/s)
Reading package lists... Done
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_SG) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en_SG) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:16 and /etc/apt/sources.list:20
root@3CXPBX:/home/user# apt-get install 3cxpbx
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 3cxpbx
Hi,
Suppose you only want to install the stable version, please try next steps:
Code:
wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" | tee /etc/apt/sources.list.d/3cxpbx.list
apt-get update
apt-get install 3cxpbx