repro-get icon indicating copy to clipboard operation
repro-get copied to clipboard

Add `repro-get install-by-name --best-effort PKG1 PKG2 ...` to allow installing unpinned packages

Open AkihiroSuda opened this issue 2 years ago • 1 comments

repro-get install-by-name --best-effort PKG1 PKG2 ... will try to use a pinned package if the pin is present in SHA256SUMS. If not present, it will just install the available version, and record the pin to the SHA256SUMS file.

AkihiroSuda avatar Jul 25 '23 13:07 AkihiroSuda

install-by-name will call these commands:

# `apt-get download` does not download deps
apt-get install --download-only -o Dir::Cache::Archives=/foo gcc

dnf install --downloadonly --destdir /foo gcc

(cd /foo && apk fetch --recursive gcc)

pacman -S --downloadonly --noconfirm --cachedir=/foo gcc

AkihiroSuda avatar Sep 11 '23 03:09 AkihiroSuda