I’m having some issues with an upgrade, I think I narrowed it down to libcurl3 or libcurl4
The installer will install libcurl3 but curl requires libcurl4 and will fail.
I noticed a few similar topics (one about Debian 10) but didn’t really see a solution
./installfog.sh
Installing LSB_Release as needed
* Attempting to get release information.......................Done
systemd
+------------------------------------------+
| ..#######:. ..,#,.. .::##::. |
|.:###### .:;####:......;#;.. |
|...##... ...##;,;##::::.##... |
| ,# ...##.....##:::## ..:: |
| ## .::###,,##. . ##.::#.:######::.|
|...##:::###::....#. .. .#...#. #...#:::. |
|..:####:.. ..##......##::## .. # |
| # . ...##:,;##;:::#: ... ##.. |
| .# . .:;####;::::.##:::;#:.. |
| # ..:;###.. |
| |
+------------------------------------------+
| Free Computer Imaging Solution |
+------------------------------------------+
| Credits: http://fogproject.org/Credits |
| http://fogproject.org/Credits |
| Released under GPL Version 3 |
+------------------------------------------+
Version: 1.5.7 Installer/Updater
* Found FOG Settings from previous install at: /opt/fog/.fogsettings
* Performing upgrade using these settings
Starting Debian based Installation
*** Detected a potential need to reinstall apache and php files.
*** This will remove the /etc/php* and /etc/apache2* directories
*** and remove/purge the apache and php files from this system.
*** If you're okay with this please type Y, anything else will
*** continue the installation, but may mean you will need to
*** remove the files later and make proper changes as
*** necessary. (Y/N):
*** New option 'hostname' since FOG 1.5.6 ***
Would you like to change the default hostname >ndfog<?
The fully qualified hostname is used for the webserver certificate.
If you are not sure, select No. [y/N]
######################################################################
# FOG now has everything it needs for this setup, but please #
# understand that this script will overwrite any setting you may #
# have setup for services like DHCP, apache, pxe, tftp, and NFS. #
######################################################################
# It is not recommended that you install this on a production system #
# as this script modifies many of your system settings. #
######################################################################
# This script should be run by the root user. #
# It will prepend the running with sudo if root is not set #
######################################################################
# Please see our wiki for more information at: #
######################################################################
# https://wiki.fogproject.org/wiki/index.php #
######################################################################
* Here are the settings FOG will use:
* Base Linux: Debian
* Detected Linux Distribution: Ubuntu
* Interface: ens160
* Server IP Address: 192.168.131.149
* Server Subnet Mask: 255.255.255.0
* Server Hostname: ndfog
* Installation Type: Normal Server
* Internationalization: 0
* Image Storage Location: /images
* Using FOG DHCP: No
* DHCP will NOT be setup but you must setup your
| current DHCP server to use FOG for PXE services.
* On a Linux DHCP server you must set: next-server and filename
* On a Windows DHCP server you must set options 066 and 067
* Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.131.149)
* Option 067/filename is the bootfile: (e.g. undionly.kpxe)
* Are you sure you wish to continue (Y/N) y
* Installation Started
* Testing internet connection.................................Done
* Adding repository if needed.................................OK
* Preparing Package Manager...................................OK
* Packages to be installed:
apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g
* Skipping package: apache2.................................(Already Installed)
* Skipping package: bc......................................(Already Installed)
* Skipping package: build-essential.........................(Already Installed)
* Skipping package: cpp.....................................(Already Installed)
* Installing package: curl....................................Failed! (Will try later)
* Skipping package: g++.....................................(Already Installed)
* Skipping package: gawk....................................(Already Installed)
* Skipping package: gcc.....................................(Already Installed)
* Skipping package: gzip....................................(Already Installed)
* Skipping package: htmldoc.................................(Already Installed)
* Skipping package: lftp....................................(Already Installed)
* Skipping package: libapache2-mod-php7.1...................(Already Installed)
* Skipping package: libc6...................................(Already Installed)
* Skipping package: libcurl3................................(Already Installed)
* Skipping package: m4......................................(Already Installed)
* Skipping package: mysql-client............................(Already Installed)
* Skipping package: mysql-server............................(Already Installed)
* Skipping package: net-tools...............................(Already Installed)
* Skipping package: nfs-kernel-server.......................(Already Installed)
* Skipping package: openssh-server..........................(Already Installed)
* Skipping package: php7.1..................................(Already Installed)
* Skipping package: php7.1-bcmath...........................(Already Installed)
* Skipping package: php7.1-cli..............................(Already Installed)
* Skipping package: php7.1-curl.............................(Already Installed)
* Skipping package: php7.1-fpm..............................(Already Installed)
* Skipping package: php7.1-gd...............................(Already Installed)
* Skipping package: php7.1-json.............................(Already Installed)
* Skipping package: php7.1-ldap.............................(Already Installed)
* Skipping package: php7.1-mbstring.........................(Already Installed)
* Skipping package: php7.1-mysql............................(Already Installed)
* Skipping package: php-gettext.............................(Already Installed)
* Skipping package: sysv-rc-conf..............................(Does not exist)
* Skipping package: tar.....................................(Already Installed)
* Skipping package: tftpd-hpa...............................(Already Installed)
* Skipping package: tftp-hpa................................(Already Installed)
* Skipping package: unzip...................................(Already Installed)
* Skipping package: vsftpd..................................(Already Installed)
* Skipping package: wget....................................(Already Installed)
* Skipping package: xinetd..................................(Already Installed)
* Skipping package: zlib1g..................................(Already Installed)
* Updating packages as needed.................................OK
* Installing now everything is updated........................Failed!