clearcontainers / packaging

Packaging data for Clear Containers
11 stars 11 forks source link

cannot install latest packages on ubuntu (ciao-down) #98

Closed gorozco1 closed 7 years ago

gorozco1 commented 7 years ago

This is a mirror of https://github.com/clearcontainers/runtime/issues/540 , we need to track it due it's a packaging issue.

cc-runtime fails to install, sighting that I have held broken packages. Details:

$> sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_$(lsb_release -rs)/ /' >> /etc/apt/sources.list.d/clear-containers.list"
$> curl -fsSL http://download.opensuse.org/repositories/home:/clearcontainers:/clear-containers-3/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add -
$> sudo -E apt-get update
$> sudo -E apt-get install -y cc-runtime cc-proxy cc-shim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 cc-runtime : Depends: qemu-lite (>= 2.7.1+git.741f430a96-6.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$>  apt-cache depends cc-runtime
cc-runtime
  Depends: libc6
  Depends: cc-runtime-bin
  Depends: cc-runtime-config
  Depends: qemu-lite
  Depends: clear-containers-image
  Depends: linux-container
  Depends: cc-proxy
  Depends: cc-shim
  Conflicts: <cc-oci-runtime>
  Replaces: <cc-oci-runtime>
    cc-runtime
gorozco1 commented 7 years ago

This is due debian way of resolve dependencies: >= 2.7.1+git.741f430a96-6.1 is not resolving the actual package 2.7.1+git.741f430a96-7.1