Adding needed repository... Failed!
-
@Nexqs No from the PCAP it looks like your server is slow! Is FOG installed on hardware or in a virtual machine?
Sorry for the command hickup. It did not mask the stuff as command when I posted it and that broke it when you copy & pasted it. Please try again with this:
wget -O key.txt "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" cat key.txt
-
@Sebastian-Roth Ubuntu is installed on a VM (with 3 Go ramfor the vm : i have 8go on my laptop, an ssd and i3). It did the same thing with my VM on my desktop (i7, 6go ram for the vm and 16go in total and a ssd).
Here is the key :fog@fogserver:~$ wget -O key.txt "http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" --2018-04-01 14:41:46-- http://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C Resolving keyserver.ubuntu.com (keyserver.ubuntu.com)... 91.189.90.55, 91.189.89.49 Connecting to keyserver.ubuntu.com (keyserver.ubuntu.com)|91.189.90.55|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 626 [application/pgp-keys] Saving to: âkey.txtâ key.txt 100%[===================>] 626 --.-KB/s in 0s 2018-04-01 14:42:02 (39.4 MB/s) - âkey.txtâ saved [626/626] fog@fogserver:~$ cat key.txt -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.6 Comment: Hostname: keyserver.ubuntu.com mI0ESX35nAEEALKDCUDVXvmW9n+T/+3G1DnTpoWh9/1xNaz/RrUH6fQKhHr568F8hfnZP/2C GYVYkW9hxP9LVW9IDvzcmnhgIwK+ddeaPZqh3T/FM4OTA7Q78HSvR81mJpf2iMLm/Zvh89Zs mP2sIgZuARiaHo8lxoTSLtmKXsM3FsJVlusyewHfABEBAAG0H0xhdW5jaHBhZCBQUEEgZm9y IE9uZMWZZWogU3Vyw72ItgQTAQIAIAUCSX35nAIbAwYLCQgHAwIEFQIIAwQWAgMBAh4BAheA AAoJEE9OoKrlJnpsQjYD/jW1NlIFAlT6EvF2xfVbkhERii9MapjaUsSso4XLCEmZdEGX54GQ 01svXnrivwnd/kmhKvyxCqiNLDY/dOaK8MK//bDI6mqdKmG8XbP2vsdsxhifNC+GH/OwaDPv n1TyYB653kwyruCGFjEnCreZTcRUu2oBQyolORDl+BmF4DjL =R5tk -----END PGP PUBLIC KEY BLOCK----- fog@fogserver:~$
-
@Nexqs I am at a loss here. This seems to be such a strange issue. I have seen a lot of crazy things happen but this one I canât get my head around. Why would
apt-add-repository
tell us âtimed outâ if it comes back adding the key anyway.Are you keen to just modify the installer script to skip the check and go on? We can give you instructions on how to do this.
-
@Sebastian-Roth Yes sure ! strange issue âŠ
-
@Nexqs Sorry for my late reply. Please try this: Edit
/opt/fogproject/lib/common/functions.sh
, jump to line 623 and add a hash tag as comment at the beginning to disable, make it look like this:... esac ;; esac #errorStat $? dots "Preparing Package Manager" ...
Now rerun the installer as usual.
-
Hi there,
I am getting the same issue as well, please assist
Currently running FOG 1.5.0, trying to upgrade to 1.5.2 through PUTTY
I am not running through a Proxy, i have upgraded to 1.5.0 a few weeks ago i think
-
Update:
@Sebastian-Roth Post about editing \root\fogproject\lib\common\functions.sh has fixed the issue
Thanks!
-
I just ran into this issue:
* Adding needed repository....................................Failed!
Fresh install of Ubuntu server 18.04 LTS using network installer on an old IBM X3650 server. The only software I selected to install during Ubuntu setup was the SSH server. Downloaded and extracted the tarball from https://github.com/FOGProject/fogproject/archive/1.5.5.tar.gz. Could not get past the error until I ran this:
sudo apt-get install software-properties-common
It looks like the FOG install script expected that package to already be installed. Hope this helps someone.
Ben
-
@benc Thanks for letting us know. As far as I can see we do exactly this within the installer. See here: https://github.com/FOGProject/fogproject/blob/master/lib/common/functions.sh#L534
As we have been informed about this being an issue within Ubuntu twice in the last days I am wondering if there is anything Ubuntu changed to make this fail?!
@Wayne-Workman The installer test seems absolutely fine but possibly thatâs because you have the package
software-properties-common
pre-installed? Can you check on that? I have had a look at the logs from your installer tests but the package is not mentioned and thatâs why I guess you have it pre-installed⊠-
@benc I just pushed a fix to the
dev-branch
- download here: https://github.com/FOGProject/fogproject/archive/dev-branch.tar.gz -
@Sebastian-Roth said in Adding needed repository... Failed!:
@Wayne-Workman The installer test seems absolutely fine but possibly thatâs because you have the package
software-properties-common
pre-installed? Can you check on that? I have had a look at the logs from your installer tests but the package is not mentioned and thatâs why I guess you have it pre-installedâŠYes, itâs pre-installed. This is on Ubuntu 18.04 server, minimal installation.
root@ip-10-0-0-165:~# dpkg -l | grep software-properties-common ii software-properties-common 0.96.24.32.7 all manage the repositories that you install software from (common)