Podman: Ubuntu package missing dependency "uidmap"

Created on 23 Jan 2019  Â·  9Comments  Â·  Source: containers/podman

Steps to reproduces

sudo add-apt-repository ppa:projectatomic/ppa
sudo apt-get update
sudo apt-get install podman

$ podman version

Version:            1.0.1-dev
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Execute as non-root user

$ podman images

ERRO[0000] cannot find newuidmap: exec: "newuidmap": executable file not found in $PATH

Fix it via:

$ sudo apt-get install uidmap

I think it should be defined as dependency.

Most helpful comment

I think we're also missing slirp4netns

All 9 comments

Lokesh can you fix the package requires for Ubuntu?

Fix it via:

$ sudo apt-get install uidmap

I think it should be defined as dependency.

Thanks for the fix. It worked for me on Ubuntu 18.04 running into the same issue.

@jplandrain So you see this as fixed? @lsm5 Can I close this issue?

No, not at all. The package _uidmap_ should be a dependency. At the moment, it's still not the case and so I had to install it manually as described by @pipiobjo (whom I was thanking for his fix, but that is actually a workaround rather than a fix)

I think we're also missing slirp4netns

I think we're also missing slirp4netns

I confirm this too

`➜ ~ podman version
Version: 1.0.1-dev
RemoteAPI Version: 1
Go Version: go1.10.4
OS/Arch: linux/amd64

➜ ~ podman run --rm -it busybox echo hello world
Trying to pull docker.io/library/busybox...Getting image source signatures
Copying blob 697743189b6d: 738.18 KiB / 738.18 KiB [========================] 0s
Copying config d8233ab899d4: 1.46 KiB / 1.46 KiB [==========================] 0s
Writing manifest to image destination
Storing signatures
ERRO[0003] could not find slirp4netns, the network namespace won't be configured: exec: "slirp4netns": executable file not found in $PATH
hello world
`

@jplandrain have you located a ppa for slirp4netns?

@lsm5 is this fixed now?
@pipiobjo is this fixed now?

Sorry for the delay before I could answer. Now I have podman and slirp4netns both installed from ppa:projectatomic/ppa and it works fine. Thank you.

Was this page helpful?
0 / 5 - 0 ratings