<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4665&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Where does 'apt-cache search' searchs?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4665</link>
		<description><![CDATA[The most recent posts in Where does 'apt-cache search' searchs?.]]></description>
		<lastBuildDate>Tue, 09 Nov 2021 21:11:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Where does 'apt-cache search' searchs?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32722#p32722</link>
			<description><![CDATA[<p>Anyway reading the <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98695" rel="nofollow">rationale </a>for the &#039;Provide&#039; search i wonder if it was the best way to do it.</p><p>&#039;apt-cache --names-only search foo&#039;&#160; now means : search for packages with names that include &#039;foo&#039;&#160; OR packages who provide a virtual package with a name that contains &#039;foo&#039;. <br />So you search for something that you didnt now you were searching for? Is that a good design?</p>]]></description>
			<author><![CDATA[dummy@example.com (chomwitt)]]></author>
			<pubDate>Tue, 09 Nov 2021 21:11:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32722#p32722</guid>
		</item>
		<item>
			<title><![CDATA[Re: Where does 'apt-cache search' searchs?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32715#p32715</link>
			<description><![CDATA[<p>Ok.i found it.</p><div class="codebox"><pre><code>$ apt-cache search &#039;librust-pango-0\+dox-dev&#039;
librust-pango+dox-dev - Rust bindings for the Pango library - feature &quot;dox&quot;</code></pre></div><p>&#039;+&#039; must be escaped.</p>]]></description>
			<author><![CDATA[dummy@example.com (chomwitt)]]></author>
			<pubDate>Tue, 09 Nov 2021 15:53:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32715#p32715</guid>
		</item>
		<item>
			<title><![CDATA[Re: Where does 'apt-cache search' searchs?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32710#p32710</link>
			<description><![CDATA[<p><a href="https://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-provides" rel="nofollow">https://www.debian.org/doc/debian-polic … s-provides</a><br /><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98695" rel="nofollow">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98695</a></p><p>So &#039;Provide&#039; is related to declaring among other, virtual packages&#039; so why apt-cache search would ignore certain entries?</p>]]></description>
			<author><![CDATA[dummy@example.com (chomwitt)]]></author>
			<pubDate>Tue, 09 Nov 2021 13:29:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32710#p32710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Where does 'apt-cache search' searchs?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32707#p32707</link>
			<description><![CDATA[<div class="codebox"><pre><code>$ apt info librust-pango-sys+default-dev
Package: librust-pango-sys+default-dev
State: not a real package (virtual)
N: Can&#039;t select candidate version from package librust-pango-sys+default-dev as it has no candidate
N: Can&#039;t select versions from package &#039;librust-pango-sys+default-dev&#039; as it is purely virtual
N: No packages found
$</code></pre></div><p>EDIT: <a href="https://www.debian.org/doc/debian-policy/ch-binary.html#s-virtual-pkg" rel="nofollow">https://www.debian.org/doc/debian-polic … irtual-pkg</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 09 Nov 2021 11:13:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32707#p32707</guid>
		</item>
		<item>
			<title><![CDATA[Where does 'apt-cache search' searchs?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=32706#p32706</link>
			<description><![CDATA[<p>Initially i thought that is searches package names (by that i mean &#039;Package&#039; field&#039;s value).<br />But it also searches Description field.<br />But as we can find by an example as :</p><div class="codebox"><pre><code>$ apt-cache --names-only search &quot;^ff.*&quot;
ffado-dbus-server - FFADO D-Bus server
ffado-mixer-qt4 - FFADO D-Bus mixer applets
ffado-tools - FFADO debugging and firmware tools
....
sfftw-dev - library for computing Fast Fourier Transforms
sfftw2 - library for computing Fast Fourier Transforms</code></pre></div><div class="codebox"><pre><code>$ apt-cache show sfftw2
Package: sfftw2
Version: 2.1.5-4.2+b1
Installed-Size: 554
Maintainer: Debian Science Team &lt;debian-science-maintainers@lists.alioth.debian.org&gt;
Architecture: amd64
Provides: fftw2-single
....</code></pre></div><p>it&#039;s obviously searches the &#039;Provide&#039; field too.</p><div class="codebox"><pre><code>$ man apt-cache
search regex...
           search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the package names and the
           descriptions for an occurrence of the regular expression and prints out the package name and the short description, including virtual package names.

  --names-only, -n
           Only search on the package and provided package names, not the long descriptions. Configuration Item: APT::Cache::NamesOnly.</code></pre></div><p>But </p><div class="codebox"><pre><code>$ apt-cache show librust-pango-sys-dev
Package: librust-pango-sys-dev
Version: 0.9.0-2
Installed-Size: 158
Maintainer: Debian Rust Maintainers &lt;pkg-rust-maintainers@alioth-lists.debian.net&gt;
Architecture: amd64
Provides: librust-pango-sys+default-dev (= 0.9.0-2), librust-pango-sys+dox-dev (= 0.9.0-2), ......</code></pre></div><p>and i think that i could search librust-pango-sys+default-dev&#160; but:</p><div class="codebox"><pre><code>$ apt-cache search &#039;librust-pango-sys+default-dev&#039;</code></pre></div><p>returns nothing</p><p>So if apt-cache search &#039;Provides:&#039; why would that fail?</p>]]></description>
			<author><![CDATA[dummy@example.com (chomwitt)]]></author>
			<pubDate>Tue, 09 Nov 2021 10:59:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=32706#p32706</guid>
		</item>
	</channel>
</rss>
