-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using version pinning and virtual packages results in unsatisfiable constraints #205
Comments
I'm seeing the same thing. |
@ncopa is this an upstream bug? |
In general using the With that said, it might be a problem in the dependency resolver. It is most certainly an apk-tools bug at any rate, as using |
Still the same with Alpine 3.6 apk add --no-cache --virtual foo gosu@testing=1.9-r0
No problem w/o |
I will look into it in apk-tools as time permits. |
any update on this? |
The problem is that |
In other words, the problem is that apk does not properly explain that a child dependency cannot be tagged. Improving apk diagnostics is something I am actively working on at this moment. |
I added a diagnostic for this, but pinned child dependencies are explicitly not allowed by the solver for a multitude of reasons. When you use This will be in the apk-tools 2.10 release. |
Final thoughts:
|
I've been using @kaniini Your advice to use |
When using virtual packages in-conjunction with version pinning results in the package not found. I am trying to install
gdal-dev
which is not inv3.4
but is inedge/testing
. If I remove the virtual package, it installs.Is this possible or bug?
/etc/apk/repositories:
Commands:
Without virtual packages
The text was updated successfully, but these errors were encountered: