Adding needed repository Failed!
-
I’m trying to update our FOG install to the newest version and I’m getting “failed” when it tried to add the needed repository. What repo is it adding? Server is FC12.
-
FC 12? How old is that? Can you possibly move to something a little more modern?
I ask because I have no idea what kinds of package lists are available for Fedora 12. I’m lucky if I can get 15 and higher working properly.
-
@Tom-Elliott said:
f I can get 15 and higher working properly.
V/R
Tom ElliottI was starting to think the same thing actually. We have a 2nd FOG server (Ubuntu 14) as a storage node. Could that just be promoted to the main FOG server? The fog DB is on the old server. OR could I just rebuild the old server and under fog config and upload a backup of the DB? Recommendations?
-
@Scott-B Export your DB. FOG Configuration -> Configuration Save -> Export.
You might also export your hosts- only, also… Host Management -> Export
If you want to use the latest Fedora, you’ll need to move to FOG Trunk because fog 1.2.0 does not support the latest Fedora versions.
-
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
-
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? -
It’s updated everytime you update.
-
@danbreak Are you by chance behind a proxy?
-
@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.
-
Well, the issue is back again with a new install on Ubuntu 14.04.2. Currently svn 3658.
-
@Tom-Elliott Yes, i’m behind a squid proxy
-
i have the same probleme with my upgrade from 3563 to last one.
-
@TheKoR Are you behind a proxy?
-
Oh yes i reactivated it, transparent one
edit : deactivated and still don’t work
-
@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
-
@TheKoR @Tom-Elliott i found a solution:
You must install this:
apt-get install python-software-properties
apt-get install software-properties-commonThen you can update
-
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 » -
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.
-
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.
-
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.