Skip to content

Update apt test, hello-traditional is removed in Debian trixie - #85131

Open
leegarrett wants to merge 1 commit into
ansible:develfrom
leegarrett:fix-integration-test-apt
Open

Update apt test, hello-traditional is removed in Debian trixie#85131
leegarrett wants to merge 1 commit into
ansible:develfrom
leegarrett:fix-integration-test-apt

Conversation

@leegarrett

Copy link
Copy Markdown
Contributor
SUMMARY

hello-traditional is unavailable in the upcoming Debian trixie release, and very likely Ubuntu >= 25.10 will follow suit.

So instead, use postfix and exim4 as package conflicts examples, as those two packages conflict each other, are available in all supported Debian and Ubuntu releases, and will exist in this form in the foreseeable future.

This is a stop-gap measure. A better way to test this is to use equivs and install the resulting .deb packages. However, "fail_on_autoremove" has no effect when using the deb: parameter (bug to be filed).

This should ideally also go in the stable-2.19 branch.

ISSUE TYPE
  • Test Pull Request

hello-traditional is unavailable in the upcoming Debian trixie release, and very
likely Ubuntu >= 25.10 will follow suit.

So instead, use postfix and exim4 as package conflicts examples, as those two
packages conflict each other, are available in all supported Debian and Ubuntu
releases, and will exist in this form in the foreseeable future.

This is a stop-gap measure. A better way to test this is to use equivs and
install the resulting .deb packages. However, "fail_on_autoremove" has no effect
when using the deb: parameter (bug to be filed).
@ansibot ansibot added test This PR relates to tests. needs_triage Needs a first human triage before being processed. labels May 12, 2025

# INSTALL WITHOUT REMOVALS
- name: Install hello, that conflicts with hello-traditional
- name: Install postfix, that conflicts with exim4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we create small packages instead of using postfix and exim4?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let us rename all occurrences of hello with a variable so that in the future we don't have to change the entire file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I already have a patch ready that does exactly that, by creating a package with equivs. However, apt with the deb: parameter ignores fail_on_autoremove: yes, and as such the package gets installed (with removing the other), and the test fails. So this is really just a stopgap measure until we get that other bug fixed (it's still on my TODO list to file)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label May 21, 2025
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 27, 2025
@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html stale_pr This PR has not been pushed to for more than one year. labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. stale_pr This PR has not been pushed to for more than one year. test This PR relates to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants