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

Bug#781203: cmdline API breakage -- "E: Command line option --installed is not understood"



Package: apt
Version: 1.0.9.7
Severity: important
File: /usr/bin/apt-cache


I just have discovered that our scripts broke on jessie because of now
--installed apparently is not supported, although still referred to in the
manpage and changelog doesn't point to any deprecation.  So I just assume that
it is a bug:  this functionality works on wheezy but not on jessie

$> apt-cache search --installed xserver                       
E: Command line option --installed is not understood

$> man apt-cache | grep -A3 -e --installed
       --installed
           Limit the output of depends and rdepends to packages which are currently installed. Configuration Item: APT::Cache::Installed.

$> schroot -c wheezy-i386 -- apt-cache search --installed xserver | head
glx-diversions - prepare for using accelerated GLX implementations from GPU vendors
xserver-xorg-video-ivtv - X.Org X server -- IVTV display driver
xserver-xorg-video-ivtv-dbg - X.Org X server -- IVTV display driver (debug symbols)
...


If fix is trivial (or not ;) ) it would be great if it was fixed for
jessie to come

-- Package-specific info:

-- /etc/apt/preferences --

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=testing-proposed-updates
Pin-Priority: 991

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 600

Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 300

Package: *
Pin: release o=Debian-Kernel archive,a=kernel-dists-trunk
Pin-Priority: 200

Package: *
Pin: release o=rumba
Pin-Priority: 310

Package: *
Pin: release c=*,o=Debian
Pin-Priority: 100

Package: *
Pin: release o=Ubuntu
Pin-Priority: 50


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


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  debian-archive-keyring  2014.3
ii  gnupg                   1.4.18-7
ii  libapt-pkg4.12          1.0.9.7
ii  libc6                   2.19-15
ii  libgcc1                 1:4.9.2-10
ii  libstdc++6              4.9.2-10

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.11-1+b1
ii  dpkg-dev    1.17.24
ii  python-apt  0.9.3.11
ii  synaptic    0.81.2

-- no debconf information


Reply to: