[Bug 2133030] Re: "apt-get install" OOMs on 25.10 (podman container build)
Eero-t-tamminen
2133030 at bugs.launchpad.net
Wed Nov 26 17:10:46 UTC 2025
Today network is good, and I cannot reproduce the issue locally any more
=> some kind of network error simulation would be good for catching /
fixing issues like this, I wasted yesterday hours in vain because of
those apt-get OOMs. :-/
--
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