sonata-nfv / son-emu

Attention! Legacy! This repo will be replaced with https://github.com/containernet/vim-emu
https://github.com/containernet/vim-emu
Apache License 2.0
36 stars 32 forks source link

apt-get update fail in Dockerfile #121

Closed felipevicens closed 8 years ago

felipevicens commented 8 years ago

This is the log of the issue

fatal: [localhost]: FAILED! => {"changed": false, "cmd": "apt-get update", "failed": true, "msg": "W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages.gz is not what the server reported 978820 978828\nW: Failed to fetch http://ppa.launchpad.net/ansible/ansible/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found\n\nE: Some index files failed to download. They have been ignored, or old ones used instead.", "rc": 100, "stderr": "W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages.gz is not what the server reported 978820 978828\nW:

felipevicens commented 8 years ago

fixed with this: https://github.com/sonata-nfv/son-emu/pull/120

apt-get clean before apt-get update. @mpeuster You could include it after apt-get install in mpeuster/containernet