Skip to content

Conversation

stephanosio
Copy link
Member

One of the i386 packages installed in the base Docker image depends on python3-minimal and APT tries to nuke the previously installed python3 and all its friends, including software-properties-common, during the i386 package installation.

Marking python3 and python3-apt as held seems to make APT not want to do that, and keeps python3 and its friends in place without any hacks.

This should, hopefully, be the ultimate fix for all the i386 package dependency issues we have come across in the past.

One of the i386 packages installed in the base Docker image depends on
`python3-minimal` and APT tries to nuke the previously installed `python3`
and all its friends, including `software-properties-common`, during the
i386 package installation.

Marking `python3` and `python3-apt` as held seems to make APT not want to
do that, and keeps `python3` and its friends in place without any hacks.

This should, hopefully, be the ultimate fix for all the i386 package
dependency issues we have come across in the past.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio stephanosio marked this pull request as ready for review August 17, 2025 15:40
Copy link
Member Author

@stephanosio stephanosio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are no longer seeing the following error after this, so it seems to be working well for now ...

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libglib2.0-dev:i386 : Depends: libglib2.0-dev-bin:i386 (= 2.80.0-6ubuntu3.4)
                       Depends: libglib2.0-dev-bin-linux:i386 (= 2.80.0-6ubuntu3.4)
 python3 : PreDepends: python3-minimal (= 3.12.3-0ubuntu2) but it is not going to be installed
           Depends: python3.12 (>= 3.12.3-0~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

@stephanosio stephanosio merged commit a9a87a1 into zephyrproject-rtos:main Aug 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant