Solved Unable to locate package 3cxpbx

Status
Not open for further replies.

imanh

Joined
Jul 31, 2017
Messages
13
Reaction score
1
hi
i just want to install 3cx server on " Orangepi PC" on "Debian 8".When i enter this command "apt-get install 3cxpbx"
i get this error
"
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 3cxpbx


I googled and came with no answer. please help me
thanks
 
Hi
thanks for replay
i have already tried that method and all of the 3 commands work but the last command("apt-get install 3cxpbx") did not work and returned me the error
"E: Unable to locate package 3cxpbx"
i dont know what to do .... plz help me out
 
Hi Imanh,

Is the Orangepi running Debian 8 64 Bit?
 
That error indicates your server does not have the correct sources list, here is a fix.

sudo nano /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 $

#deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 2$

deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main
hi
thanks for the replay. you mean i should delete the whole text in sources.list and replace them with the script you provided ??
 
Hi Imanh,

Is the Orangepi running Debian 8 64 Bit?
Hi
thanks for replay . i think so but i am not sure. is there anyway to know that ???
 
Some of of that may be in the file, but just put it in the file, then

sudo apt-get update
sudo wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key | apt-key add -
sudo echo "deb http://downloads.3cx.com/downloads/3cxpbx/ /" | tee /etc/apt/sources.list.d/3cxpbx.list
sudo apt-get install 3cxpbx
Hi
thanks for advancement . I tried all you said but still got that error ( E: Unable to locate package 3cxpbx) :(( . I also pasted the text that after entering "sudo apt-get install 3cxpbx" command the machine replies me. i figured out that i get some errors . i just marked them with red. is it related to my problem

root@OrangePI:~# sudo apt-get update
Hit http://downloads.3cx.com InRelease
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://downloads.3cx.com Packages [1,353 B]
Ign http://ppa.launchpad.net jessie InRelease
Ign http://ppa.launchpad.net jessie Release.gpg
Ign http://ppa.launchpad.net jessie Release
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main armhf Packages
Ign http://downloads.3cx.com Translation-en_US
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://downloads.3cx.com Translation-en
Err http://ppa.launchpad.net jessie/main Sources
404 Not Found
Get:2 http://debian.mirrors.ovh.net jessie-updates InRelease [145 kB]
Err http://ppa.launchpad.net jessie/main armhf Packages
404 Not Found
Ign http://ppa.launchpad.net jessie/main Translation-en_US
Ign http://ppa.launchpad.net jessie/main Translation-en
Get:3 http://debian.mirrors.ovh.net jessie-backports InRelease [166 kB]
Ign http://debian.mirrors.ovh.net jessie InRelease
Get:4 http://debian.mirrors.ovh.net jessie-updates/main Sources [15.7 kB]
Get:5 http://debian.mirrors.ovh.net jessie-updates/main armhf Packages/DiffIndex [8,392 B]
Get:6 http://debian.mirrors.ovh.net jessie-updates/main Translation-en/DiffIndex [3,196 B]
Get:7 http://debian.mirrors.ovh.net jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:8 http://debian.mirrors.ovh.net jessie-backports/main armhf Packages/DiffIndex
Get:9 http://debian.mirrors.ovh.net jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:10 http://debian.mirrors.ovh.net jessie Release.gpg [2,373 B]
Get:11 http://debian.mirrors.ovh.net jessie Release [148 kB]
Get:12 http://debian.mirrors.ovh.net jessie/main Sources [7,054 kB]
Get:13 http://debian.mirrors.ovh.net jessie/contrib Sources [50.4 kB]
Get:14 http://debian.mirrors.ovh.net jessie/non-free Sources [99.5 kB]
Get:15 http://debian.mirrors.ovh.net jessie/main armhf Packages
Get:16 http://debian.mirrors.ovh.net jessie/contrib armhf Packages [37.8 kB]
Get:17 http://debian.mirrors.ovh.net jessie/non-free armhf Packages [62.5 kB]
Get:18 http://debian.mirrors.ovh.net jessie/contrib Translation-en [38.3 kB]
Get:19 http://debian.mirrors.ovh.net jessie/main Translation-en [4,582 kB]
Get:20 http://debian.mirrors.ovh.net jessie/non-free Translation-en [72.1 kB]
Fetched 19.2 MB in 60s (318 kB/s)
W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/jessie/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/jessie/main/binary-armhf/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Hi,

From the command line type the following;

arch

The arch command will display the system architecture of the OrangePI

Also the following command will give us some more detail.

uname -a

You should see something like this printed to the screen.

Linux [servername] 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2014 GNU/Linux

Let me know how you get on and I will try and assist you where I can.

Kind Regards,
Tom
 
  • Like
Reactions: imanh
I see you are logged in as root You do not use sudo
root@OrangePI:~# apt-get update. Looks like you may have a bad install of debian or the wrong version for 3cx,

https://www.lowendguide.com/1/using-linux/find-your-debian-version-the-command-line-way/

I am not sure what else to do at this point.
I used both "apt-get update" and "sudo apt-get update" both returned me the same result . the version is 8.1 . here are the terminal reports:

root@OrangePI:~# cat /etc/debian_version
8.1

and

root@OrangePI:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.1 (jessie)
Release: 8.1
Codename: jessie

and

root@OrangePI:~# uname -a
Linux OrangePI 3.4.39 #1 SMP PREEMPT Mon Oct 12 12:02:29 CEST 2015 armv7l GNU/Linux

and

root@OrangePI:~# arch
armv7l

please help me with this.... thanks
 
Hi,

From the command line type the following;

arch

The arch command will display the system architecture of the OrangePI

Also the following command will give us some more detail.

uname -a

You should see something like this printed to the screen.

Linux [servername] 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2014 GNU/Linux

Let me know how you get on and I will try and assist you where I can.

Kind Regards,
Tom
i have posted the results on the above post. thanks for helping me ...
 
I assume 3CX is x86 and so will not run on ARM.
 
Hi imanh,

I am running 3CX on a Rasberry PI on Debian so the same should be true for the Orange PI.

I can't remember if I had to make any changes to the system to get this to work but I will build a new one tonight and post again later letting you know the outcome. For as long as the ARM process that is in the OragnePI support X64 (Has a x64 architecture) then you should be good to install the Debian x64 OS from the Debian Web Site.

I will post back a soon as I can with an update.

Kind Regards,
 
Hi imanh,

I am running 3CX on a Rasberry PI on Debian so the same should be true for the Orange PI.

I can't remember if I had to make any changes to the system to get this to work but I will build a new one tonight and post again later letting you know the outcome. For as long as the ARM process that is in the OragnePI support X64 (Has a x64 architecture) then you should be good to install the Debian x64 OS from the Debian Web Site.

I will post back a soon as I can with an update.

Kind Regards,
Hi my friend thanks for replying me. Would you please let me know what version of debian are you running? (From the commands above) and what links are in your sources.list file?? Maybe my links are corrupted
Best of King regards
 
Hi Imanh,

I have found out what it was that I did to get it running and why I abandoned it as a project.

As it is an ARM64 Processor, I installed Debian 8 x64 on a VM and then moved the image to a SD Card. The system booted and ran for a bit but unfortunately the Debian Install crashed to often for it to even be usable.

3CX Requires Debian 8 Jessie x64. It will not run on ARM or X86 Processors.

I may start this project up again in the future but at the moment I have too much going on to spend anymore time on it.

Sorry I haven't be much help on this topic. If I come up with a working solution in the future then I will post it here.

Kind Regards,
 
Hi Imanh,

I have found out what it was that I did to get it running and why I abandoned it as a project.

As it is an ARM64 Processor, I installed Debian 8 x64 on a VM and then moved the image to a SD Card. The system booted and ran for a bit but unfortunately the Debian Install crashed to often for it to even be usable.

3CX Requires Debian 8 Jessie x64. It will not run on ARM or X86 Processors.

I may start this project up again in the future but at the moment I have too much going on to spend anymore time on it.

Sorry I haven't be much help on this topic. If I come up with a working solution in the future then I will post it here.

Kind Regards,


Hi friends thanks for replying me. Is there any alternative to 3cx that I can run my voip server on it without static ip?? I wish I could do something to lower the cost of my cellphone bill... I am waiting for your kind helo
 
anyhelp please? thanks
 
you can run it in google cloud - for what you try to do the always free tier seems to be a good solution...
 
  • Like
Reactions: imanh
you can run it in google cloud - for what you try to do the always free tier seems to be a good solution...
hi
thanks for the replay !
my problem is that the voip service that i use is only available when i connect to it within the specific ISP and my ip is within the ip range of the isp.(it wont work on google cloud though cuz of limitations) . it is good to see a staff here, most of the mini pcs are in 32bit , why a big and famous company like 3cx wont develop its program for 32bit pcs ? thanks for the help
 
hi
thanks for the replay !
my problem is that the voip service that i use is only available when i connect to it within the specific ISP and my ip is within the ip range of the isp.(it wont work on google cloud though cuz of limitations) . it is good to see a staff here, most of the mini pcs are in 32bit , why a big and famous company like 3cx wont develop its program for 32bit pcs ? thanks for the help

I appreciate your restrictions but ideally it would be great for you to be able to register your SIP trunk in the cloud if your provider can allow that PBX's IP.

Alternatively, if you really can't be in the cloud, you should look into 3CX on a mini PC. Mini PCs are true multicore 64bit systems. We like these systems a lot as they are specification flexible to suit PBX sizing, they are very reasonably priced and most importantly they are reliable platforms for 3CX to run on. Based on your circumstances perhaps this would be the ideal solution for you.
 
  • Like
Reactions: imanh
I appreciate your restrictions but ideally it would be great for you to be able to register your SIP trunk in the cloud if your provider can allow that PBX's IP.

Alternatively, if you really can't be in the cloud, you should look into 3CX on a mini PC. Mini PCs are true multicore 64bit systems. We like these systems a lot as they are specification flexible to suit PBX sizing, they are very reasonably priced and most importantly they are reliable platforms for 3CX to run on. Based on your circumstances perhaps this would be the ideal solution for you.
Hi and thanks again
If there were no restrictions cloud was the best solution but it is not possible. My mini pc is "orangepi pc" that it's cpu is in 32 bit architecture and 3cx can't support it. Any other way? Any previous 3cx version that can support x32?? Thanks
 
Status
Not open for further replies.