<?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=2248&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / trouble setting up local ASCII repo [SOLVED]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2248</link>
		<description><![CDATA[The most recent posts in trouble setting up local ASCII repo [SOLVED].]]></description>
		<lastBuildDate>Fri, 20 Jul 2018 21:04:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10854#p10854</link>
			<description><![CDATA[<p>YEA!&#160; &#160;Really happy to hear that worked out for you.&#160; &#160;I try to point users in the right direction even when I don&#039;t understand the finer points myself . . . something like a librarian who hasn&#039;t read every book in the library.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 20 Jul 2018 21:04:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10854#p10854</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10853#p10853</link>
			<description><![CDATA[<p>golinux, I decided to devote some time to learn how to use nginx. Then I followed the advice in the second link you posted (section 5b) and it works like a charm now. I ended up needed to host the repo on my router+nginx instead of locally on my machine, but I like it better this way anyway. Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 19:38:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10853#p10853</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10845#p10845</link>
			<description><![CDATA[<p>You might want to ping parazyd (who does amprolla) on one of the irc channels</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 20 Jul 2018 14:54:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10845#p10845</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10844#p10844</link>
			<description><![CDATA[<p>I&#039;m comfortable with that small risk in order to keep things simple.</p><p>If only I could tell APT to treat the Filenames in the <span class="bbc">Packages</span> file as absolute paths--not paths relative to the local repo--everything would work. Does anyone know how to accomplish this?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 14:46:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10844#p10844</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10841#p10841</link>
			<description><![CDATA[<p>The danger in not doing it the amprolla way is that the banned package filter won&#039;t be there to protect from unwanted cruft working it&#039;s way into your system.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 20 Jul 2018 14:27:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10841#p10841</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10840#p10840</link>
			<description><![CDATA[<p>I&#039;ll try that. Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 14:06:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10840#p10840</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10839#p10839</link>
			<description><![CDATA[<div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>I&#039;m not sure, sgage. I was hoping to not involve Amprolla, either. </p><p>My hope was to make this work by putting everything required in the repository directory itself, with only change in my system being in <span class="bbc">/etc/apt/sources.list</span>. Maybe this isn&#039;t possible?</p></div></blockquote></div><p>I suspect not. But I think you could get a clear answer if you brought this up on the IRC - at least post a link to this thread. The people who understand the whole packaging/repo system tend to hang out there more often than they check here in the forum...</p>]]></description>
			<author><![CDATA[dummy@example.com (sgage)]]></author>
			<pubDate>Fri, 20 Jul 2018 14:02:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10839#p10839</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10838#p10838</link>
			<description><![CDATA[<p>I&#039;m not sure, sgage. I was hoping to not involve Amprolla, either. </p><p>My hope was to make this work by putting everything required in the repository directory itself, with only change in my system being in /etc/apt/sources.list. Maybe this isn&#039;t possible?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 13:34:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10838#p10838</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10837#p10837</link>
			<description><![CDATA[<div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>Thank you, golinux. Accomplishing this with on-the-fly nginx/apache redirects on a web server is overkill for my purposes. </p><p>Is there a simpler way to redirect to deb.debian.org for the simpler use case where the Devuan repository is in a directory on the user&#039;s harddrive?</p></div></blockquote></div><p>Wouldn&#039;t you have to do something with Amprolla? I am no expert in these matters, but I believe Amprolla is what generates the redirects to Debian for packages not &#039;natively&#039; Devuan. Hopefully somebody who really knows how it all works will chime in. Maybe take it to the IRC channel?</p>]]></description>
			<author><![CDATA[dummy@example.com (sgage)]]></author>
			<pubDate>Fri, 20 Jul 2018 12:46:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10837#p10837</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10836#p10836</link>
			<description><![CDATA[<p>Thank you, golinux. Accomplishing this with on-the-fly nginx/apache redirects on a web server is overkill for my purposes. </p><p>Is it possible to instruct APT to grab Devuan-specific packages locally vs. grab Debian-shared packages from deb.debian.org by means of the Filename line in the <span class="bbc">Packages</span> file? If not, is there some other way to accomplish this <em>without</em> setting up a file server?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 12:09:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10836#p10836</guid>
		</item>
		<item>
			<title><![CDATA[Re: trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10834#p10834</link>
			<description><![CDATA[<p>There may be some clues for you <span class="bbu"><a href="https://git.devuan.org/devuan-infrastructure/amprolla3" rel="nofollow">here</a></span> or <span class="bbu"><a href="https://pkgmaster.devuan.org/devuan_mirror_walkthrough.txt" rel="nofollow">here</a></span></p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 20 Jul 2018 05:03:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10834#p10834</guid>
		</item>
		<item>
			<title><![CDATA[trouble setting up local ASCII repo [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10833#p10833</link>
			<description><![CDATA[<p>I created a local ASCII repo (snapshot of main&#039;s binary-all and binary-amd64) in <span class="bbc">~/Desktop/repo</span> (will move it to a more dignified location later). It <em>almost</em> works. The only trouble is that for packages that Devuan takes directly from Debian, apt is trying to get the package from <span class="bbc">/home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main...</span> (obviously wrong) instead of the intended <span class="bbc"><a href="http://deb.debian.org/debian/pool/main" rel="nofollow">http://deb.debian.org/debian/pool/main</a>...</span>. Can you help me fix this?</p><p>First an example of the problem (notice the &quot;File not found&quot; line):</p><div class="codebox"><pre><code>bruno@thinkpad:~/Desktop$ sudo apt-get install nano
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  spell
The following NEW packages will be installed:
  nano
0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
Need to get 0 B/485 kB of archives.
After this operation, 2,092 kB of additional disk space will be used.
Get:1 file:/home/bruno/Desktop/repo/merged ascii/main amd64 nano amd64 2.7.4-1 [485 kB]
Err:1 file:/home/bruno/Desktop/repo/merged ascii/main amd64 nano amd64 2.7.4-1
  File not found - /home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb (2: No such file or directory)
E: Failed to fetch file:/home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb  File not found - /home/bruno/Desktop/repo/merged/http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb (2: No such file or directory)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?</code></pre></div><p>Now for my setup. Here is my <span class="bbc">/etc/apt/sources.list</span>:</p><div class="codebox"><pre><code>deb file:/home/bruno/Desktop/repo/merged/ ascii main</code></pre></div><p>And here is the relevant part of <span class="bbc">~/Desktop/repo/merged/dists/ascii/main/binary-amd64/Packages.gz</span> and <span class="bbc">Packages.xz</span> (notice the &quot;Filename&quot; line):</p><div class="codebox"><pre><code>Package: nano
Version: 2.7.4-1
Installed-Size: 2043
---snip---
Filename: http://deb.debian.org/debian/pool/main/n/nano/nano_2.7.4-1_amd64.deb
Size: 484790
MD5sum: 161a45ba3787383f8348f985b4c3d3e9
SHA256: 9181ebcf0fb5c302bd53150531b6609394a030d1be06f376275d690c70964d59</code></pre></div><p>Please, how do I change my <span class="bbc">Packages</span> files (or apt settings) so that apt grabs packages from deb.debian.org when appropriate?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 20 Jul 2018 04:28:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10833#p10833</guid>
		</item>
	</channel>
</rss>
