On 2023-04-03 19:12 +0000, Thomas Schweikle wrote: > I'd like to pin audacious to version 4.1. I've defined in > /etc/apt/preferences.d/audacious.pref: > > Package: audacious* > Pin: version 4.1* > Pin-Priority: 1000 > > Package: libaudcore5* > Pin: version 4.1* > Pin-Priority: 1000 > > Package: libaudgui5* > Pin: version 4.1* > Pin-Priority: 1000 > > Package: libaudgt2* > Pin: version 4.1* > Pin-Priority: 1000 > > Now running "apt policy audacious" gives: > audacious: > Installiert: 4.1-2 > Installationskandidat: 4.3-0build3~ubuntu2204 > Versionstabelle: > 4.3-0build3~ubuntu2204 500 > 500 > https://ppa.launchpadcontent.net/ubuntuhandbook1/apps/ubuntu > jammy/main amd64 Packages > *** 4.1-2 500 > 500 http://de.archive.ubuntu.com/ubuntu kinetic/universe amd64 > Packages > 100 /var/lib/dpkg/status > > does not seen to work at all, since the 4.1-2 package has priority 500 > but if pinning would work it should have 1000. What is wrong here?
I do not have a kinetic system at hand, but could not reproduce this problem with apt 2.6.0 on unstable. Maybe you could try to run "apt policy" under strace and see if it actually reads your audacious.pref file, but otherwise I do not really have an idea what is wrong. Cheers, Sven