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

    Upgrade FOG 1.5.7 - Ubuntu Server 18.04 libcurl3

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    2
    4
    840
    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.
    • P
      Pikmin
      last edited by

      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!
      
      1 Reply Last reply Reply Quote 0
      • P
        Pikmin
        last edited by

        First I tried commenting out the packages line in .fogsettings, but I got an error on one of the packages

        Then I tried to change the curl3 to curl4 in packages section of the .fogsettings

        Obviously I didn’t work this out on my own
        @Sebastian-Roth provided the crucial hint here:

        https://github.com/FOGProject/fogproject/issues/261

        It still failed on the following packages

        * Installing package: libapache2-mod-php7.1...................Failed! (Will try later)
        * Installing package: php7.1-curl.............................Failed! (Will try later)
        

        php is set to 7.1 in fogsettings

        I ran these two and it was fine (not sure if I should’ve used php7.2 instead?)

        sudo add-apt-repository ppa:ondrej/php
        apt install php7.1-curl libapache2-mod-php7.1
        

        Thanks everyone

        A 1 Reply Last reply Reply Quote 0
        • A
          astrugatch @Pikmin
          last edited by astrugatch

          @Pikmin

          Just as a question what installer did you use for 18.04.3

          When installing Ubuntu Server make sure to use the ISO that ends in “18.04.3-server-amd64” NOT the ISO that they automatically offer up which ends in “18.04.3-live-server-amd64” That ISO doesn’t contain some of the standard repos.
          Here’s the link if anyone needs it:

          http://cdimage.ubuntu.com/releases/18.04.3/release/ubuntu-18.04.3-server-amd64.iso
          You CAN use the live iso but then you need to make sure to add universe & multiverse

          P 1 Reply Last reply Reply Quote 1
          • P
            Pikmin @astrugatch
            last edited by

            @astrugatch

            It was an upgrade from 16.04, both universe and multiverse are enabled in sources. Good to know
            Thanks

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

            247

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project