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

kubeadm package apt-get install has unmet dependency error on other packages #4804

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Jun 18, 2020

- Why I did it
kubeadm package apt-get install has unmet dependency error on other packages making build failure.

Error Logs:

Reading package lists...

  • sudo LANG=C chroot ./fsroot apt-get -y install kubeadm=1.18.0-00
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

The following packages have unmet dependencies:
kubeadm : Depends: kubernetes-cni (>= 0.7.5)
E: Unable to correct problems, you have held broken packages.

  • sudo umount ./fsroot/proc

- How I did it
Installing packages that have unmet dependency install them explicitly.
- How to verify it
Verify build is fine after change.

to other packages so intsalling them explicitly.
@abdosi abdosi merged commit 88c5d22 into sonic-net:master Jun 19, 2020
@abdosi abdosi deleted the k8_compile_fix branch June 19, 2020 06:16
abdosi added a commit that referenced this pull request Jun 19, 2020
to other packages so intsalling them explicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants