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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943125

Title:
  devscripts breaks apt

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to