dOpensource / dsiprouter

UI Interface for implementing Kamailio to provide PBX Hosting and SIP Trunking Services
https://dsiprouter.org
Apache License 2.0
194 stars 103 forks source link

[BUG] dSIPRouter installation fails on specific IP address #529

Open showf68 opened 1 year ago

showf68 commented 1 year ago

Describe the bug I am trying to install dSIPRouter on my Debian server. I can install it without any problems on other IP addresses, but when I try to install it on the IP address I need, it fails with the error message "kamailio installation failed". I am wondering if my IP address is blacklisted.

Additional context I have tried to install dSIPRouter on the IP address in question multiple times, but I have always gotten the same error message. I am not sure why my IP address would be blacklisted, but I am wondering if that is the reason why the installation is failing.

I would appreciate any help you can provide in resolving this issue.

Thank you.

Please let me know if you have any other questions.

devopsec commented 11 months ago

could you post the install script output for review?

showf68 commented 11 months ago

this is my installation command

apt update && apt install -y git zip unzip gt5 cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install

and the is the error

Attempting to install Kamailio... update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in manual mode Reading package lists... Done Building dependency tree Reading state information... Done dpkg is already the newest version (1.19.8). gawk is already the newest version (1:4.2.1+dfsg-1). logrotate is already the newest version (3.14.0-4). pkg-config is already the newest version (0.29-6). rsyslog is already the newest version (8.1901.0-1+deb10u2). sed is already the newest version (4.7-1). tar is already the newest version (1.30+dfsg-6). uuid-runtime is already the newest version (2.33.1-0.1). wget is already the newest version (1.20.1-1.1). curl is already the newest version (7.64.0-4+deb10u7). perl is already the newest version (5.32.1-4+deb11u2). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: build-essential : Depends: libc6-dev but it is not going to be installed or libc-dev Depends: g++ (>= 4:8.3) but it is not going to be installed libbz2-dev : Depends: libc6-dev but it is not going to be installed or libc-dev libgdbm-dev : Depends: libc6-dev but it is not going to be installed or libc-dev libncurses5-dev : Depends: libncurses-dev (= 6.1+20181013-2+deb10u4) but it is not going to be installed libreadline-dev : Depends: libncurses-dev but it is not going to be installed libsqlite3-dev : Depends: libc6-dev but it is not going to be installed uuid-dev : Depends: libc6-dev but it is not going to be installed or libc-dev zlib1g-dev : Depends: libc6-dev but it is not going to be installed or libc-dev E: Unable to correct problems, you have held broken packages. Failed installing required packages kamailio install failed

Le mer. 1 nov. 2023 à 19:00, Tyler Moore @.***> a écrit :

could you post the install script output for review?

— Reply to this email directly, view it on GitHub https://github.com/dOpensource/dsiprouter/issues/529#issuecomment-1789408777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK53Y7TVQTB5TSB6ZH6NNO3YCKE23AVCNFSM6AAAAAA2UDRTMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZGQYDQNZXG4 . You are receiving this because you authored the thread.Message ID: @.***>

devopsec commented 10 months ago

That looks like package conflicts on your version of debian..
I don't see these issues on fresh installs of debian 10-12.
You didn't specify your version of debian but debian 9 is now deprecated due to outdated versions of various packages.
Are you using an old ISO or debian 9?