[Bug 1943125] [NEW] devscripts breaks apt

sascha arthur 1943125 at bugs.launchpad.net
Thu Sep 9 11:04:11 UTC 2021


Public bug reported:

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?

** Affects: devscripts (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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/*
+ 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?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/1943125

Title:
  devscripts breaks apt

Status in devscripts package in Ubuntu:
  New

Bug 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
  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1943125/+subscriptions




More information about the foundations-bugs mailing list