Summary: | "emerge --search" fails to find a package when provided with an exact match, $CAT/$PKG | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robert Bridge <robert> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=737480 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651804 |
Description
Robert Bridge
2018-02-17 11:41:50 UTC
You need to search for "@app-misc/screen" in order to match the category. This is documented in the emerge man page. I think we could remove the requirement to use @, since the presence of a / character implies that there is a category. Patch posted for review: https://github.com/gentoo/portage/pull/257 https://archives.gentoo.org/gentoo-portage-dev/message/5e3f0563f1a8704fe9718d882c9328ba The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=7a6099f046a0c1f7d45751daf13c1e68253878aa commit 7a6099f046a0c1f7d45751daf13c1e68253878aa Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-02-18 21:19:39 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-02-19 19:18:24 +0000 emerge --search: use slash to auto-detect category (bug 647940) Since search strings containing a slash do no work unless category match mode is enabled, use slash to auto-detect category match mode, so that users do not have to prefix the search string with the special @ symbol. Bug: https://bugs.gentoo.org/647940 Reviewed-by: Brian Dolbec <dolsen@gentoo.org> Reviewed-by: M. J. Everitt <m.j.everitt@iee.org> pym/_emerge/search.py | 4 ++++ 1 file changed, 4 insertions(+)} Fixed in portage-2.3.40-r1. |