Skip to content

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

Merged
abdosi merged 1 commit intosonic-net:masterfrom
abdosi:k8_compile_fix
Jun 19, 2020
Merged

kubeadm package apt-get install has unmet dependency error on other packages#4804
abdosi merged 1 commit intosonic-net:masterfrom
abdosi:k8_compile_fix

Conversation

@abdosi
Copy link
Copy Markdown
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