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

Fix broken apt-get update due to duplicate docker sources #80

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

tknerr
Copy link
Owner

@tknerr tknerr commented Apr 30, 2019

With v0.5, running sudo apt-get update after logging in to the VM errored because it has a duplicate definition of the docker apt repo sources:

  • /etc/apt/sources.list.d/Docker.list already exists (not sure if this comes out-of-the-box with Ubuntu 18.04 or if this comes with the docker installation)
  • /etc/apt/sources.list.d/docker-stable.list with exactly same contents was added by chef-apt-docker cookbook.

As a result, sudo apt-get update errored with:

$ sudo apt-get update
...
W: Target CNF (stable/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/Docker.list:1 and /etc/apt/sources.list.d/docker-stable.list:1

This PR fixes it by removing the no longer needed chef-apt-docker cookbook

…cker repo is already configured out-of-the-box
@tknerr tknerr merged commit 649498d into master Apr 30, 2019
@tknerr tknerr deleted the bugfix/fix-broken-apt-update branch April 30, 2019 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant