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

Bug#599007: apt-get can't be interrupted with Ctrl+C nor Ctrl-\ anymore



Package: apt
Version: 0.8.5
Severity: normal

It appears that since a recent upgrade, you can't interrupt apt runs
anymore.  That is an important way to recoved from errors before much damage
is done, including:
* genuine user errors
* apt bugs: during a mirror update, the hash won't match, this will make apt
  throw away the Packages file, making a lower-priority source be used
  instead, potentially leading to "remove world, upgrade some" if not caught
  (yeah, running dist-upgrade after a failed update may be considered an
  user error)
* dpkg bugs: when running out of disk space, it will blithely continue other
  operations, potentially breaking more and more packages

I can't think of any good reasons apt should ignore such signals for.  And
in any of these situations, a quick abort within a couple of seconds can
save a hours long recovery.  After frantically pounding on Ctrl-C, Ctrl-\
and watching them fail, suspecting a HUP would be ignored as well, locating
a free console, sshing in, su - ing, killall apt-get, it will manage to do
seriously more damage in that time.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.5.1-8        GCC support library
ii  libstdc++6              4.5.1-8          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                     <none>       (no description available)
ii  aptitude                    0.6.3-3.1    terminal-based package manager (te
ii  bzip2                       1.0.5-6      high-quality block-sorting file co
ii  dpkg-dev                    1.15.8.5     Debian package development tools
ii  lzma                        4.43-14      Compression method of 7z format in
ii  python-apt                  0.7.98.1     Python interface to libapt-pkg
ii  synaptic                    0.70~pre1+b1 Graphical package manager

-- no debconf information



Reply to: