a-chernykh / railsbox

Fast and easy Ruby on Rails virtual machines
https://railsbox.io
MIT License
320 stars 52 forks source link

Hash Sum mismatch issue caused Unable to fetch some archives #10

Closed Tanete closed 9 years ago

Tanete commented 9 years ago

I try to vagrant up with thif config on my Windows PC. And run into such kind of problem:

msg: 'apt-get install 'autoconf' 'bison' 'build-essential' 'libssl-dev' 'libyaml-dev' 'libreadline6-dev' 'zlib1g-dev' 'libncurses5-dev' 'nodejs' 'python-pip' 'python-dev' 'htop' 'git'' failed: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/automake-1.14/automake_1.14.1-2ubuntu1_all.deb Hash Sum mismatch

Is this due to my network issue? I tried this in my school serveral times and failed.

This is my console log.

a-chernykh commented 9 years ago

I guess such things can happen because of network glitches. Also try to disable firewall (if you have one). Since some of packages were downloaded successfully (as I see in your console log), I would try to run the following:

sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update

And then re-run vagrant provision.

Tanete commented 9 years ago

Yeah. I changed the sources.list mirror and tried again. It worked.