(SVN) Adding needed repository... Failed!
-
Hello,
I keep having the “* Adding needed repository…Failed!” error.
I have check everything I changed about proxy since we upgraded our system but I must miss something somewhere.
What does the script use to do this ? Maybe I set proxy for this before and forgot to update it ?
Where can I find log about this “failure” ?Thank you.
-
What happens when you do sudo add-apt-repository?
If it says it’s not installed, then do the following:
sudo apt-get install software-properties-common python-software-properties
If it is installed, it’s most likely a proxy issue.
-
Ok from what I understand your fog server is behind a proxy server, right?
If that is the case you need to set (export) the environment variables to define your proxy server. Also you will need to update the settings in /etc/wgetrc (if you forget this you will not get the kernels and inits).
As I see you are using svn then you probably have the proxy servers set in /etc/subversion/servers
Here is what I have exported in /etc/bashrc
export http_proxy=http://<proxy_server_ip>:<proxy_server_port>
export https_proxy=http://<proxy_server_ip>:<proxy_server_port>
export ftp_proxy=http://<proxy_server_ip>:<proxy_server_port>
export no_proxy=<fog_server_ip>You didn’t happen to mention what OS you are using here for rhel based (rpm/yum) you need to update /etc/yum.conf with your proxy server setting too.
-
@george1421 We removed proxy but I had to set the previous one a bit everywhere.
I have unset http_proxy, check bashrc. -
Is there anyway to just whitelist the fog server’s IP to have unfiltered access?
-
@george1421 It just say that it need repository to work.
-
@Wayne-Workman It has full web acces on new firewall.
-
Ok just so we are clear.
What OS are you using for your FOG server?
What SVN are you trying to install?
What version are you trying to upgrade from? -
@george1421 Ubuntu Server 14.04 LTS and I just downloaded the last SVN version perfectly. I want to update rev 4730.
-
@jmeyer Ok so then lets try something simiple.
apt-get install wget
I know that wget is installed, I want to see that the installer tells you it is already there.
-
-
@jmeyer ok then your updater probably knows how to find the internet (thinking that you missed telling apt-get do not use proxy).
I wonder if there is an install log somewhere that will give us a clue to what its missing. I do remember that there was an issue a few weeks ago about a php module not being found. But I don’t call how we found that it was missing.
-
@george1421 Just found proxy in ~/.bashrc
I run install again. -
@george1421 Was this !! But needed a reboot after.
Thank you very much to all of you.
-
Well that’s one win for the day. Good going…
-
@jmeyer Exactly what did you change?
-
He had proxy data (after they removed proxy information from their environment) in his .bashrc file. He rebooted because once he edited the .bashrc file, he didn’t re-source the environment. Rebooting works fine, but really was unneccessary.
-
I am getting the same error trying to upgrade to 1.3.0 beta and we are not behind a proxy. I’ve tried many, if not all , the suggestions and nothing yet. I am very new to ubuntu and even more to fog. What else can I do?
-
@ManofValor what version of ubuntu are you running? Did you get 1.3.0 beta from git or svn?
-
@ManofValor What Ubuntu version do you have?