Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.
-
@fog_newb Yes, that’s the expected part.
Because php-gettext is now part of the php7.4-common package, there’s not really a need to include it as part of the packages line.
You should be good to go now.
-
Thank you
-
@tom-elliott said in Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.:
Issue is ubuntu 21.04 is using php{ver}-common for php-gettext where in the past it was its own package.
When I was looking at this I got the impression the new package is named
php-php-gettext
(see package repo).When searching for
php-gettext
in general (link to search) I find this:bionic (18.04LTS) (web): transitional dummy package for php-php-gettext [universe]
1.0.12-0.1: allYou are absolutely right, the PHP gettext module is now part of
php7.4-common
but the mentionedphp-php-gettext
provides some helper PHP/INC files - not sure if we need those. -
@sebastian-roth in my testing language translation worked properly using the common provided version
-
@tom-elliott said in Dev branch 1.5.9.79 Installing package: php-gettext.............................Failed! has to use -X switch to get it to work.:
in my testing language translation worked properly using the common provided version
Then it’s all fine. Good that we don’t need that extra package anymore!
-
Hello,
This is the most relevant topic that came up in the search, so I’m posting here instead of creating a new one.I’m trying to install fogproject on proxmox in an LXC container, currently running ubuntu 22.04.1 LTS
The installation fails due to missing package php-gettext as per below screenshot
And here’s the end of the installer log file
So, I will try installing php-gettext manually and if that fails I’ll be deleting this container and retrying with plain debian instead.
I found a package called php-php-gettext, I installed that but to no effect on the installer script
A bit later …
I accidentally hit shutdown on my entire proxmox computer instead of just broken fog container oops
Ok, well back in business now with an LXC container running latest debian, freshly updated and upgraded and …
Oh, well, something is wrong here …
But it’s also 5AM so that’s it for now …
-
@shodan You tried to use FOG version 1.5.9 as far as I an see. Go ahead and try again using the latest dev-branch…
-
@sebastian-roth
Hello,I switch to Debian instead of Ubuntu, got the same error
Switched to using the github version
Now it fails on a new, other error (nfs service missing)
I suggest leaving a note in
https://fogproject.org/download
about using this for debian 11 / ubuntu 22 users and whoever else this might applygit clone https://github.com/FOGproject/fogproject/ git checkout dev-branch
I will create a distinct thread for the NFS issue so that people on the same path as me can find this solution quicker
-
Is this bug still open? I just installed Debian Bullseye and fog 1.5.9 and I get this when installing fog:
“* Installing package: php-gettext…Failed! (Will try later)”I see the correct package is php-php-gettext
How do I get the install to pick the correct package?
Thanks,
-
@kibade I did the editing of the lib/ubuntu/config.sh, posted on the forum as a fix, seemed to work, but I have a new fail with “Failed to stop php-fpm.service: Unit php-fpm.service not loaded.” However, the service is called “php7.4-fpm.service”
I look to see if anyone has solved this here.
-
My memory I really bad but IIRC I ended up having to upgrade to Ubuntu I was on 20.04 at the time