<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=2695&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / I think installed apt is sandboxed.]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=2695</link>
		<description><![CDATA[The most recent posts in I think installed apt is sandboxed..]]></description>
		<lastBuildDate>Sun, 12 Feb 2023 18:41:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41063#p41063</link>
			<description><![CDATA[<p>This...</p><div class="quotebox"><blockquote><div><p>W: Download is performed unsandboxed as root as file INSERT_PROBLEM_HERE couldn&#039;t be accessed by user &#039;_apt&#039;. - pkgAcquire::Run (13: Permission denied)</p></div></blockquote></div><p>...is a permission issue.</p><p>The specified file could not be read by user &quot;_apt&quot; so Apt elevated itself to root user - as it&#039;s a warning not an error (<span class="bbc">W:</span> not <span class="bbc">E:</span>), it means the action (install) probably still succeeded, but there&#039;s a reason Apt runs as its own user, so <em>possibly</em> there are security implications.</p><p>The fix depends on which file/directory is causing the complaint - i.e. why can&#039;t _apt access it.</p><p>In some instances, the solution can be to fix ownership, e.g. <span class="bbc">chown --changes --recursive _apt:root TARGET</span></p><p>In other instances, it may involve granting read permissions, e.g. <span class="bbc">chmod --changes --recursive a+r TARGET</span></p><p>And sometimes the above have no effect because the filesystem was mounted with an over-restrictive umask - in which case remount it with, e.g. <span class="bbc">mount -o umask=022 DEVICE MOUNTPOINT</span> </p><p>Alternatively, for the Synaptic-related errors here, see if Synaptic can be configured to put temporary files in a better location (i.e. not inside root user&#039;s home dir).</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Sun, 12 Feb 2023 18:41:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41063#p41063</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=38095#p38095</link>
			<description><![CDATA[<div class="quotebox"><cite>unwell wrote:</cite><blockquote><div><div class="codebox"><pre><code>W: Download is performed unsandboxed as root as file &#039;/root/.synaptic/tmp//tmp_sh&#039; couldn&#039;t be accessed by user &#039;_apt&#039;. - pkgAcquire::Run (13: Permission denied)</code></pre></div></div></blockquote></div><p>I&#039;ve been randomly getting exactly the same message inside the console log in synaptic when installing packages. I don&#039;t know when it happens or when it doesn&#039;t. I&#039;m starting synaptic from the usual launcher in the menu. When it&#039;s shows up in the expanded console then it will also throw this actual error dialog after closing the installation dialog:</p><p><span class="postimg"><img src="https://i.imgur.com/fK5bHst.png" alt="fK5bHst.png" /></span></p><p>I&#039;m using XFCE on Chimaera.</p>]]></description>
			<author><![CDATA[dummy@example.com (Tritonio)]]></author>
			<pubDate>Thu, 27 Oct 2022 09:03:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=38095#p38095</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14575#p14575</link>
			<description><![CDATA[<p>thank you both for your help and advice</p><div class="codebox"><pre><code> The package description says &quot;interface::commandline&quot; so that might explain why it&#039;s not in the menu.</code></pre></div><p>I had not noticed this and it explains a lot.</p><p>and I did not know about </p><div class="codebox"><pre><code>ls /usr/bin/dvb*</code></pre></div><p>so thanks for the education.</p><p>I was hoping for a dvb app that has a GUI, so it&#039;s back to searching for me.</p>]]></description>
			<author><![CDATA[dummy@example.com (unwell)]]></author>
			<pubDate>Wed, 27 Feb 2019 22:08:43 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14575#p14575</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14562#p14562</link>
			<description><![CDATA[<p>This should show you the available commands, and those commands should have man pages. If not, try running each command with the &#039;--help&#039; option.</p><div class="codebox"><pre><code>ls /usr/bin/dvb*</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 26 Feb 2019 11:30:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14562#p14562</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14553#p14553</link>
			<description><![CDATA[<p>2nd command quoted is dvd-apps, not dvb-apps.</p>]]></description>
			<author><![CDATA[dummy@example.com (xinomilo)]]></author>
			<pubDate>Mon, 25 Feb 2019 20:49:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14553#p14553</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14552#p14552</link>
			<description><![CDATA[<p>when I use apt install dvb-apps</p><p>the machine responds with</p><div class="codebox"><pre><code> /home/mine# apt install dvb-apps
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dvb-apps is already the newest version (1.1.1+rev1500-1.1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</code></pre></div><p>and </p><p>dpkg -L dvb-apps</p><p>THe machine responds with as a user </p><div class="codebox"><pre><code> $ dpkg -L dvd-apps
dpkg-query: package &#039;dvd-apps&#039; is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.</code></pre></div><p>as su the command dpkg -L dvb-apps </p><p>lists about 100 dvb-apps&#160; files from a list of several hundred.</p><p>most appear to be in the /usr/share/doc/dvb-apps/examples/test/&#160; &#160; &#160; &#160;folder</p><p>Neither as su or a user is there a man page.</p>]]></description>
			<author><![CDATA[dummy@example.com (unwell)]]></author>
			<pubDate>Mon, 25 Feb 2019 20:42:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14552#p14552</guid>
		</item>
		<item>
			<title><![CDATA[Re: I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14546#p14546</link>
			<description><![CDATA[<div class="codebox"><pre><code>W: Download is performed unsandboxed as root as file &#039;/root/.synaptic/tmp//tmp_sh&#039; couldn&#039;t be accessed by user &#039;_apt&#039;. - pkgAcquire::Run (13: Permission denied)</code></pre></div><p>That&#039;s the message you get when you download a package as root. Download as ordinary user instead.</p><p>What message do you get when you run </p><div class="codebox"><pre><code>apt install dvb-apps</code></pre></div><p> If it&#039;s already installed, apt will tell you that. Look in /usr/share/doc/dvb-apps for information. The package description says &quot;interface::commandline&quot; so that might explain why it&#039;s not in the menu.</p><div class="codebox"><pre><code>dpkg -L dvb-apps</code></pre></div><p>will give you a list of the files in the package. That will include a list of any commands. There will probably be man pages for those commands.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 25 Feb 2019 04:03:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14546#p14546</guid>
		</item>
		<item>
			<title><![CDATA[I think installed apt is sandboxed.]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=14545#p14545</link>
			<description><![CDATA[<p>I&#039;m running ASCII in a machine with 4g ram and an I3.</p><p>I&#039;ve tried to install, several times, dvb-apps, through both the command line and synaptic package manager, and though apparently sucessful it does not appear on any menu.</p><p>During the install dvb-scan-tables is also installed.</p><p>During one install attempt I got an error message stating </p><div class="codebox"><pre><code>W: Download is performed unsandboxed as root as file &#039;/root/.synaptic/tmp//tmp_sh&#039; couldn&#039;t be accessed by user &#039;_apt&#039;. - pkgAcquire::Run (13: Permission denied)</code></pre></div><p>Which I do not understand, but has me thinking dvb-apps is sandboxed. But I am probably wrong.</p><p>So what have I got to do to get dvb-apps working correctly for a normal user?</p><p>I&#039;ve thought about installing from source, but the instruction-</p><div class="codebox"><pre><code>cd dvb-apps</code></pre></div><p> does not make sense. Should it be cd /user/share/dvb-apps?</p><p>As a secondary interest I&#039;d like to know how to unsandbox an app.</p><p>thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (unwell)]]></author>
			<pubDate>Mon, 25 Feb 2019 01:40:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=14545#p14545</guid>
		</item>
	</channel>
</rss>
