[Feature] allow upgrading to specific package versions without pinning
Summary
I'd like to see a feature that allows upgrading to specific package versions without having to pin them in /etc/apk/world
.
Details
Currently, apk
lacks an easy way to upgrade to specific package versions without pinning.
This could be done by allowing version in apk upgrade
like this apk upgrade package=1.2.3-r0
.
apt
could do this by specifying --only-upgrade
with apt-get install
.
I don't want to add dependencies to the world
file because it can cause problems downstream.
Additional
I've found a workaround for this problem.
OPENSSL_VERSION=3.1.4-r6;
apk add -t .temp libcrypto3="${OPENSSL_VERSION}" libssl3="${OPENSSL_VERSION}";
apk del .temp;