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

    Adding needed repository Failed!

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    9
    30
    25.2k
    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.
    • D
      danbreak
      last edited by

      Hi:

      I have the same problem, when i want update fog.

      Currently i have installed fog 3388 on ubuntu 14.04.2.

      When i want update says this:

      *Installation Started…

      Installing required packages, if this fails
      make sure you have an active internet connection.

      • Adding needed repository…Failed!*

      I don’t have direct internet connection, it is connected to internet through proxy

      Scott BS Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Scott BS
        Scott B @danbreak
        last edited by

        @danbreak

        Could it have something to do with the settings stored in the /opt/fog/.fogsettings file? Wondering if anything in that file which could have changed since the install could cause an issue.

        @Developers
        Is the .fogsettings file ever updated after the initial install?

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

          It’s updated everytime you update.

          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

          Scott BS 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @danbreak
            last edited by

            @danbreak Are you by chance behind a proxy?

            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

            D 2 Replies Last reply Reply Quote 0
            • Scott BS
              Scott B @Tom Elliott
              last edited by

              @Tom-Elliott Update FOG itself or if you make changes in the web GUI? For example going from eth0 to bond0 for default network or enabling or disabling donation.

              1 Reply Last reply Reply Quote 0
              • Scott BS
                Scott B
                last edited by

                Well, the issue is back again with a new install on Ubuntu 14.04.2. Currently svn 3658.

                1 Reply Last reply Reply Quote 0
                • D
                  danbreak @Tom Elliott
                  last edited by

                  @Tom-Elliott Yes, i’m behind a squid proxy

                  1 Reply Last reply Reply Quote 0
                  • T
                    TheKoR
                    last edited by

                    i have the same probleme with my upgrade from 3563 to last one.

                    Ubuntu 13.10 - Fog 1.3.0
                    XEON E5630 - 16 Go - 6To raid 5
                    Best download : 22Go in 23 sec
                    Avg rate : 4.5G/min on 20 unicasts at same time

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

                      @TheKoR Are you behind a proxy?

                      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
                      • T
                        TheKoR
                        last edited by TheKoR

                        Oh yes i reactivated it, transparent one

                        edit : deactivated and still don’t work

                        Ubuntu 13.10 - Fog 1.3.0
                        XEON E5630 - 16 Go - 6To raid 5
                        Best download : 22Go in 23 sec
                        Avg rate : 4.5G/min on 20 unicasts at same time

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          danbreak @Tom Elliott
                          last edited by

                          @Tom-Elliott
                          Hi again
                          I disabled the proxy and I connected fog directly to the internet and I still have the same problem.

                          I think it’s possible that the problem is distribution, not the network connection

                          1 Reply Last reply Reply Quote 0
                          • D
                            danbreak @TheKoR
                            last edited by

                            @TheKoR @Tom-Elliott i found a solution:

                            You must install this:

                            apt-get install python-software-properties
                            apt-get install software-properties-common

                            Then you can update 🙂

                            1 Reply Last reply Reply Quote 3
                            • T
                              TheKoR
                              last edited by TheKoR

                              Yeap it works

                              edit and not:

                              • Checking package: php5-json…Failed!

                              and i try manually :

                              root@fog:/partages/svn/bin# apt-get install php5-json
                              Lecture des listes de paquets… Fait
                              Construction de l’arbre des dépendances
                              Lecture des informations d’état… Fait
                              Note : sélection de « php5-common » au lieu de « php5-json »

                              Ubuntu 13.10 - Fog 1.3.0
                              XEON E5630 - 16 Go - 6To raid 5
                              Best download : 22Go in 23 sec
                              Avg rate : 4.5G/min on 20 unicasts at same time

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

                                Repository info should now be fixed in 3704. As for json/common I haven’t a clue how best to approach. It shouldn’t be failing to install because it is being installed and only passing if it finds it in the list.

                                I will continue to work on it as I can.

                                However, that all aside, the original issue (Adding needed repository failed) should be fixed.

                                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

                                Scott BS 1 Reply Last reply Reply Quote 1
                                • W
                                  Wolfbane8653 Developer
                                  last edited by Wolfbane8653

                                  Just did a clean install of Debian 8 (r3707). Still fails on getting packages. The work around was to:

                                  apt-get install apache2 php5 php5-json php5-cli php5-curl mysql-client nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 lftp php-gettext php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm
                                  

                                  then run the installer.

                                  1 Reply Last reply Reply Quote 1
                                  • W
                                    Wolfbane8653 Developer
                                    last edited by

                                    Ran into this again with r3706–>r3711

                                    Debian GNU/Linux 7 \n \l

                                    needed:

                                    apt-get install libapache2-mod-php5 
                                    

                                    Tom fixed this in r3712. Thanks again Tom.

                                    1 Reply Last reply Reply Quote 0
                                    • Scott BS
                                      Scott B
                                      last edited by

                                      I ended up copying the .fogsettings file from a fresh test FOG install and changing the needed IP addresses. Then I could get past the repository failing issue, but would not update/install any needed software. I found that when manually running the installs I needed to say okay to installing to an untrusted resource. After that everything is up and how it should be.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tbs
                                        last edited by

                                        i am having the same issue on Debian 8.1"jessie" and the installation from trunk (git). It just stalls at " Adding needed repository…"

                                        and noting ever happens 😞

                                        1 Reply Last reply Reply Quote 0
                                        • Scott BS
                                          Scott B @Tom Elliott
                                          last edited by

                                          @Tom-Elliott I’m getting the repository failed issue again. Current FOG is SVN 4266. Does the same if I use GIT also.

                                          1 Reply Last reply Reply Quote 0
                                          • O
                                            Oleg
                                            last edited by

                                            Hello to all,

                                            I have the same problem with the repository. My FOG is behind a proxy but if proxy is enabled or not, the upgrade script is not working. My SVN version is 3735. Tried the upgrade wit git and SVN. Both are failing at this first step.

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            228

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project