[Bug 2064905] Re: Dubious output when using regex with apt-cache search
David Kalnischkies
2064905 at bugs.launchpad.net
Mon May 6 10:14:13 UTC 2024
Note the remark ", including virtual package names." in the manpage.
bindgen-0.65 has a "Provides: bindgen" (with a version), so it has
(also) the virtual package name "bindgen" and that perfectly matches
your regex. So, working as intended & documented and hence I am changing
the status to opinion (could be a question, but I don't seem to have the
rights to do that)
** Changed in: apt (Ubuntu)
Status: New => Opinion
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2064905
Title:
Dubious output when using regex with apt-cache search
Status in apt package in Ubuntu:
Opinion
Bug description:
In a noble VM, I wanted to search only for bindgen package, so I tried
the following:
$ apt-cache search ^bindgen$
bindgen - Automatically generate Rust FFI bindings to C and C++ libraries
bindgen-0.65 - Automatically generates Rust FFI bindings to C and C++ libraries
Why is bindgen-0.65 listed? $ should match with the EOL (man page does
indeed refer to regex(7)).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2064905/+subscriptions
More information about the foundations-bugs
mailing list