[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is to possible to "pin" based on package origin AND package versioning with a single "Pin:" line (to stay within winehq stable)?



On Tue, 18 Feb 2025, Tim Woodall wrote:

On Tue, 18 Feb 2025, Sophoklis Goumas wrote:

Hello.

I've started with this:
$ cat /etc/apt/preferences.d/winehq-v9
Package: *:any
Pin: release o="dl.winehq.org", v=9*
Pin-Priority: 625


Done some tests.

Package: *
Pin: release o=dl.winehq.org,v=9*
Pin-Priority: 625

I suspect that that is what you wanted. However, the release file:

Architectures: i386 amd64 all
Codename: bookworm
Components: main
Date: Sun, 09 Feb 2025 15:54:15 +0000
Description: WineHQ packages
Label: winehq
Origin: dl.winehq.org
Suite: stable

There is no version. You'll need to match on codename or suite.

Try
Package: *
Pin: release o=dl.winehq.org,n=bookworm
Pin-Priority: 625



Reply to: