kanotix.com

General Support - Apt pinning a specific app

shame - 11.06.2006, 22:57 Uhr
Titel: Apt pinning a specific app
I followed a guide on ubuntu forums a while ago to install amsn with antialiased fonts and other goodies.
A while after I did a dist-upgrade whch installed a newer version of amsn which went back to the crappy, blocky look so I re-did what I did before and pinned amsn in synaptic to stop it being upgraded.
Now this works fine when upgrading with synaptic but if I do a dist-upgrade via the command line it wants to upgrade amsn still.
I've tried adding it to /etc/apt/preferences but it still wants to upgrade.
Here is the preferences file -
Code:
Package: amsn*
Pin: version 0.95-1
Pin-Priority: 1001

Package: *
Pin: release a=unstable
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 200

Package: *
Pin: release a=experimental
Pin-Priority: 50

What am I doing wrong?

<EDIT>
Apologies, I've sorted it out. There are theme and plugin packages with the same version which is why I put the * after amsn.
After removing the * amsn is now being kept back when doing dist-upgrade.
hubi - 11.06.2006, 23:23 Uhr
Titel: Apt pinning a specific app
Hi shame,

just thought of the asterix as well, so I just want to thank you for posting the solution.

Greetings
hubi
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007