Package: aptitude
Version: 0.4.11.11-1~lenny1
Severity: important
When I tell aptitude to install a certain version of a package - and this
version is not available - it outputs an error (Unable to find a version "..."
for the package...) - but still returns 0(=OK).
This is a problem when automating installs using aptitude (we use puppet to do
it) - as it thinks all is well, when it isn't :(
To reproduce - do this:
# aptitude install subversion=1.4.2dfsg1-30 ; echo ret$?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Unable to find a version "1.4.2dfsg1-30" for the package "subversion"
Unable to find a version "1.4.2dfsg1-30" for the package "subversion"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
ret0
It should have returned an error code - since it was unable to do what was
asked :(
-- Package-specific info:
aptitude 0.4.11.11 compiled at Dec 5 2008 09:06:14
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-vdso.so.1 => (0x00007fff76bfe000)
libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6
(0x00007f6d6e55d000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f6d6e312000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f6d6e10d000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f6d6de3a000)
libept.so.0 => /usr/lib/libept.so.0 (0x00007f6d6dbc1000)
libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f6d6d857000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f6d6d640000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f6d6d424000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f6d6d118000)
libm.so.6 => /lib/libm.so.6 (0x00007f6d6ce95000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f6d6cc7e000)
libc.so.6 => /lib/libc.so.6 (0x00007f6d6c92b000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f6d6c728000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f6d6c524000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6d6e81e000)
Terminal: screen
$DISPLAY not set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:
aptitude linkage:
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages aptitude depends on:
ii apt [libapt-pkg-libc6. 0.7.20.2+lenny1 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:
pn aptitude-doc-en | aptitude-do <none> (no description available)
pn libparse-debianchangelog-perl <none> (no description available)
Versions of packages aptitude suggests:
pn debtags <none> (no description available)
ii tasksel 2.78 Tool for selecting tasks for insta
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]