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_64
ebtables-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 -y or tdnf 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.
Summary
Packages
iptablesandebtablesin the Photon 5 package repository have introduced a dependency on thealternativespackage 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_64Error observed
When running
tdnf installortdnf distro-syncon a minimal Photon 5 installation (e.g. via thephoton-minimalISO), the following error occurs:and/or:
Steps to reproduce
photon-minimal-5.0-dde71ec57.x86_64.iso(GA ISO)alternatives)tdnf install iptables ebtables -yortdnf distro-sync -y --refreshExpected behavior
iptablesandebtablesshould either bundlealternativesas an explicit dependency in their RPM spec, or thephoton-minimalISO should includealternativesby default.Workaround
Explicitly install
alternativesbefore installingiptables/ebtables:Context
Discovered while building CAPI node images using kubernetes-sigs/image-builder against the Photon 5 GA repo.