Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update list of packages on consul-server #15

Open
ghost opened this issue Mar 16, 2020 · 1 comment
Open

Unable to update list of packages on consul-server #15

ghost opened this issue Mar 16, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 16, 2020

~/Documents/training/consul-course » cat Vagrantfile
1 Vagrant.configure("2") do |config|
2 config.vm.box = "wesmcclure/ubuntu1404-docker"
3
4 config.vm.define "consul-server" do |cs|
5 cs.vm.hostname = "consul-server"
6 cs.vm.network "private_network", ip: "172.20.20.31"
7 end
8
9 end

Error:
vagrant@consul-server:~$ sudo apt-get update -y
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://us.archive.ubuntu.com trusty InRelease

Err http://us.archive.ubuntu.com trusty-updates InRelease

Err http://us.archive.ubuntu.com trusty-backports InRelease

Err http://us.archive.ubuntu.com trusty Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Ign https://apt.dockerproject.org ubuntu-trusty InRelease
Ign https://apt.dockerproject.org ubuntu-trusty Release.gpg
Ign https://apt.dockerproject.org ubuntu-trusty Release
Err https://apt.dockerproject.org ubuntu-trusty/main amd64 Packages
Could not resolve host: apt.dockerproject.org
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en_US
Ign https://apt.dockerproject.org ubuntu-trusty/main Translation-en
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'us.archive.ubuntu.com'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'us.archive.ubuntu.com'

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'us.archive.ubuntu.com'

W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/binary-amd64/Packages Could not resolve host: apt.dockerproject.org

W: Some index files failed to download. They have been ignored, or old ones used instead.

Any ideas? Thank you.

@g0t4
Copy link
Owner

g0t4 commented Dec 28, 2020

Not surprising, ubuntu 14.04 is no longer supported by docker.

Let's see if we can get it updated to work though, a couple ideas. The sample could be branched to work with a newer version of ubuntu (you can do that independently and share back and I'd merge it into a branch for others to use)... I want the end point of the code to remain as is to represent the course (like a book edition)...

You could contribute that PR and I'll review/merge to give you credit OR I can mod the files... this might get tricky and if so let me know so I can keep the mods with the spirit of the sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant