[Bug 2133030] Re: "apt-get install" OOMs on 25.10 (podman container build)

Eero-t-tamminen 2133030 at bugs.launchpad.net
Wed Nov 26 16:59:09 UTC 2025


Thanks for the quick test! I guess then it really is dependent on
network errors / setup.

My VPN being over WLAN may not have helped matters either (I have no
idea what parts of the network was responsible for the bad connectivity:
VPN, WLAN, ISP, company proxies etc).

Maybe disconnecting & connecting network connection few times while
packages are downloaded, would simulate those conditions enough to see
significant impact on apt-get memory usage?

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

Title:
  "apt-get install" OOMs on 25.10 (podman container build)

Status in apt package in Ubuntu:
  Incomplete

Bug description:
  *Setup*

  Container spec using "ubuntu:25.10" as base.

  Podman is used for the container build i.e. overlayfs is involved (on
  Fedora 42 host).

  On machine with 8GB RAM (with half of that available without swapping
  as it's normal desktop with Browser etc).

  *Test-steps*

  Container runs as first command:

  "apt-get update && apt-get install -y --no-install-recommends intel-
  opencl-icd ffmpeg"

  When doing install with only couple of packages everything's fine, but
  if there are many (e.g. dependent) packages being installed,
  especially if some of them are large, apt-get memory usage explodes.

  Its virtual allocations raise in maybe 10 secs to tens of GBs, and RSS
  (according to top) to as many GBs as fits into machine. Machine start
  swapping & install never finishes due to kernel OOM killer axing apt-
  get to save the device.

  This is from within company VPN network with proxies & firewalls, and
  there may have been network connectivity issues => it's possible that
  the bad / slow connectivity triggers something in apt-get.

  However, there's never been such problem with apt-get in 20.04, so I'm
  fairly sure this OOM-inducing leakage / memory usage is apt-get
  regression between 24.04 and 25.10.

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




More information about the foundations-bugs mailing list