2021-09-09 11:06:39 |
sascha arthur |
description |
Hello,
devscripts package seem to break apt installs.
using following Dockerfile:
FROM ubuntu:impish
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && apt-get install -y nano && \
rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/*
RUN apt-get update -qq && apt-get install -y devscripts && \
rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/*
RUN apt-get update -qq && apt-get install -y htop && \
rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/*
docker build -t test .
Will break installing "htop" with random post apt install errors:
E: Problem executing scripts APT::Update::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
Excluding devscripts package will solve the issue.
Any idears why devscripts is breaking apt? |
Hello,
devscripts package seem to break apt installs.
using following Dockerfile:
FROM ubuntu:impish
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && apt-get install -y nano
RUN apt-get update -qq && apt-get install -y devscripts
RUN apt-get update -qq && apt-get install -y htop
docker build -t test .
Will break installing "htop" with random post apt install errors:
E: Problem executing scripts APT::Update::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
Excluding devscripts package will solve the issue.
Any idears why devscripts is breaking apt? |
|