Your message dated Fri, 5 Apr 2019 14:56:14 +0200 with message-id <20190405125614.GD10131@crossbow> and subject line Re: Bug#895242: [apt] apt-cache search with multiple distinct keywords miss some packages has caused the Debian Bug report #895242, regarding [apt] apt-cache search with multiple distinct keywords miss some packages to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 895242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895242 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [apt] apt-cache search with multiple distinct keywords miss some packages
- From: Abdullah Ramazanoglu <aramazano@gmail.com>
- Date: Sun, 8 Apr 2018 21:31:14 +0300
- Message-id: <20180408213114.582fb3dd@torik>
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
--- End Message ---
--- Begin Message ---
- To: Abdullah Ramazanoglu <aramazano@gmail.com>, 895242-done@bugs.debian.org
- Subject: Re: Bug#895242: [apt] apt-cache search with multiple distinct keywords miss some packages
- From: David Kalnischkies <david@kalnischkies.de>
- Date: Fri, 5 Apr 2019 14:56:14 +0200
- Message-id: <20190405125614.GD10131@crossbow>
- In-reply-to: <20180408213114.582fb3dd@torik>
- References: <20180408213114.582fb3dd@torik>
Hi, sorry for taking so long to reply… On Sun, Apr 08, 2018 at 09:31:14PM +0300, Abdullah Ramazanoglu wrote: > 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 … sadly I can not reproduce this in either current apt/master nor in 1.6~beta1 which isn't too surprising as the code involved hasn't changed at all since 1.6~alpha6 so that they behave the same is good. Running your commands nets me both times a long list of packages – both times including the debci* packages – and the search for the two words finds as expected more than "two words". I am at a lose here as to how that could have happened, but I suspect either involvement of non-default configuration which you haven't included (= the bugscript would usually have…), involvement of translated descriptions (= search looks only at the most preferred) or a semi-broken binary cache (= we had some issues fixed in meantime). Most likely a wild mixture of them all. We haven't got another report of this kind in a year, so my best hope is that this was a temporary hiccup fixing itself in the meantime. I am therefore opportunistically closing this report as unreproducible, but would highly encourage you to report anew/reopen with more details of your configuration if this still effects you. There is hope that we reply a bit earlier next time! 😉 Thanks for your report, your patience & Best regards David KalnischkiesAttachment: signature.asc
Description: PGP signature
--- End Message ---