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

    Fog 1.5.10 Install error libcurl4 Failed during install

    Scheduled Pinned Locked Moved Unsolved Linux Problems
    14 Posts 7 Posters 3.9k Views
    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.
    • Tom ElliottT
      Tom Elliott @mstraffin
      last edited by

      @mstraffin No problems, just wanted to make it known we are aware that each new version of Ubuntu tends to break the installer of FOG. This isn’t because the software wouldn’t work on ubuntu out of the box, but the packages needed keep changing between versions.

      For example, libcurl4 might simply be provided in default curl now but since past versions need the specific libcurl4 call out, it causes errors. So we have to maintain libcurl4 of version ubuntu <x:y> while allowing “new” ubuntu <latest>.

      Ubuntu is personally one OS i’m not a fan of for FOG’s installer since the package list is consistently fragmented.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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
      • J
        jaumeramos
        last edited by

        Found the same problem.

        The issue is that the libcurl4 in ubuntu 22.04 is now libcurl4t64 so the check fails.

        Changing the name of the package in lib/common/funcions.sh solves the problem and the installation works smoolthly.

        Tom ElliottT 1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott @jaumeramos
          last edited by Tom Elliott

          @jaumeramos Would you be willing to test:

          diff --git a/lib/common/functions.sh b/lib/common/functions.sh
          index b20b0e482..05f40d08c 100755
          --- a/lib/common/functions.sh
          +++ b/lib/common/functions.sh
          @@ -725,6 +725,9 @@ installPackages() {
                               if [[ $OSVersion -gt 17 ]]; then
                                   packages="${packages// libcurl3 / libcurl4 }">>$error_log 2>&1
                               fi
          +                    if [[ $OSVersion -ge 22 ]]; then
          +                        packages="${packages// libcurl4 / libcurl4t64 }">>$error_log 2>&1
          +                    fi
                               if [[ $linuxReleaseName_lower == +(*ubuntu*) && $OSVersion -ge 18 ]]; then
                                   # Fix missing universe section for Ubuntu 18.04 LIVE
                                   LANG='en_US.UTF-8' LC_ALL='en_US.UTF-8' add-apt-repository -y universe >>$error_log 2>&1
          

          Changing the functions to this code?

          I’m hoping to catch as 17-21 worked fine with lubcurl4, but 22 needs libcurl4t64

          It’s ugly, I have pushed if you just want to pull from dev-branch

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          R 1 Reply Last reply Reply Quote 0
          • R
            rhythmtone @Tom Elliott
            last edited by rhythmtone

            @Tom-Elliott said in Fog 1.5.10 Install error libcurl4 Failed during install:

            @jaumeramos Would you be willing to test:

            diff --git a/lib/common/functions.sh b/lib/common/functions.sh
            index b20b0e482..05f40d08c 100755
            --- a/lib/common/functions.sh
            +++ b/lib/common/functions.sh
            @@ -725,6 +725,9 @@ installPackages() {
                                 if [[ $OSVersion -gt 17 ]]; then
                                     packages="${packages// libcurl3 / libcurl4 }">>$error_log 2>&1
                                 fi
            +                    if [[ $OSVersion -ge 22 ]]; then
            +                        packages="${packages// libcurl4 / libcurl4t64 }">>$error_log 2>&1
            +                    fi
                                 if [[ $linuxReleaseName_lower == +(*ubuntu*) && $OSVersion -ge 18 ]]; then
                                     # Fix missing universe section for Ubuntu 18.04 LIVE
                                     LANG='en_US.UTF-8' LC_ALL='en_US.UTF-8' add-apt-repository -y universe >>$error_log 2>&1
            

            Changing the functions to this code?

            I’m hoping to catch as 17-21 worked fine with lubcurl4, but 22 needs libcurl4t64

            It’s ugly, I have pushed if you just want to pull from dev-branch

            Hi,
            The dev-branch worked well for me, thanks!

            Ubuntu MATE 24.04
            6.8.0-31-generic
            All packages fully updated before running the FOG installer (for better or worse, haha)

            Thanks again for all the work on this project, it has been great to see it continue on over the years,
            Dave

            1 Reply Last reply Reply Quote 0
            • R
              Robert
              last edited by

              This is happening with Debian 13
              Any way to solve it?

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @Robert
                last edited by

                @Robert FOG 1.5.10 was not written when Debian 13 was built. Stable branch hasn’t updated for the month of September but this fix is in the dev-branch.

                Please, for now, switch to the dev-branch and install where this should be resolved.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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 2
                • E
                  eoli3n
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • E
                    eoli3n @Tom Elliott
                    last edited by

                    @Tom-Elliott

                    On latest Debian Trixie, dev-branch installer gives :

                    Setting up fogproject user…/lib/common/functions.sh: ligne 1476: lastlog : commande introuvable
                    
                    1 Reply Last reply Reply Quote 0
                    • E
                      eoli3n @Tom Elliott
                      last edited by

                      @Tom-Elliott Where are supported os listed ? Is there any way to know that Debian Trixie is supported on the main branch ?

                      Also is there a migration process, how to upgrade from bookworm without creating a new server ?

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @eoli3n
                        last edited by

                        @eoli3n Versions are impossible to give because they keep changing, so we do try to have the version that are supported between masters/dev-branch/etc… for the os’s at that point in time (and backward)

                        Debian Based (Mint, Ubuntu, Debian), Redhat Based (Redhat, Rocky, Alma, Fedora).

                        The versions, dev-branch is more likely going to be in line with latest/greatest. Some what of a delay of course, but there’s no list that clearly spells out what version of specific OS is supported.

                        In my opinion, Redhat based OS’s are the best as we don’t have to continually update the installer code to support future versions. Most will just work right out of the box.

                        Migration process? No, if you’re moving one machine to another that’s one thing of a migration and there is a process for that, but if you’re meaning “I’m on bookworm and without moving anything, I’m going to do an in place upgrade?” I don’t believe there will be problems but what I would suggest is re-installing FOG once the upgrade is complete as any services or config files that got changed would need to be rebuilt for the new OS. It’s not hard and I don’t think there will be any issues. If there are, please let us know.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        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

                        96

                        Online

                        12.2k

                        Users

                        17.4k

                        Topics

                        155.6k

                        Posts
                        Copyright © 2012-2025 FOG Project