[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#592575: `yes '' | apt-get dist-upgrade' hangs



On Mi, 2010-08-11 at 18:20 +1200, Dmitry Maksyoma wrote:
> Package: apt
> Version: 0.7.20.2+lenny2
> Severity: normal
> Tags: patch
> 
> #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.

Providing a patch against a severely outdated version is not very
helpful in general (and stable is severely outdated if it's not a
release critical bug; but I did not try applying it, so it may be OK in
this case). Furthermore, why would someone want to do yes '' | apt-get
dist-upgrade?

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





Reply to: