containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
22.37k stars 2.31k forks source link

podman : Depends: containers-common (>= 4:1) but it is not going to be installed #23042

Closed LeiYangGH closed 1 week ago

LeiYangGH commented 2 weeks ago

Issue Description

i'm newbie and would like to try podman, os is ubuntu 24.04, and has docker running

Client: Docker Engine - Community
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:01 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:01 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.25
  GitCommit:        d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

after these commands

add-apt-repository universe
apt update

root@iZwz9a5ntl5zp6ce18l7p2Z:~# sudo apt install podman
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:
 podman : Depends: containers-common (>= 4:1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@iZwz9a5ntl5zp6ce18l7p2Z:~#

Steps to reproduce the issue

Steps to reproduce the issue 1. 2. 3.

Describe the results you received

failed to install podman

Describe the results you expected

install success, compatible with current docker verison. certainly i don't want to upgrade docker of its dependency libraries.

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

Luap99 commented 1 week ago

Bug reports for the official ubuntu repository need to file against ubuntu not upstream as we have nothing to do with packaging there.