Re: systemd-nspawn container

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Apr 23, 2015 at 11:34 AM, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
I am running Archlinux and want to build a systemd-nspawn conatiner
with Fedora 22 server.

Here is what I did:

---------------------------------------------------------------------------
# machinectl pull-raw --verify=no
http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/test/22_Beta/Cloud/x86_64/Images/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.xz
$ tar ....
# systemd-nspawn -M Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw
Spawning container Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw on
/var/lib/machines/Fedora-Cloud-Base-22_Beta-20150415.x86_64.raw.
Press ^] three times within 1s to kill container.
[root@Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf -y --releasever=22
--nogpg --installroot=/var/lib/machines/MyContainer --disablerepo='*'
--enablerepo=fedora install systemd passwd dnf fedora-release-server
vim-minimal
Error: Failed to synchronize cache for repo 'fedora' from
'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64':
Cannot prepare internal mirrorlist: Status code: 503 for
https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=x86_64
[root@Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf clean metada
--releasever=22                         Remove cached data
[root@Fedora-Cloud-Base-22_Beta-20150415 ~]# dnf list sqlite --releasever=22
   Fedora 22 - x86_64
      3.5 MB/s |  41 MB     00:11
Fedora 22 - x86_64 - Test Updates
   3.7 MB/s |  14 MB     00:03
Error: Failed to synchronize cache for repo 'updates' from
'https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64':
Cannot prepare internal mirrorlist: Status code: 503 for
https://mirrors.fedoraproject.org/metalink?repo=updates-released-f22&arch=x86_64
[root@Fedora-Cloud-Base-22_Beta-20150415 ~]#
--------------------------------------------------------------------------------

I can't install.

Anything I am missing?

EDIT ; using yum indeed did the trick 

Thank you for hints



--

google.com/+arnaudgabourygabx



--
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux