FOG installation ERROR: "E: Unable to locate package php-gettext"
-
Hi I’m Usind Debian . and want install fog project. But get Error while installing fog ERROR:“E: Unable to locate package php-gettext” Please help me to successful installation. fog project.txt
-
@utpalgiriarc Which version of Debian and FOG do you use? Please search the forum for gettext. I am pretty sure you need to use FOG’s
dev-branch
version to properly install on latest Debian. -
@utpalgiriarc
You should install these packages:
php-gettext
php-php-gettext
This is what is installed on my server
Use aptitude or apt to install them. -
Thank You. .
Finally I have done using Ubuntu… -
@Sebastian-Roth Just ran into this issue myself. I found several forum posts about it.
Using Debian 11. Just installed it a few weeks ago.
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian
I installed
php-php-gettext
thinking it might help…Used
./installfog.sh -X
to bypass it.Just wanted to report the bug exists. Just downloaded Fog a few minutes ago.
-
@asheroto said in FOG installation ERROR: "E: Unable to locate package php-gettext":
Just downloaded Fog a few minutes ago.
Which version of FOG did you use?
-
@sebastian-roth See above post, sorry, replied to the OP instead of you.
Unfortunately the install still failed. I thought this might just be a bug with my particular server, so I set up a brand new server just for Fog, using Debian 11, but still got this exact error.
OK * Backing up user reports.....................................Done * Stopping web service........................................Failed! OK * Setting up Apache and PHP files.............................Failed ########################################### # # # PHP Failed to install properly # # # ########################################### Could not find /etc/php//fpm/php.ini!
You can view the error logs in this gist:
https://gist.github.com/asheroto/c10799f8ef3ca9ff666853c9ef196642 -
@asheroto Did you actually read my question? Which version of FOG do you use?
From the logs it looks like you use 1.5.9 which is the last official version. Yes, this version does not work with Debian 11 because it was released months befor Debian 11 came out! We have fixed this issue in the so called
dev-branch
version weeks ago. For further details read these topics: