<?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=2015&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / A couple of issues apt-file and sudo]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2015</link>
		<description><![CDATA[The most recent posts in A couple of issues apt-file and sudo.]]></description>
		<lastBuildDate>Tue, 01 May 2018 12:08:32 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8704#p8704</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>apt-file works for me in ascii, using pkgmaster.devuan.org or deb.devuan.org.</p><p>Did you run <span class="bbc">apt-file update</span>?</p></div></blockquote></div><p>It does? My bad then. I i think i didn&#039;t even check if it worked now after getting used to it being broken during jessie.</p>]]></description>
			<author><![CDATA[dummy@example.com (devuser)]]></author>
			<pubDate>Tue, 01 May 2018 12:08:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8704#p8704</guid>
		</item>
		<item>
			<title><![CDATA[Re: A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8701#p8701</link>
			<description><![CDATA[<p>apt-file works for me in ascii, using pkgmaster.devuan.org or deb.devuan.org.</p><p>Did you run <span class="bbc">apt-file update</span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 01 May 2018 11:59:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8701#p8701</guid>
		</item>
		<item>
			<title><![CDATA[Re: A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8688#p8688</link>
			<description><![CDATA[<p>IIRC apt-file doesn&#039;t work because the devuan repos are missing some optional content description files. A (semi) workaround would be adding this to your shells resource file:</p><div class="codebox"><pre><code>apt-file() {
	if [ ! &quot;$1&quot; = search ]; then
		echo &quot;Usage: apt-file search [FILE]&quot; &gt;&amp;2
		return 1
	fi
	wget -qO - &quot;https://packages.debian.org/file:/$2&quot; | tr -d &#039;\n \t&#039; | \
		sed &#039;s|&lt;tr&gt;|\n|g&#039; | sed &#039;s|&lt;/tr&gt;.*||&#039; | grep &#039;^&lt;tdclass=&quot;file&#039; | \
		sed -e &#039;s|&lt;spanclass=&quot;keyword&quot;&gt;||g&#039; -e &#039;s|&lt;/span&gt;||g&#039; \
			-e &#039;s|^&lt;[^&gt;]*&gt;\([^&lt;]*\)&lt;.*&lt;ahref=&quot;[^&quot;]*&quot;&gt;\([^&lt;]*\).*|\2 \1|&#039; | \
		column -t
	return 0
}</code></pre></div><p>This isn&#039;t a 100% replacement though as it&#039;s very basic, actually searches debian and does not support partial matches (i think) but it&#039;s better than nothing.</p>]]></description>
			<author><![CDATA[dummy@example.com (devuser)]]></author>
			<pubDate>Tue, 01 May 2018 09:05:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8688#p8688</guid>
		</item>
		<item>
			<title><![CDATA[Re: A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8580#p8580</link>
			<description><![CDATA[<p>Thanks very much. All fixed. Well sudo is. apt-file still doesn&#039;t work.</p>]]></description>
			<author><![CDATA[dummy@example.com (Caluser2000)]]></author>
			<pubDate>Tue, 24 Apr 2018 20:27:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8580#p8580</guid>
		</item>
		<item>
			<title><![CDATA[Re: A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8577#p8577</link>
			<description><![CDATA[<p>I assume you&#039;re using jessie and using auto.mirror.devuan.org in your sources.list. Make sure you have the latest keyring installed and then switch to deb.devuan.org. apt-file should then work.</p><div class="codebox"><pre><code>apt-get update
apt-get install devuan-keyring</code></pre></div><p># Then replace &#039;auto.mirror.devuan.org&#039; with &#039;deb.devuan.org&#039; in /etc/apt/sources.list</p><p>Then again:</p><div class="codebox"><pre><code>apt-get update</code></pre></div><p>To add your user to the sudo group:</p><div class="codebox"><pre><code>adduser caluser sudo</code></pre></div><p>Then log out and log in again.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 24 Apr 2018 12:32:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8577#p8577</guid>
		</item>
		<item>
			<title><![CDATA[A couple of issues apt-file and sudo]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8568#p8568</link>
			<description><![CDATA[<p>apt-file doesn&#039;t function.&#160; It fails to make a contents cache it would seem.<br />I tried to make my user a member of the sudo group but it wouldn&#039;t take.<br />I&#039;m using the 32-bit version.</p>]]></description>
			<author><![CDATA[dummy@example.com (Caluser2000)]]></author>
			<pubDate>Tue, 24 Apr 2018 00:09:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8568#p8568</guid>
		</item>
	</channel>
</rss>
