Fog 1.5.10 Install error libcurl4 Failed during install
-
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 librariesAny help would be greatly appreciated.
Mike
-
@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
-
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.
-
@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
-
@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.
-
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.
-
@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
-
@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