Skip to content

Conversation

@stasadev
Copy link
Owner

The Issue

Using:

$ ddev add-on get stasadev/ddev-python2
$ ddev restart
...
4.200 E: Package 'mime-support' has no installation candidate
...

How This PR Solves The Issue

mime-support is a dependency for python2 and it's been removed from Debian Trixie.
It was already a transitional package for media-types: https://packages.debian.org/bookworm/mime-support

I downloaded mime-support and its dependency mailcap from:

Then updated the assets here to include these packages in the archives: https://github.com/stasadev/ddev-python2/releases/tag/v1.0.0

So the only required change is to remove mime-support from .ddev/config.python2.yaml.

People using DDEV v1.25.0 only need to do one of the following:

  • Remove mime-support manually
  • Or run ddev add-on get stasadev/ddev-python2, which will do the same

It will continue to work with DDEV v1.24.x as well.

Manual Testing Instructions

ddev add-on get https://github.com/stasadev/ddev-python2/tarball/refs/pull/12/head
ddev restart
ddev exec python -V

Automated Testing Overview

Release/Deployment Notes

@stasadev stasadev merged commit 184b239 into main Nov 10, 2025
2 checks passed
@stasadev stasadev deleted the 20251110_stasadev_trixie branch November 10, 2025 17:58
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.

2 participants