Open pablogiralt opened 5 years ago
Having the same issue
Same. Did anyone happen to get this resolved?
Plus another. Anyone know dafuq is going on here?
@whatnickcodes told me "We are due for an upgrade. Hopefully soon," a couple of weeks ago.
I also got stuck on this today but was able to get it solved with the following
vagrant up
(it will throw the error..)vagrant ssh
into the box and in there run the following command:sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
(in between this and the next step I might've also done sudo apt-get update
once..)
After that, all the missing packages should've been updated and another vagrant up
starts the machine just fine and I'm able to see the scotchbox index page after that on http://192.168.33.10
also check the accepted answer over here to see what the above sed-command does exactly:) https://stackoverflow.com/questions/48324701/google-compute-engine-ubuntu-17-04-zesty-does-no-longer-have-a-release-file
EDIT: the only drawback I could find until now is, that the optional NFS feature is not working with the above.. maybe there's another package to be updated for that, guess I'll just keep from using NFS for now.
+1
I encountered this issue today while setting up a new dev box and the suggested fix above didn't work for me.
I rolled Virtual Box back to well before the first reported instance of the issue (to about 5.6 from January 2018) and that put things right. I don't update VirtualBox very often but did bring it up into V6 numbers today before bringing up another Vagrant box. So, after a short while of head scratching, I pointed the finger at VB. I have found before that updating VB sometimes creates havoc with installed machines or with new machine installs that aren't configured for new features.
Oh, and NFS obviously works fine.
Hope that helps anyone who hasn't been able to resolve this ... assuming it's not just my own personal case scenario.
Eager for an update and grateful to @mindshaped for the workaround!
@whatnickcodes Is there any update? I'm getting all these errors, too. VB 6.0.12. Should I roll back? I don't want lose NFS; it's about the only thing that makes Vagrant+Virtualbox tolerable at all.
Looked into downgrading VB. Difficult on Mojave. And with Catalina ahead, I reinstalled VB 6.0.12
Correct me if I'm wrong, but Scotchbox Pro needs to be updated.
This is what I see on vagrant up
:
==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (6.0.12) and guest (5.2.6) do not match.
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.149 80]
Ign:1 http://archive.ubuntu.com/ubuntu artful-updates/main i386 linux-headers-4.13.0-21 all 4.13.0-21.24
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.149 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.149 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.149 80]
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.149 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.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Ign:1 http://security.ubuntu.com/ubuntu artful-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu artful InRelease
Err:3 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.174 80]
Ign:4 http://ppa.launchpad.net/longsleep/golang-backports/ubuntu artful InRelease
Ign:5 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Ign:6 http://archive.ubuntu.com/ubuntu artful-updates InRelease
Get:7 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release [3,462 B]
Hit:8 http://ppa.launchpad.net/ondrej/apache2/ubuntu artful InRelease
Ign:9 http://archive.ubuntu.com/ubuntu artful-backports InRelease
Get:10 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Err:10 https://dl.yarnpkg.com/debian stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
Get:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg [801 B]
Hit:12 http://ppa.launchpad.net/ondrej/php/ubuntu artful InRelease
Err:11 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release.gpg
The following signatures were invalid: EXPKEYSIG D68FA50FEA312927 MongoDB 3.2 Release Signing Key <packaging@mongodb.com>
Err:13 http://archive.ubuntu.com/ubuntu artful Release
404 Not Found [IP: 91.189.88.31 80]
Err:14 http://archive.ubuntu.com/ubuntu artful-updates Release
404 Not Found [IP: 91.189.88.31 80]
Err:15 http://ppa.launchpad.net/longsleep/golang-backports/ubuntu artful Release
404 Not Found
Err:16 http://archive.ubuntu.com/ubuntu artful-backports Release
404 Not Found [IP: 91.189.88.31 80]
Reading package lists...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' no longer has a Release file.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures were invalid: EXPKEYSIG D68FA50FEA312927 MongoDB 3.2 Release Signing Key <packaging@mongodb.com>
E: The repository 'http://archive.ubuntu.com/ubuntu artful Release' no longer has a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-updates Release' no longer has a Release file.
E: The repository 'http://ppa.launchpad.net/longsleep/golang-backports/ubuntu artful Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu artful-backports Release' no longer has a Release file.
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]
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?
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 5.2.6
default: VirtualBox Version: 6.0
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] found entry for: 192.168.33.41 dump.test
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?
+1
+1
I have supported Nick and Scotchbox for several years, its sad to see this project appears abandoned. I cloned the project and remade the box from scatch with this as a starting point - it's call cognac and can be found at https://github.com/reddingwebpro/cognacbox
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
dkmsStdout 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 5 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.161 80] Ign:1 http://archive.ubuntu.com/ubuntu artful-updates/main i386 linux-headers-4.13.0-21 all 4.13.0-21.24 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.161 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.161 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.161 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.161 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.161 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?