为什么APT-CACHE搜索找到与给定的正则表达式不匹配的软件包? 我在Linux Bash上运行以下命令: apt-cache搜索'hex。*(查看|编辑)' 我的目的是找到任何名称/描述包含模式的软件包。*(查看|编辑)'。但是一个...

问题描述 投票:0回答:2

kipi-plugins - image manipulation/handling plugins for KIPI aware programs

如何在结果列表中?在此结果中,我没有看到任何匹配的字符串。这是
apt-cache search

命令的错误吗?还是我误解了该命令是如何使用正则表达式的?

search

在包说明中的所有文本上进行全文搜索,而不仅仅是名称。  如果您只需要名称,则可以使用
--names-only

regex ubuntu apt
2个回答
16
投票

我也有类似的问题:即使我在请求中添加“  - 只有名”,例如:
apt search --names-only bind

我收到的很长的列表不足,包括包括:

0
投票

[...]elpa-bind-chord/jammy[...] gir1.2-keybinder-3.0/jammy [...] libbind-config-parser-perl/jammy[...]

19页...我不明白为什么。寻找解释。
    

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.