Could simply be that you are behind a firewall... That why the ask Ubuntu answer includes setting up a proxy environment variable.
The error message means you cannot get the appropriate key from the server, a workaround is to download the key using wget or curl and then using apt-key add the-downloaded-key Hope this helps Regards Eric On Dec 13, 2014 7:21 PM, "Thouraya TH" <[email protected]> wrote: > Hello, Please i have already posted this question but i haven't any answer; > i found this solution on the web: > http://askubuntu.com/questions/544597/lxc-create-hangs-and-finally-fails > but i didn't understand the solution. > Can you explain me the solution on the URL ? > > > *Problem* > root@localhost:/home# sudo lxc-create -t ubuntu -n u1 -- -r trusty -a > amd64 > Checking cache download in /var/cache/lxc/trusty/rootfs-amd64 ... > Installing packages in template: ssh,vim,language-pack-en > Downloading ubuntu trusty minimal ... > I: Retrieving Release > > *E: Failed getting release file > http://archive.ubuntu.com/ubuntu/dists/trusty/Release > <http://archive.ubuntu.com/ubuntu/dists/trusty/Release>* > lxc_container: container creation template for u1 failed > lxc_container: Error creating container u1 > > root@localhost:~# sudo lxc-create -t download -n ubuntu -- -d ubuntu -r > trusty -a amd64 > lxc-create: Error: ubuntu creation was not completed > Setting up the GPG keyring > ERROR: Unable to fetch GPG key from keyserver. > > Thanks a lot. > Bests. > > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
