Closed fmg-dave closed 1 year ago
As I understand the version attribute, it is used for validation only.
If you structured your repository so that each package version is tied to a release or suite? If so, you could use the pin attribute of pkg (e.g.,
@martinsteih-lr is right with the pin hint.
I have a deb repository that has multiple versions of a package. I would like to install a specific version (not the latest) and hold it at that version so that it cannot be updated accidentally.
I currently have an entry in
pkg-list
that looks like this:<pkg version="1.2.3">my-package</pkg>
and an entry in
finetuning
that looks like this:<command>apt-mark hold my-package</command>
However ELBE still installs the latest version of the package and fails validation with the error:
I currently get around this by installing the package in
finetuning
:Does Elbe support this use case? Have I used the
version
attribute incorrectly?