Public bug reported: Binary package hint: apt
I'm not sure if this is a problem with the documentation, or a problem with the application, however apt is not behaving as expected when pinning negative values. According to man 5 apt_preferences, a Pin-Priority "P < 0 prevents the version from being installed." Now I'll take a package at random and pin it in /etc/apt/preferences: Package: python-tcm Pin: version 0.5.1-0ubuntu4 Pin-Priority: -100 And yet, the package attempts to install: [EMAIL PROTECTED]:/tmp# apt-get -Vs install python-tcm Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: pessulus (2.16.3-0ubuntu1) python-tcm (0.5.1-0ubuntu4) 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Inst python-tcm (0.5.1-0ubuntu4 Ubuntu:7.10/gutsy) Conf python-tcm (0.5.1-0ubuntu4 Ubuntu:7.10/gutsy) The same occurs with a generalized version (Pin: version *). ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- pinning negative preferences not preventing installation https://bugs.launchpad.net/bugs/185692 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs