Hello,
I use openSUSE Tumbleweed.
I install podman with
sudo zypper in podman
I want to build a dockerfile with content:
FROM ubuntu:18.04
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install avogadro openbox
CMD "avogadro"]
I build it with
podman build . -t avogadro
Error I got below. Thanks in advance.
Preparing to unpack .../049-ubuntu-mono_16.10+18.04.20181005-0ubuntu1_all.deb ...
Unpacking ubuntu-mono (16.10+18.04.20181005-0ubuntu1) ...
Selecting previously unselected package adwaita-icon-theme.
Preparing to unpack .../050-adwaita-icon-theme_3.28.0-1ubuntu1_all.deb ...
Unpacking adwaita-icon-theme (3.28.0-1ubuntu1) ...
Selecting previously unselected package libatspi2.0-0:amd64.
Preparing to unpack .../051-libatspi2.0-0_2.28.0-1_amd64.deb ...
Unpacking libatspi2.0-0:amd64 (2.28.0-1) ...
Selecting previously unselected package libxtst6:amd64.
Preparing to unpack .../052-libxtst6_2%3a1.2.3-1_amd64.deb ...
Unpacking libxtst6:amd64 (2:1.2.3-1) ...
Selecting previously unselected package at-spi2-core.
Preparing to unpack .../053-at-spi2-core_2.28.0-1_amd64.deb ...
Unpacking at-spi2-core (2.28.0-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Lvk74R/054-libboost-python1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb (--unpack):
unable to open file '/var/lib/dpkg/tmp.ci//shlibs': Software caused connection abort
dpkg: error while cleaning up:
unable to securely remove '/var/lib/dpkg/tmp.ci': Transport endpoint is not connected
dpkg: error processing archive /tmp/apt-dpkg-install-Lvk74R/055-
dpkg: error processing archive /tmp/apt-dpkg-install-Lvk74R/104-libgif7_5.1.4-2ubuntu0.1_amd64.deb (--unpack):
cannot access archive '/tmp/apt-dpkg-install-Lvk74R/104-libgif7_5.1.4-2ubuntu0.1_amd64.deb': Transport endpoint is not connected
dpkg: too many errors, stopping
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Transport endpoint is not connected
E: Unable to read /tmp/apt-dpkg-install-Lvk74R - opendir (107: Transport endpoint is not connected)
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: Problem executing scripts DPkg::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
Bus error (core dumped)
Error: error building at STEP "RUN DEBIAN_FRONTEND=noninteractive apt-get -y install avogadro openbox": error while running runtime: exit status 135
I tried to find the error about transport endpoint online, but could not fine relevant info.
I don’t think this is podman, or the container runtime. It seems a network error. You can try running “podman build --network host” so it doesn’t create a network namespace.
tsu2
March 1, 2021, 3:28pm
4
andythe_great:
Hello,
I use openSUSE Tumbleweed.
I install podman with
sudo zypper in podman
I want to build a dockerfile with content:
FROM ubuntu:18.04
RUN apt-get -y update
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install avogadro openbox
CMD "avogadro"]
I build it with
podman build . -t avogadro
Error I got below. Thanks in advance.
Preparing to unpack .../049-ubuntu-mono_16.10+18.04.20181005-0ubuntu1_all.deb ...
Unpacking ubuntu-mono (16.10+18.04.20181005-0ubuntu1) ...
Selecting previously unselected package adwaita-icon-theme.
Preparing to unpack .../050-adwaita-icon-theme_3.28.0-1ubuntu1_all.deb ...
Unpacking adwaita-icon-theme (3.28.0-1ubuntu1) ...
Selecting previously unselected package libatspi2.0-0:amd64.
Preparing to unpack .../051-libatspi2.0-0_2.28.0-1_amd64.deb ...
Unpacking libatspi2.0-0:amd64 (2.28.0-1) ...
Selecting previously unselected package libxtst6:amd64.
Preparing to unpack .../052-libxtst6_2%3a1.2.3-1_amd64.deb ...
Unpacking libxtst6:amd64 (2:1.2.3-1) ...
Selecting previously unselected package at-spi2-core.
Preparing to unpack .../053-at-spi2-core_2.28.0-1_amd64.deb ...
Unpacking at-spi2-core (2.28.0-1) ...
**dpkg: error processing archive** /tmp/apt-dpkg-install-Lvk74R/054-libboost-python1.65.1_1.65.1+dfsg-0ubuntu5_amd64.deb (--unpack):
**unable to open file '/var/lib/dpkg/tmp.ci//shlibs**': Software caused connection abort
dpkg: error while cleaning up:
unable to securely remove '/var/lib/dpkg/tmp.ci': Transport endpoint is not connected
dpkg: error processing archive /tmp/apt-dpkg-install-Lvk74R/055-
dpkg: error processing archive /tmp/apt-dpkg-install-Lvk74R/104-libgif7_5.1.4-2ubuntu0.1_amd64.deb (--unpack):
cannot access archive '/tmp/apt-dpkg-install-Lvk74R/104-libgif7_5.1.4-2ubuntu0.1_amd64.deb': Transport endpoint is not connected
dpkg: too many errors, stopping
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': Transport endpoint is not connected
E: Unable to read /tmp/apt-dpkg-install-Lvk74R - opendir (107: Transport endpoint is not connected)
E: Sub-process /usr/bin/dpkg returned an error code (2)
E: Problem executing scripts DPkg::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
Bus error (core dumped)
Error: error building at STEP "RUN DEBIAN_FRONTEND=noninteractive apt-get -y install avogadro openbox": error while running runtime: exit status 135
Based on the specific error,
Are you running your command with required permissions (elevated)?
IMO it’s likely the term “transport” is misleading, the problem is that the file at the specified location is inaccessible, either the file wasn’t written to that location or the file is there but can’t be read(If it matters to you, you can browse to that location on your system to see if the file is there).
BTW - Questions like this which are about containers are more often posted to the Virtualization forum where all virtualization and closely related containers (which is isolated multi-tenant) technologies are discussed.
TSU
tsu2:
Based on the specific error,
Are you running your command with required permissions (elevated)?
IMO it’s likely the term “transport” is misleading, the problem is that the file at the specified location is inaccessible, either the file wasn’t written to that location or the file is there but can’t be read(If it matters to you, you can browse to that location on your system to see if the file is there).
BTW - Questions like this which are about containers are more often posted to the Virtualization forum where all virtualization and closely related containers (which is isolated multi-tenant) technologies are discussed.
TSU
Thanks for reply.
I did it again just now, and image build just fine, maybe upstream issue.
Thanks.