Comment 0 for bug 75332

Revision history for this message
In , Joey Hess (joeyh) wrote : aptitude: holds should take effect in /var/lib/dpkg/status as well

Package: aptitude
Version: 0.2.10-1
Severity: normal

aptitude's holds arn't very useful, since they are ignored by dselect
and apt both.

root@silk:/usr/doc/aptitude> aptitude hold telnet
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information... Done
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading changelogs...Done
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information... Done
root@silk:/usr/doc/aptitude> apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst telnet (0.17-17 Debian:unstable)
Conf telnet (0.17-17 Debian:unstable)
root@silk:/home/joey> echo "telnet hold" | dpkg --set-selections
root@silk:/home/joey> apt-get -s upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  telnet

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux silk 2.4.18 #1 Tue Feb 26 00:23:37 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages aptitude depends on:
ii apt [libapt-pkg-libc6.2- 0.5.4 Advanced front-end for dpkg
ii libc6 2.2.5-3 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-5 Shared libraries for terminal hand
ii libsigc++0 1.0.4-2 Typesafe Signal Framework for C++
ii libstdc++2.10-glibc2.2 1:2.95.4-3 The GNU stdc++ library