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

Bug#570962: apt-mark command crashes when called without any parameter.



Package: apt
Version: 0.7.25.3
Severity: normal

apt-mark tries to read the first parameter, without checking if these is
any:

How to reproduce: call apt-mark command without parameters

$ apt-mark
Traceback (most recent call last):
  File "/usr/bin/apt-mark", line 85, in <module>
      if args[0] == "showauto":
      IndexError: list index out of range

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'stable'), (700, 'unstable'), (600, 'experimental'), (500, 'testing-proposed-updates'), (500, 'proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-9  GCC support library
ii  libstdc++6                    4.4.2-9    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                   <none>         (no description available)
ii  aptitude                  0.4.11.11-1+b2 terminal-based package manager
ii  bzip2                     1.0.5-4        high-quality block-sorting file co
ii  dpkg-dev                  1.15.5.6       Debian package development tools
ii  lzma                      4.43-14        Compression method of 7z format in
ii  python-apt                0.7.13.3       Python interface to libapt-pkg
ii  synaptic                  0.63.1         Graphical package manager

-- no debconf information



Reply to: