• 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
    5
    8
    2.5k
    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.
    • M
      mstraffin
      last edited by

      Distributor ID: Ubuntu
      Description: Ubuntu 24.04 LTS
      Release: 24.04
      Codename: noble

      • Checking package: libcurl4…Failed!

      !!!
      !! The installer was not able to run all the way to the end as !!
      !! something has caused it to fail. The following few lines are !!
      !! from the error log file which might help us figure out what’s !!
      !! wrong. Please add this information when reporting an error. !!
      !! As well you might want to take a look at the full error log !!
      !! in /root/fogproject/bin/error_logs/fog_error_1.5.10.log !!
      !!!

      ii htmldoc 1.9.17-1build3 amd64 HTML processor that generates indexed HTML, PS, and PDF
      ii isolinux 3:6.04~git20190206.bf6db5b4+dfsg1-3ubuntu3 all collection of bootloaders (ISO 9660 bootloader)
      ii lftp 4.9.2-2ubuntu1 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
      ii libapache2-mod-php 2:8.3+93ubuntu2 all server-side, HTML-embedded scripting language (Apache 2 module) (default)
      ii libc6:amd64 2.39-0ubuntu8 amd64 GNU C Library: Shared libraries

      Any help would be greatly appreciated.

      Mike

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

        @mstraffin Please do not use a version of Ubuntu that released AFTER the latest version of FOG was released?

        While sometimes it may work just fine, in a large majority of cases they will not because changes ubuntu has made to available packages changes just as frequently as Ubuntu updates.

        From what I can see Ubuntu 24.04 was released sometime yesterday. FOG 1.5.10 was released sometime in 2023. So there’s nothing for us to fix currently because we haven’t had enough time to even look at the new version of ubuntu and see IF we could even update the installer cleanly enough to get it installed on Ubuntu 24.04

        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

        M 1 Reply Last reply Reply Quote 1
        • I
          iljared98
          last edited by

          The latest Ubuntu version I’ve personally seen that works is 22.04 LTS. I’d recommend trying that to see if the installer finishes.

          1 Reply Last reply Reply Quote 0
          • M
            mstraffin @Tom Elliott
            last edited by

            @Tom-Elliott Thank you Tom, Sorry it was my first attempt at setting up a FOG server and Ubuntu. I just chose the latest and greatest. i should have done more research. This a virtual box so I can start over easy enough. I will take your recommendation and start again.

            Appreciate the feedback.

            Mike

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • 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
                    • 1 / 1
                    • First post
                      Last post

                    161

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project