Package: aptitude
Version: 0.4.4-4
Severity: important

Example:

Version 028stab039.2 is available.

| [EMAIL PROTECTED]:~$ LANG=C apt-cache policy ovzkernel-2.6.18-smp
| ovzkernel-2.6.18-smp:
|   Installed: (none)
|   Candidate: 028stab039.2
|   Version table:
|      028stab039.2 0
|         500 http://debian.systs.org etch/openvz Packages

We tell aptitude to install a different version:

| [EMAIL PROTECTED]:~$ LANG=C sudo /usr/bin/aptitude -V install 
ovzkernel-2.6.18-smp=028stab035.1;echo $?
| Reading package lists... Done
| Building dependency tree... Done
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| Building tag database... Done
| Unable to find a version "028stab035.1" for the package "ovzkernel-2.6.18-smp"
| The following NEW packages will be automatically installed:
|   linux-image-2.6.18-028stab039.2-ovz-smp [028stab039.2]
| The following packages have been kept back:
|   vzctl [3.0.11-13 -> 3.0.18-1dso1] vzquota [3.0.8-2 -> 3.0.11-1dso1]
| The following NEW packages will be installed:
|   linux-image-2.6.18-028stab039.2-ovz-smp [028stab039.2]
|   ovzkernel-2.6.18-smp [028stab039.2]
| 0 packages upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
| Need to get 0B/6018kB of archives. After unpacking 12.6MB will be used.
| Do you want to continue? [Y/n/?] n

Severity justification: this behaviour makes automatic package management (e.g.
using automation tools such as puppet) very hard, as the version specification
is basically ignored.

apt-get in this situation properly returns an error.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-ovz-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.6.46.4-0.1      Advanced front-end for dpkg
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libncursesw5           5.5-5             Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.17-2          type-safe Signal Framework for C++
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.4-4    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.0-1      parse Debian changelogs and output

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to