[pkg-go] Bug#983395: podman lacks a runtime dependency on rootlesskit

Shengjing Zhu zhsj at debian.org
Wed Mar 10 15:55:55 GMT 2021

On Wed, Mar 10, 2021 at 11:52 PM Andrej Shadura <andrewsh at debian.org> wrote:
> Hi,
> On Wed, 10 Mar 2021, at 16:48, Shengjing Zhu wrote:
> > On Wed, Mar 10, 2021 at 11:46 PM Andrej Shadura <andrewsh at debian.org> wrote:
> > > Have you tried doing this on a newly installed system? Because that’s what I did: installed Debian in a VM, installed podman, attempted to pull an image, got an error. Not much more.
> > >
> >
> > Probably you want to try `reportbug`, which at least tells us what you
> > have installed.
> andrewsh at debian ~ [100]> sudo apt update
> Get:1 http://deb.debian.org/debian testing InRelease [142 kB]
> Get:2 http://deb.debian.org/debian testing/main Sources.diff/Index [63.6 kB]
> Ign:2 http://deb.debian.org/debian testing/main Sources.diff/Index
> Get:3 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
> Ign:3 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index
> Get:4 http://deb.debian.org/debian testing/main Translation-en.diff/Index [63.6 kB]
> Get:5 http://deb.debian.org/debian testing/contrib amd64 Packages.diff/Index [63.3 kB]
> Get:6 http://deb.debian.org/debian testing/contrib Translation-en.diff/Index [31.9 kB]
> Get:7 http://deb.debian.org/debian testing/main Translation-en T-2021-03-10-0200.31-F-2021-02-11-0159.46.pdiff [49.3 kB]
> Get:8 http://deb.debian.org/debian testing/contrib amd64 Packages T-2021-03-10-0200.31-F-2021-02-11-0159.46.pdiff [5,647 B]
> Get:7 http://deb.debian.org/debian testing/main Translation-en T-2021-03-10-0200.31-F-2021-02-11-0159.46.pdiff [49.3 kB]
> Get:8 http://deb.debian.org/debian testing/contrib amd64 Packages T-2021-03-10-0200.31-F-2021-02-11-0159.46.pdiff [5,647 B]
> Get:9 http://deb.debian.org/debian testing/contrib Translation-en T-2021-02-19-1359.46-F-2021-02-17-0759.56.pdiff [50 B]
> Get:9 http://deb.debian.org/debian testing/contrib Translation-en T-2021-02-19-1359.46-F-2021-02-17-0759.56.pdiff [50 B]
> Get:10 http://deb.debian.org/debian testing/main Sources [8,707 kB]
> Get:11 http://deb.debian.org/debian testing/main amd64 Packages [8,208 kB]
> Fetched 17.4 MB in 12s (1,401 kB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 1163 packages can be upgraded. Run 'apt list --upgradable' to see them.
> andrewsh at debian ~> sudo apt install podman
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer required:
>   aisleriot cdrdao dconf-cli diffstat dvdauthor espeak-ng-data five-or-more four-in-a-row gdebi gdebi-core gedit gedit-common gedit-plugin-bookmarks gedit-plugin-bracket-completion
>   gedit-plugin-character-map gedit-plugin-code-comment gedit-plugin-color-picker gedit-plugin-color-schemer gedit-plugin-commander gedit-plugin-draw-spaces gedit-plugin-find-in-files gedit-plugin-git
>   gedit-plugin-join-lines gedit-plugin-multi-edit gedit-plugin-smart-spaces gedit-plugin-synctex gedit-plugin-terminal gedit-plugin-translate gedit-plugin-word-completion gedit-plugin-zeitgeist
>   gedit-plugins gedit-plugins-common gir1.2-atspi-2.0 gir1.2-ggit-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gtksource-3.0 gir1.2-gucharmap-2.90 gir1.2-javascriptcoregtk-4.0
>   gir1.2-packagekitglib-1.0 gir1.2-rb-3.0 gir1.2-vte-2.91 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gjs gnome-chess gnome-disk-utility gnome-games gnome-klotski gnome-mahjongg gnome-mines gnome-nibbles
>   gnome-robots gnome-sound-recorder gnome-sudoku gnome-system-monitor gnome-taquin gnome-tetravex gnome-video-effects gnote growisofs gstreamer1.0-nice gstreamer1.0-plugins-ugly gtk2-engines
>   gtk2-engines-murrine guile-2.2-libs hexchat hexchat-common hexchat-perl hexchat-plugins hexchat-python3 hitori hoichess iagno intltool-debian libao-common libao4 libappstream4 libapt-pkg-perl
>   libarchive-zip-perl libasync-mergepoint-perl libatk-adaptor libaudio2 libavahi-gobject0 libavahi-ui-gtk3-0 libbotan-2-9 libbrlapi0.6 libbrlapi0.8 libburn4 libcacard0 libcapture-tiny-perl
>   libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libclone-perl libdigest-bubblebabble-perl libdiscid0 libdotconf0 libdvdread4 libemail-valid-perl libespeak-ng1 libexporter-tiny-perl
>   libfarstream-0.2-5 libfcgi-perl libfcgi0ldbl libfontembed1 libfreerdp2-2 libfuture-perl libgadu3 libgit2-27 libgit2-glib-1.0-0 libgjs0g libgnome-games-support-1-3 libgnome-games-support-common
>   libgpod-common libgpod4 libgspell-1-1 libgtk-vnc-2.0-0 libgtkmm-3.0-1v5 libgtkspell3-3-0 libgucharmap-2-90-7 libgutenprint-common libgutenprint9 libgvnc-1.0-0 libgweather-3-15 libhttp-parser2.8
>   libio-async-perl libio-pty-perl libio-string-perl libipc-run-perl libisofs6 libjim0.77 libjte1 liblist-moreutils-perl liblist-moreutils-xs-perl liblouis-data liblouis17 liblouisutdml-bin
>   liblouisutdml-data liblouisutdml8 libmbedcrypto3 libmbedtls12 libmbedx509-0 libmbim-glib4 libmbim-proxy libmeanwhile1 libminiupnpc17 libmusicbrainz5-2 libmusicbrainz5cc2v5 libnatpmp1 libneon27-gnutls
>   libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libopencore-amrnb0 libopencore-amrwb0 libpackagekit-glib2-18 libparse-debianchangelog-perl libpath-tiny-perl libpcaudio0
>   libperl4-corelibs-perl libperlio-gzip-perl libphodav-2.0-0 libphodav-2.0-common libpurple-bin libpurple0 libqmi-glib5 libqmi-proxy libqpdf21 libqqwing2v5 libraw19 librhythmbox-core10
>   librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libsgutils2-2 libsidplay1v5 libsonic0 libspeechd2
>   libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libstruct-dumb-perl libtest-fatal-perl libtest-refcount-perl libtext-levenshtein-perl libtspi1 libunicode-utf8-perl libusbredirhost1
>   libusbredirparser1 libwinpr2-2 libwnck-3-0 libwnck-3-common libx264-155 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl
>   libxres1 libyaml-libyaml-perl libzeitgeist-2.0-0 libzephyr4 lightsoff lintian mate-themes media-player-info mousetweaks orca packagekit packagekit-tools patchutils pidgin pidgin-data python-dbus
>   python3-brlapi python3-gst-1.0 python3-louis python3-mako python3-markupsafe python3-pyatspi python3-speechd python3-xdg python3.7 python3.7-minimal quadrapassel rhythmbox rhythmbox-data
>   rhythmbox-plugins shotwell shotwell-common simple-scan sound-icons speech-dispatcher speech-dispatcher-audio-plugins speech-dispatcher-espeak-ng spice-client-glib-usb-acl-helper ssl-cert swell-foop
>   system-config-printer t1utils tali update-inetd vinagre vino xbrlapi xdg-user-dirs-gtk
> Use 'sudo apt autoremove' to remove them.
> The following additional packages will be installed:
>   conmon containernetworking-plugins golang-github-containers-common golang-github-containers-image runc
> Suggested packages:
>   containers-storage docker-compose
> Recommended packages:
>   buildah fuse-overlayfs slirp4netns catatonit | tini | dumb-init uidmap golang-github-containernetworking-plugin-dnsname criu

Have you seen this? There are a bunch of recommended packages that you
don't install. Especially `uidmap`.
It's just fine if you don't install them, then you don't have a
working podman without root. You need to use root to run podman if you
don't install the `uidmap` package.

> The following NEW packages will be installed:
>   conmon containernetworking-plugins golang-github-containers-common golang-github-containers-image podman runc
> 0 upgraded, 6 newly installed, 0 to remove and 1163 not upgraded.
> Need to get 19.3 MB/19.3 MB of archives.
> After this operation, 97.1 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> Get:1 http://deb.debian.org/debian testing/main amd64 containernetworking-plugins amd64 0.9.0-1+b1 [7,289 kB]
> Get:2 http://deb.debian.org/debian testing/main amd64 golang-github-containers-image all 5.10.3-1 [29.1 kB]
> Get:3 http://deb.debian.org/debian testing/main amd64 golang-github-containers-common all 0.33.4+ds1-1 [16.0 kB]
> Get:4 http://deb.debian.org/debian testing/main amd64 runc amd64 1.0.0~rc93+ds1-2 [2,423 kB]
> Get:5 http://deb.debian.org/debian testing/main amd64 podman amd64 3.0.1+dfsg1-1 [9,512 kB]
> Fetched 19.3 MB in 6s (3,326 kB/s)
> Selecting previously unselected package conmon.
> (Reading database ... 189012 files and directories currently installed.)
> Preparing to unpack .../0-conmon_2.0.25+ds1-1_amd64.deb ...
> Unpacking conmon (2.0.25+ds1-1) ...
> Selecting previously unselected package containernetworking-plugins.
> Preparing to unpack .../1-containernetworking-plugins_0.9.0-1+b1_amd64.deb ...
> Unpacking containernetworking-plugins (0.9.0-1+b1) ...
> Selecting previously unselected package golang-github-containers-image.
> Preparing to unpack .../2-golang-github-containers-image_5.10.3-1_all.deb ...
> Unpacking golang-github-containers-image (5.10.3-1) ...
> Selecting previously unselected package golang-github-containers-common.
> Preparing to unpack .../3-golang-github-containers-common_0.33.4+ds1-1_all.deb ...
> Unpacking golang-github-containers-common (0.33.4+ds1-1) ...
> Selecting previously unselected package runc.
> Preparing to unpack .../4-runc_1.0.0~rc93+ds1-2_amd64.deb ...
> Unpacking runc (1.0.0~rc93+ds1-2) ...
> Selecting previously unselected package podman.
> Preparing to unpack .../5-podman_3.0.1+dfsg1-1_amd64.deb ...
> Unpacking podman (3.0.1+dfsg1-1) ...
> Setting up runc (1.0.0~rc93+ds1-2) ...
> Setting up golang-github-containers-image (5.10.3-1) ...
> Setting up conmon (2.0.25+ds1-1) ...
> Setting up containernetworking-plugins (0.9.0-1+b1) ...
> Setting up golang-github-containers-common (0.33.4+ds1-1) ...
> Setting up podman (3.0.1+dfsg1-1) ...
> Created symlink /etc/systemd/user/sockets.target.wants/podman.socket → /usr/lib/systemd/user/podman.socket.
> Created symlink /etc/systemd/system/sockets.target.wants/podman.socket → /lib/systemd/system/podman.socket.
> podman.service is a disabled or a static unit, not starting it.
> Created symlink /etc/systemd/system/multi-user.target.wants/podman-auto-update.service → /lib/systemd/system/podman-auto-update.service.
> Created symlink /etc/systemd/system/timers.target.wants/podman-auto-update.timer → /lib/systemd/system/podman-auto-update.timer.
> Processing triggers for man-db (2.8.5-2) ...
> andrewsh at debian ~> podman
> Error: missing command 'podman COMMAND'
> Try 'podman --help' for more information.
> andrewsh at debian ~ [125]> podman pull debian:testing-slim
> Error: cannot find newuidmap: exec: "newuidmap": executable file not found in $PATH
> andrewsh at debian ~ [125]>
> --
> Cheers,
>   Andrej

Shengjing Zhu

More information about the Pkg-go-maintainers mailing list