• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG installation ERROR: "E: Unable to locate package php-gettext"

Scheduled Pinned Locked Moved
FOG Problems
4
8
10.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U
    utpalgiriarc
    last edited by Aug 30, 2021, 7:53 AM

    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

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 1, 2021, 11:54 AM

      @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.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      A 1 Reply Last reply Oct 9, 2021, 8:49 AM Reply Quote 0
      • P
        plegrand
        last edited by Sep 2, 2021, 2:46 PM

        @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.

        1 Reply Last reply Reply Quote 0
        • U
          utpalgiriarc
          last edited by Sep 8, 2021, 1:25 PM

          Thank You. .
          Finally I have done using Ubuntu…

          1 Reply Last reply Reply Quote 0
          • A
            asheroto
            last edited by Oct 9, 2021, 6:32 AM

            @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. 😊

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Oct 9, 2021, 8:26 AM

              @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?

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • A
                asheroto @Sebastian Roth
                last edited by Oct 9, 2021, 8:49 AM

                @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

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Oct 9, 2021, 3:18 PM

                  @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:

                  • https://forums.fogproject.org/topic/15370/dev-branch-1-5-9-79-installing-package-php-gettext-failed-has-to-use-x-switch-to-get-it-to-work
                  • https://github.com/FOGProject/fogproject/issues/433
                  • https://github.com/FOGProject/fogproject/pull/428
                  • https://github.com/FOGProject/fogproject/issues/429

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  149

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project