#apt-get -s dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
acroread-debian-files fvwm gdk-imlib11 gtk-engines-lighthouseblue libgtk1.2
lvm2
The following packages will be upgraded:
gzip
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Inst gzip [1.3.12-6+lenny] (1.3.12-6+lenny1 Debian:5.0.5/stable, Debian-Security:5.0/stable)
Conf gzip (1.3.12-6+lenny1 Debian:5.0.5/stable, Debian-Security:5.0/stable)
`yes '' | apt-get dist-upgrade' causes apt-get to block in write(2) because
nobody reads (or even has open) the pseudoterminal it writes to (since its
child, dpkg, is a zombie already).
Please see the patch for details. Thanks.