scotch-io / scotch-box

Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
http://box.scotch.io
2.7k stars 548 forks source link

Vagrant Up - Unable To Fetch #411

Closed abiattachments closed 4 years ago

abiattachments commented 4 years ago

Since yesterday, vagrant up is failing for me:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

apt-get install -y linux-headers-`uname -r` dkms

Stdout from the command:

Reading package lists...
Building dependency tree...
Reading state information...
dkms is already the newest version (2.3-3ubuntu3).
The following NEW packages will be installed:
  linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 83.1 MB of additional disk space will be used.
Ign:1 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-headers-4.13.0-21 all 4.13.0-21.24
Err:2 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 linux-headers-4.13.0-21-generic amd64 4.13.0-21.24
  404  Not Found [IP: 91.189.88.24 80]
Err:2 http://security.ubuntu.com/ubuntu artful-security/main amd64 linux-headers-4.13.0-21-generic amd64 4.13.0-21.24
  404  Not Found [IP: 91.189.88.24 80]
Err:1 http://archive.ubuntu.com/ubuntu artful-updates/main i386 linux-headers-4.13.0-21 all 4.13.0-21.24
  404  Not Found [IP: 91.189.88.24 80]
Err:1 http://security.ubuntu.com/ubuntu artful-security/main amd64 linux-headers-4.13.0-21 all 4.13.0-21.24
  404  Not Found [IP: 91.189.88.24 80]
Err:1 http://security.ubuntu.com/ubuntu artful-security/main i386 linux-headers-4.13.0-21 all 4.13.0-21.24
  404  Not Found [IP: 91.189.88.24 80]

Stderr from the command:

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-4.13.0-21_4.13.0-21.24_all.deb  404  Not Found [IP: 91.189.88.24 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-4.13.0-21-generic_4.13.0-21.24_amd64.deb  404  Not Found [IP: 91.189.88.24 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
abiattachments commented 4 years ago

408 saldim's comment fixed this issue for me

kden13 commented 4 years ago

I'm having this issue now. I tried saldim's comment from #408 and that didn't work for me. Seems like I found a work-around for this not too long ago when I tried this vagrant box before. There was a sudo command that I executed to remove the error messages. I had to destroy the VM and start over.