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

    Adding needed repository....................................Failed!

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    2
    3
    557
    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
      mig39
      last edited by

      Hi guys,

      Installing a brand new FOG server on a Ubuntu 18.04 server, from scratch.

      I have nothing on the server other than Ubuntu, open-vm-tools, and git.

      I downloaded the Fog installer with git, and went through the installation process. I get this result:

       * Here are the settings FOG will use:
       * Base Linux: Debian
       * Detected Linux Distribution: Ubuntu
       * Server IP Address: 192.168.7.21
       * Server Subnet Mask: 255.255.255.0
       * Interface: ens160
       * 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.7.21)
       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
      
      
       * Are you sure you wish to continue (Y/N) y
      
       * Installation Started
      
       * Installing required packages, if this fails
       | make sure you have an active internet connection.
      
       * Adding needed repository....................................Failed!
      

      Can anyone point me in the right direction to figure out what is causing this?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • M
        mig39
        last edited by

        Replying to myself 🙂 in case anyone else has the same issue.

        error log has this:

        ../lib/common/functions.sh: line 535: ntpdate: command not found
        Generating locales (this might take a while)...
          en_US.UTF-8... done
        Generation complete.
        ../lib/common/functions.sh: line 539: add-apt-repository: command not found
        

        On a bare, minimal install Ubuntu 18.04 server, you need to install software-properties-common and ntpdate.

        So…

        apt install -y software-properties-common ntpdate
        

        seems to fix those errors.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @mig39 I am wondering which version of FOG are you trying to install? I remember we had this issue long time ago and the current installer should install those packages for you - see here!

          The line numbers we see in the error messages above don’t match those in the current scripts. So I am fairly sure you are not using the latest FOG version 1.5.5!?

          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

          180

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project