I am trying to follow the ubuntu installation instructions using the stable-1.7 branch but I am getting the following error
RUN apt-get update && apt-get -y install kata-runtime kata-proxy kata-shim kata-ksm-throttler
---> Running in 7feea2b20dd6
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Ign:4 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:6 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Release [728 B]
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:8 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Release.gpg [481 B]
Get:9 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Packages [2036 B]
Fetched 3245 B in 1s (4297 B/s)
Reading package lists...
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:
kata-runtime : Depends: kata-linux-container (= 4.19.52.43-7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried to explicitly install kata-linux-container but got this output instead
RUN apt-get update && apt-get -y install kata-runtime kata-proxy kata-shim kata-ksm-throttler kata-linux-container
---> Running in 0ead9442dcc5
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Ign:5 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 InRelease
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:7 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Release [728 B]
Get:8 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Release.gpg [481 B]
Get:9 http://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/stable-1.7/xUbuntu_18.04 Packages [2036 B]
Fetched 3245 B in 1s (4398 B/s)
Reading package lists...
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:
kata-runtime : Depends: kata-linux-container (= 4.19.52.43-7) but 4.19.52.44-6 is to be installed
E: Unable to correct problems, you have held broken packages.
I should be able to install the kata-runtime without any issues
There seems to be an unmet dependency where the kata-runtime is depending on an older version of kata-linux-container that is not available on the package server
@joshku thanks for raising this, looks like ubuntu packages are broken. can the kata snap be an alternative for you while we find a solution?
cc @marcov @jcvenegas
@devimc I don't think it can be a viable alternative but I can try and see how much work is required to use that instead.
@joshku seems that last release got broken, I just send a rebuild to see if was a wrong setup. \cc @egernst
@joshku hi, we have rebuild the kata packages for 1.7 now they should work.
http://jenkins.katacontainers.io/job/package-release-testing/69/
Could you give it a try ?
As of now kata-runtime 1.9.0~alpha0-41 requires kata-linux-container 4.19.52.45-35.
Failures may also happen if not all packages are published at the same time on opensuse.org: one more reason to switch to Packagecloud?
@jcvenegas I can confirm that the unmet dependency error message no longer appears. Thanks!
@joshku thanks for confirming, can we close this ?
Yea, since it is no longer an issue. I can close this.
Most helpful comment
As of now
kata-runtime 1.9.0~alpha0-41requireskata-linux-container 4.19.52.45-35.Failures may also happen if not all packages are published at the same time on opensuse.org: one more reason to switch to Packagecloud?