Error in downloading Ubuntu lucid32
SanjanaSunil opened this issue · comments
When I run vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
in my terminal, the following error comes up:
box: Downloading: http://files.vagrantup.com/lucid32.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.The requested URL returned error: 503
How do I correct this?
The url you are trying to download ubuntu lucid 32 from doesn't exist anymore. So an alternative is necessary. So , what you can do is to download this vagrant file from here, https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System/blob/master/src/Vagrantfile .
Then find the line following line:
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
When u find it then delete it and write the following line in the Vagrantfile:
config.vm.box = "mrgcastle/ubuntu-lucid32"
Save and copy the Vagrantfile to a directory and type Vagrant up from powershell or from your choice of terminal then press enter. It should have worked by now :)
Vagrant has changed the way you download boxes, as well as the way boxes are hosted on their servers.
The command in the book will no longer work. Instead, use:
vagrant box add lvphu609/lucid32
Hope this helps
the solution psharma04 provided definitely starts a download. not sure what ghost's recommendation does.
psharma04's solution works
Hi, Using psharma04's solutions the system of the box turn to be a x64 system
following are the words in shell after cat /proc/version
Linux version 4.15.0-58-generic (buildd@lcy01-amd64-013) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019
looking for your help
I guess Alternavely you can use the following command
vagrant box add lucid32 https://vagrantcloud.com/lvphu609/lucid32