FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
7 stars 1 forks source link

[bug]: Installation failed at step Setting up libfdk. #52

Closed kmayoros1 closed 5 months ago

kmayoros1 commented 5 months ago

FreePBX Version

FreePBX 17

Issue Description

Setting up libfdk Installation failed at step Setting up libfdk. Please check log /var/log/pbx/freepbx17-install.log for details. Error at line line: 420 exiting with code 2 (last command was: dpkg -i /tmp/libfdk-aac2${AACVERSION}${arch}.deb >> "$log" 2>&1) Exiting script

Operating Environment

Clean Debian 12.5

Relevant log output

2024-03-23 09:55:14 (42.7 MB/s) - ‘/tmp/libfdk-aac-dev_2.0.1-1_amd64.deb’ saved [741236/741236]

--2024-03-23 09:55:14--  http://deb.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac2_2.0.1-1_amd64.deb
Resolving deb.debian.org (deb.debian.org)... 199.232.98.132, 2a04:4e42:58::644
Connecting to deb.debian.org (deb.debian.org)|199.232.98.132|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 617600 (603K) [application/vnd.debian.binary-package]
Saving to: ‘/tmp/libfdk-aac2_2.0.1-1_amd64.deb’

     0K .......... .......... .......... .......... ..........  8% 27.7M 0s
    50K .......... .......... .......... .......... .......... 16% 22.9M 0s
   100K .......... .......... .......... .......... .......... 24% 38.3M 0s
   150K .......... .......... .......... .......... .......... 33% 48.8M 0s
   200K .......... .......... .......... .......... .......... 41% 47.4M 0s
   250K .......... .......... .......... .......... .......... 49% 46.4M 0s
   300K .......... .......... .......... .......... .......... 58% 56.6M 0s
   350K .......... .......... .......... .......... .......... 66% 59.5M 0s
   400K .......... .......... .......... .......... .......... 74% 47.8M 0s
   450K .......... .......... .......... .......... .......... 82% 54.7M 0s
   500K .......... .......... .......... .......... .......... 91% 52.1M 0s
   550K .......... .......... .......... .......... .......... 99% 63.7M 0s
   600K ...                                                   100% 17.9M=0.01s

2024-03-23 09:55:14 (42.9 MB/s) - ‘/tmp/libfdk-aac2_2.0.1-1_amd64.deb’ saved [617600/617600]

dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
2024-03-23 09:55:15 - ****** INSTALLATION FAILED *****
2024-03-23 09:55:15 - Installation failed at step Setting up libfdk. Please check log /var/log/pbx/freepbx17-install-
2024.03.23-09.54.46.log for details.
2024-03-23 09:55:15 - Error at line line: 420 exiting with code 2 (last command was: dpkg -i /tmp/libfdk-aac2_${AACVE
RSION}_${arch}.deb >> "$log" 2>&1)
2024-03-23 09:55:15 - Exiting script
ramarajan222 commented 5 months ago

Hi @kmayoros1 Looks like the PATH environment variables are not configured correctly on your system. Please correct the PATH variable and then give it a try again.

My working system PATH variable output is below:- echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

kmayoros1 commented 5 months ago

Yep, that resolved it. Since it was a clean Debian 22.5 install i thought that would be already correct, but i was wrong. Thank you.