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

Bug#320209: --trivial-only is confused by duplicate package names on the command line



Package: apt
Severity: normal

Simple test case, assuming 'hello' is not installed:

# apt-get --trivial-only install hello hello
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  hello
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 48.2kB of archives.
After unpacking 483kB of additional disk space will be used.
E: Trivial Only specified but this is not a trivial operation.

This is due to apt counting 'hello' twice for ExpectedInst.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-3-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                   2.3.5-1ubuntu7   GNU C Library: Shared libraries an
ii  libgcc1                 1:4.0.0-9ubuntu2 GCC support library
ii  libstdc++6              4.0.0-9ubuntu2   The GNU Standard C++ Library v3

-- no debconf information

-- 
 - mdz



Reply to: