Bug#895242: [apt] apt-cache search with multiple distinct keywords miss some packages
Package: apt
Version: 1.6~beta1
Severity: minor
--- Please enter the report below this line. ---
In Buster, with apt 1.6~alpha7 and 1.6~beta1, apt-cache search produces
an incomplete list. However, the missing packages can be seen by
apt-cache by means other than "search" (e.g. show, showpkg, pkgnames,
etc.). All the packages missing from the list are install candidates
(#600010 not applicable)
$ apt-cache search continuous integration
debci-worker - continuous integration system for Debian (worker daemon)
fwupd-tests - Test suite for firmware update daemon
lava-dispatcher - Linaro Automated Validation Architecture dispatcher
lava-lxc-mocker - Linaro Automated Validation Architecture LXC Mocker
lavacli - LAVA XML-RPC command line interface
libtap-formatter-junit-perl - Perl module for converting TAP output to
JUnit XML output
ocrmypdf - add an OCR text layer to PDF files
trac-bitten - continuous integration plugin for Trac
trac-bitten-slave - continuous integration plugin for Trac
This list is incomplete. For instance,
~$ apt-cache pkgnames debci
debci-collector
debci-worker
debci
All these debci* packages have the phrase "continuous integration" in
their descriptions, but the search reveals only debci-worker. Here,
debci is just an example. There are other missing packages in the list,
too.
OTOH, phrase searching reveals a better hit rate than searching with
multiple distinct keywords, while normally the opposite should have
been true.
~$ apt-cache search "continuous integration"
libgradle-android-plugin-java - Android Plugin for Gradle
libgradle-android-plugin-java-doc - Android Plugin for Gradle -
Documentations
buildnotify - cruise control CI build monitor
debci - continuous integration system for Debian
debci-collector - continuous integration system for Debian (collector
daemon)
debci-worker - continuous integration system for Debian (worker
daemon)
python-pytest-timeout - Pytest plugin to abort hanging tests -
Python 2.X
python3-pytest-timeout - Pytest plugin to abort hanging
tests - Python 3.X
trac-bitten - continuous integration plugin for Trac
trac-bitten-slave - continuous integration plugin for Trac
python-xmlrunner - PyUnit-based test runner with JUnit like XML
reporting
node-vows - asynchronous BDD & continuous integration for Node
--- System information. ---
Architecture:
Kernel: Linux 4.9.0-4-amd64
Debian Release: buster/sid
500 testing ftp.tr.debian.org
--- Package information. ---
Depends (Version) | Installed
=========================================-+-===============
adduser | 3.117
gpgv | 2.2.4-3
OR gpgv2 |
OR gpgv1 |
debian-archive-keyring | 2017.7
libapt-pkg5.0 (>= 1.6~beta1) | 1.6~beta1
libc6 (>= 2.15) | 2.27-2
libgcc1 (>= 1:3.0) | 1:8-20180218-1
libgnutls30 (>= 3.5.6) | 3.5.18-1
libseccomp2 (>= 1.0.1) | 2.3.1-2.1
libstdc++6 (>= 5.2) | 8-20180218-1
Recommends (Version) | Installed
==============================-+-===========
ca-certificates | 20170717
Suggests (Version) | Installed
==============================-+-============
apt-doc |
aptitude |
OR synaptic | 0.84.2
OR wajig |
dpkg-dev (>= 1.17.2) |
gnupg | 2.2.4-3
OR gnupg2 |
OR gnupg1 |
powermgmt-base | 1.31+nmu1
--- Output from package bug script ---
--
Abdullah Ramazanoglu
Reply to: