Package: aptitude
Version: 0.4.11.11-1
Severity: important

To avoid the breakage associated with the Xorg 7.4 upgrade (it does
not support triple-head), I added the following pins to
/etc/apt/preferences:

  Package: xserver-xorg-core
  Pin: version 2:1.4.2-11
  Pin-Priority: 1001

  Package: xserver-xorg
  Pin: version 1:7.3+18
  Pin-Priority: 1001

  Package: x11-common
  Pin: version 1:7.3+18
  Pin-Priority: 1001

  Package: xserver-xorg-video-all
  Pin: version 1:7.3+18
  Pin-Priority: 1001

  Package: xorg
  Pin: version 1:7.3+18
  Pin-Priority: 1001

and verified that APT correctly interprets them. A pin of 1001
basically means never to install a version higher than the pinned
one, and even to downgrade the package, should APT find a higher
version installed.

apt-get honours my request:

  piper:~# apt-get dist-upgrade
  [...]
  The following packages have been kept back:
    xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse
    [...]
  0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.

aptitude, however, does not, and instead suggests solutions that
include steps that are clearly against the rules associated with the
pins. I have to answer 'n' twice before a (somewhat) acceptable
solution is presented:

  The following actions will resolve these dependencies:

  Remove the following packages:
  xserver-xorg-video-cyrix
  xserver-xorg-video-tga
  xserver-xorg-video-vga

  Install the following packages:
  xserver-common [2:1.6.0-1 (unstable)]

  Upgrade the following packages:
  xserver-xorg-core [2:1.4.2-11 (testing, now) -> 2:1.6.0-1
  (unstable)]
  xserver-xorg-video-all [1:7.3+18 (testing, now) -> 1:7.4+1
  (unstable)]

  Score is -832

  Accept this solution? [Y/n/q/?] n
  The following actions will resolve these dependencies:

  Remove the following packages:
  xserver-xorg-video-all
  xserver-xorg-video-cyrix
  xserver-xorg-video-tga
  xserver-xorg-video-vga

  Install the following packages:
  console-setup [1.32 (unstable)]
  console-terminus [4.26-2.1 (unstable, testing)]
  xserver-common [2:1.6.0-1 (unstable)]

  Upgrade the following packages:
  xserver-xorg [1:7.3+18 (testing, now) -> 1:7.4+1 (unstable)]
  xserver-xorg-core [2:1.4.2-11 (testing, now) -> 2:1.6.0-1
  (unstable)]

  Score is -841

  Accept this solution? [Y/n/q/?] n
  The following actions will resolve these dependencies:

  Remove the following packages:
  xserver-xorg-video-all
  xserver-xorg-video-voodoo

  Keep the following packages at their current version:
  xserver-xorg-input-evdev [1:2.0.8-1 (testing, now)]
  xserver-xorg-input-kbd [1:1.3.1-1 (testing, now)]
  xserver-xorg-input-mouse [1:1.3.0-1 (testing, now)]
  xserver-xorg-input-synaptics [0.14.7~git20070706-3 (testing, now)]
  xserver-xorg-input-wacom [0.8.1.6-1 (testing, now)]
  xserver-xorg-video-apm [1:1.2.0-1 (testing, now)]
  xserver-xorg-video-ark [1:0.7.0-1 (testing, now)]
  xserver-xorg-video-ati [1:6.9.0-1+lenny4 (testing, now)]
  xserver-xorg-video-chips [1:1.2.0-1 (testing, now)]
  xserver-xorg-video-cirrus [1:1.2.1-1.lenny1 (testing, now)]
  xserver-xorg-video-dummy [1:0.3.0-1 (testing, now)]
  xserver-xorg-video-fbdev [1:0.4.0-1 (testing, now)]
  xserver-xorg-video-glint [1:1.2.1-1 (testing, now)]
  xserver-xorg-video-i128 [1:1.3.0-1 (testing, now)]
  xserver-xorg-video-intel [2:2.3.2-2+lenny6 (testing, now)]
  xserver-xorg-video-mach64 [6.8.0-1 (testing, now)]
  xserver-xorg-video-mga [1:1.4.9.dfsg-1 (testing, now)]
  xserver-xorg-video-neomagic [1:1.2.1-1 (testing, now)]
  xserver-xorg-video-nv [1:2.1.10-1 (testing, now)]
  xserver-xorg-video-openchrome [1:0.2.903+svn741-1 (testing, now)]
  xserver-xorg-video-r128 [6.8.0-1 (testing, now)]
  xserver-xorg-video-radeon [1:6.9.0-1+lenny4 (testing, now)]
  xserver-xorg-video-radeonhd [1.2.1-2 (testing, now)]
  xserver-xorg-video-rendition [1:4.2.0.dfsg.1-2 (testing, now)]
  xserver-xorg-video-s3 [1:0.6.0-1 (testing, now)]
  xserver-xorg-video-s3virge [1:1.10.1-1 (testing, now)]
  xserver-xorg-video-savage [1:2.2.1-2.lenny1 (testing, now)]
  xserver-xorg-video-siliconmotion [1:1.6.0-1 (testing, now)]
  xserver-xorg-video-sis [1:0.10.0-1 (testing, now)]
  xserver-xorg-video-sisusb [1:0.9.0-1 (testing, now)]
  xserver-xorg-video-tdfx [1:1.4.0-1 (testing, now)]
  xserver-xorg-video-trident [1:1.3.0-1 (testing, now)]
  xserver-xorg-video-tseng [1:1.2.0-1 (testing, now)]
  xserver-xorg-video-v4l [0.2.0-1 (testing, now)]
  xserver-xorg-video-vesa [1:1.3.0-4 (testing, now)]
  xserver-xorg-video-vmware [1:10.16.2-1 (testing, now)]

  Score is 428

  Accept this solution? [Y/n/q/?] y

Please make sure aptitude respects pins and does not offer an easy
way out, or runs the risk of the admin answering 'y' when in fact
s/he didn't want to.

-- Package-specific info:
aptitude 0.4.11.11 compiled at Nov 20 2008 04:02:44
Compiler: g++ 4.3.2
Compiled against:
  apt version 4.6.0
  NCurses version 5.6
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20090404
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-gate.so.1 =>  (0xb7f57000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0xb7e82000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7e44000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7e3d000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7d79000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb7cb5000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7b5d000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7b48000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7b2f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7a40000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7a1a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a0d000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb78ad000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb78a9000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb78a4000)
        /lib/ld-linux.so.2 (0xb7f58000)
Terminal: rxvt-unicode
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.20.2          Advanced front-end for dpkg
ii  libc6                  2.9-7             GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-4          high-level terminal interface libr
ii  libept0                0.5.26            High-level library for managing De
ii  libgcc1                1:4.3.3-7         GCC support library
ii  libncursesw5           5.7+20090404-1    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.3.3-7           The GNU Standard C++ Library v3
ii  libxapian15            1.0.10-2          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- debconf-show failed


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to