Is there an existing issue for this?
Current Behavior
commit f85918b changes the python behavior.
I am using lscr.io/linuxserver/webtop:debian-xfce, which uses ghcr.io/linuxserver/baseimage-selkies:debiantrixie as the base image.
The recent change from the commit basically breaks any install debian packaged software using python. For example i have virt-manager installed using the package-install mod. The package python3-gi get install, and yet, when I try to run virt-manager I get a failure that the gi module is not found. Even though the directory and its contents exist in /usr/lib/python3/dist-packages/gi/.
Please consider maybe doing python3 -m venv /lsiopy --system-site-packages ... instead? on Line 188?
https://github.com/linuxserver/docker-baseimage-selkies/blob/debiantrixie/Dockerfile#L188
Expected Behavior
I expect python software installed with apt to function.
Steps To Reproduce
$ docker image ls ghcr.io/linuxserver/baseimage-selkies:debiantrixie
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/linuxserver/baseimage-selkies debiantrixie f5893d44ff08 10 hours ago 2.69GB
$ docker run --rm -it --entrypoint='' ghcr.io/linuxserver/baseimage-selkies:debiantrixie bash
root@174cf0b89d83:/# apt update && apt --yes install python3-apt
...
Setting up python3-apt (3.0.0) ...
Processing triggers for man-db (2.13.1-1) ...
root@174cf0b89d83:/# which python3
/lsiopy/bin/python3
root@174cf0b89d83:/# python3
Python 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import apt
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import apt
ModuleNotFoundError: No module named 'apt'
>>>
Environment
Mostly doesn't matter since I can easily replicate on multiple systems
- OS: Debian
- Docker installed via https://get.docker.com/
Docker creation
Container logs
Is there an existing issue for this?
Current Behavior
commit f85918b changes the python behavior.
I am using
lscr.io/linuxserver/webtop:debian-xfce, which usesghcr.io/linuxserver/baseimage-selkies:debiantrixieas the base image.The recent change from the commit basically breaks any install debian packaged software using python. For example i have
virt-managerinstalled using the package-install mod. The packagepython3-giget install, and yet, when I try to runvirt-managerI get a failure that thegimodule is not found. Even though the directory and its contents exist in/usr/lib/python3/dist-packages/gi/.Please consider maybe doing
python3 -m venv /lsiopy --system-site-packages ...instead? on Line 188?https://github.com/linuxserver/docker-baseimage-selkies/blob/debiantrixie/Dockerfile#L188
Expected Behavior
I expect python software installed with apt to function.
Steps To Reproduce
Environment
Docker creation
Container logs