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

Unmet dependencies on cluster create (kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed) #266

Closed
cwoebker opened this issue Mar 25, 2019 · 5 comments
Milestone

Comments

@cwoebker
Copy link

cwoebker commented Mar 25, 2019

I just tried setting up a Kubernetes cluster with Hetzner Cloud.
I ran into a similar issue as #195.

run failed
command:apt-get install -y docker-ce kubelet=1.13.4-00 kubeadm=1.13.4-00 kubectl=1.13.4-00 kubernetes-cni wireguard linux-headers-$(uname -r) linux-headers-virtual
stdout: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.6.0) but 0.7.5-00 is to be installed
 kubelet : Depends: kubernetes-cni (= 0.6.0) but 0.7.5-00 is to be installed
E: Unable to correct problems, you have held broken packages.

err:Process exited with status 100

Possible related to: kubernetes/kubernetes#75683 & kubernetes/kubernetes#75701

@hyperbohlic
Copy link

@cwoebker Had the same issue. Quick fix is to change kubernetes-cni to kubernetes-cni=0.6.0-00 in /pkg/clustermanager/provision_node.go:238

cwoebker added a commit to cwoebker/hetzner-kube that referenced this issue Mar 26, 2019
@xetys xetys added this to the 0.5 milestone Mar 31, 2019
@gedaiu
Copy link

gedaiu commented Apr 1, 2019

I have the same issue here.

@andreymaznyak
Copy link

Any updates?

@eaydogan
Copy link

I fixed this issue on my forked repo.
If anyone interest you can get fix that repo.

https://github.com/eaydogan/hetzner-kube

Here is the commit diff:

eaydogan@9e688d7

Screen Shot 2019-04-29 at 14 38 18

Screen Shot 2019-04-29 at 17 21 25

Screen Shot 2019-04-29 at 17 34 14

If the project owner accepts, I can send PR for these changes.

@scasei
Copy link

scasei commented May 3, 2019

Would prefer to put version strings of packages to install in a separate config file, that could be placed somewhere, if i want to overwrite compiled version strings. use case is, that i dont have to recompile the project.

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

No branches or pull requests

7 participants