Open kaniini opened 1 year ago
I had thought this was handled, but I was incorrect. We handled the !
for a package's dependencies, not for the package itself.
What is the correct logic for handling this, and what would be valid tests? Obviously, testing includes a case that triggers "required not installed, yet installed" and another case that has "required not install, and was not installed". But how do we construct scenarios that trigger that?
should be taken as a constraint that py3.10-installer should never be installed.
What does "never" mean? That it cannot appear later in the list? Or that nothing can depend on it? Does it mean that we add it to the "conflicts" list, and if it comes up later (or earlier), we have an error?
consider the following configuration:
We get the error:
buildImage failed: installing apk packages: error getting package dependencies: could not find package, alias or a package that provides !py3.10-installer in indexes
But
!py3.10-installer
is a valid dependency for/etc/apk/world
, and should be taken as a constraint thatpy3.10-installer
should never be installed.