iptables and ebtables missing 'alternatives' dependency in Photon 5 GA repo
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Packages iptables and ebtables in the Photon 5 package repository have introduced a dependency on the alternatives package that is not satisfied when using a minimal installation.
Affected packages
iptables-1.8.13-2.ph5.x86_64ebtables-2.0.11-4.ph5.x86_64
Error observed
When running tdnf install or tdnf distro-sync on a minimal Photon 5 installation (e.g. via the photon-minimal ISO), the following error occurs:
1. package iptables-1.8.13-2.ph5.x86_64 requires alternatives, but none of the providers can be installed
Found 1 problem(s) while resolving
Error(1301) : Solv general runtime error
and/or:
1. package ebtables-2.0.11-4.ph5.x86_64 requires alternatives, but none of the providers can be installed
Found 1 problem(s) while resolving
Error(1301) : Solv general runtime error
Steps to reproduce
- Boot from the
photon-minimal-5.0-dde71ec57.x86_64.iso(GA ISO) - Install a minimal set of packages (without
alternatives) - Run
tdnf install iptables ebtables -yortdnf distro-sync -y --refresh
Expected behavior
iptables and ebtables should either bundle alternatives as an explicit dependency in their RPM spec, or the photon-minimal ISO should include alternatives by default.
Workaround
Explicitly install alternatives before installing iptables/ebtables:
tdnf install alternatives -y
Context
Discovered while building CAPI node images using kubernetes-sigs/image-builder against the Photon 5 GA repo.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the dependency failure from the photon-minimal-5.0-dde71ec57.x86_64.iso with tdnf, then inspect the RPM specifications for iptables and ebtables and the package set for the photon-minimal ISO. Determine which packaging path should provide alternatives, and verify that installing or synchronizing iptables and ebtables succeeds on a minimal installation without the workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100