Adding needed repository Failed!
-
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.
-
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.
-
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
-
@Tom-Elliott I’m getting the repository failed issue again. Current FOG is SVN 4266. Does the same if I use GIT also.
-
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.
-
@Oleg What Linux distribution?
-
http://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy
The variables it’s attempting to use should be capable of passing directly from the ./installfog.sh.
You would change the install part from
./installfog.sh
to:http_proxy=http://<proxy>:<port> ./installfog.sh
This is theory, never fully tested though. -
My system is Ubuntu Server 14.04.3.
I cannot fully understand why but this worked for me:First add the proxy with:
export http_proxy=http://username:password@host:port/
export https_proxy=https://username:password@host:port/Then put in /etc/sudoers:
Defaults env_keep=“https_proxy”Last:
start the installfog.sh as root and not as sudo -
@Tom-Elliott said:
http://askubuntu.com/questions/53146/how-do-i-get-add-apt-repository-to-work-through-a-proxy
The variables it’s attempting to use should be capable of passing directly from the ./installfog.sh.
You would change the install part from
./installfog.sh
to:http_proxy=http://<proxy>:<port> ./installfog.sh
This is theory, never fully tested though.Any idea if we are not using a proxy?
-
Hello,
I am very excited to be upgraded to the builds, from 1.2 - but I am having the same error. It seems the thread died with a solution if you ar
e behind a proxy, but both Scott and I are not. First, I was aiming for using btsync, but I am running into a permissions error - appears to be btsync itself, something in the config file I found here: https://github.com/tuxpoldo/btsync-deb/issues/182 . I am going to circle back to that error. For now, I used the wget and extracted the tarball. The installer found all of my old settings, but I am stuck adding a repository.I am running FOG 1.2 on a Debian machine. I am stuck at
- Adding needed repository…Failed!
System: Host:XXXXX Kernel: 3.16.0-4-amd64 x86_64 (64 bit) Desktop: MATE 1.10.0 Distro: LinuxMint 2 betsy
- Adding needed repository…Failed!