Pinning a (deb)Package systemwide for apt-get and synaptic alike

Have you ever wondered why a package pinned with, say, synaptic after a couple of days is listed to be updated when using apt-get update? There is a bug persisting at launchpad for the synaptic package. As Michael Vogt, lead developer of the apt family, suggests an easy workaround is to symlink /etc/apt/preferences to /var/lib/synaptic/preferences or vis versa. Also, the issue that when you select a package from the list to be pinned (Package -> Lock Version) the list will be emptied. After you research for that very package it will show a lock next to it (in the state column).

2 Comments

  1. ian said,

    Monday, 7th Apr 2008 at 03:42

    Good to see the possible reason and solution since it’s April 2008 and I’m using Hardy Heron Beta now and the bug still isn’t fixed apparently.

    Thanks for the info

  2. sysblog said,

    Monday, 7th Apr 2008 at 18:32

    Sorry to hear the bug still persists; would be nice to see it fixed. Even though I understand there are many more important once to get hands on.

    How does The Heron feel? Cannot wait for RCs!

Post a Comment