Package: aptitude
Version: 0.4.11.11-1~lenny1
Severity: important

Hi

I have set preferences for lenny (750) and sid (650) in /etc/apt/preferences
and no default release in /etc/apt/apt.conf.
aptitude ignores these preferences and tries to upgrade packages to the
unstable version. Even when I increase the priority for lenny to a value
above 1000 (which should force a downgrade of the package when it's
installed with a higher version) aptitude tries to do the opposite:

  # apt-cache policy libcaca0 
  libcaca0:
    Installed: 0.99.beta14-1
    Candidate: 0.99.beta14-1
    Version table:
       0.99.beta16-1 0
          650 http://http.us.debian.org sid/main Packages
   *** 0.99.beta14-1 0
         1750 http://http.us.debian.org lenny/main Packages
          100 /var/lib/dpkg/status

  # aptitude full-upgrade
  [..]
  The following packages have unmet dependencies:
  [..]
  The following actions will resolve these dependencies:
  [..]
  Upgrade the following packages:
  libcaca0 [0.99.beta14-1 (testing, now) -> 0.99.beta16-1 (unstable)]
  libcucul0 [0.99.beta14-1 (testing, now) -> 0.99.beta16-1 (unstable)]

This shouldn't happen and makes apt preferences quite useless.

Regards

Uwe

-- Package-specific info:
aptitude 0.4.11.11 compiled at Dec  5 2008 02:43:34
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.20081213
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-gate.so.1 =>  (0xffffe000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0xb7ef6000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7eb8000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7eb1000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7ded000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb7d2c000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb7bd6000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7bc1000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7ba8000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ab9000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7a93000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a86000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb792b000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7927000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7922000)
        /lib/ld-linux.so.2 (0xb7fd3000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (1750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.20.2          Advanced front-end for dpkg
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-4          high-level terminal interface libr
ii  libept0                0.5.22            High-level library for managing De
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libncursesw5           5.7+20081213-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.2-1.1         The GNU Standard C++ Library v3
ii  libxapian15            1.0.7-4           Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [apti 0.4.11.11-1~lenny1 English manual for aptitude, a ter
ii  libparse-debianchange 1.1.1-2            parse Debian changelogs and output

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to