<?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=2237&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / apt stuck at 0% [Waiting for headers]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2237</link>
		<description><![CDATA[The most recent posts in apt stuck at 0% [Waiting for headers].]]></description>
		<lastBuildDate>Wed, 18 Jul 2018 17:11:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10805#p10805</link>
			<description><![CDATA[<p>Okay, it didn&#039;t fix it, but I figured it out. Since it was still happening, I figured the issue was with mdev, as that was the only thing that in the chroot would&#039;ve worked. Turns out mdev&#039;s default /dev/null permissions are 660, while they should be 666. Fixed that and it works like a charm now. Thanks everybody.</p>]]></description>
			<author><![CDATA[dummy@example.com (goo)]]></author>
			<pubDate>Wed, 18 Jul 2018 17:11:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10805#p10805</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10803#p10803</link>
			<description><![CDATA[<p>Yeah, I&#039;m downloading a rpi2 rootfs, I think that might do. I&#039;ll let you know, thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (goo)]]></author>
			<pubDate>Wed, 18 Jul 2018 15:26:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10803#p10803</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10802#p10802</link>
			<description><![CDATA[<p>Each ARM image under: </p><p>&#160; <a href="https://files.devuan.org/devuan_ascii/embedded/" rel="nofollow">https://files.devuan.org/devuan_ascii/embedded/</a></p><p>comes with a corresponding tar.gz containing the rootfs. For any problem, you could also join #devuan-arm on freenode.</p><p>HTH</p>]]></description>
			<author><![CDATA[dummy@example.com (KatolaZ)]]></author>
			<pubDate>Wed, 18 Jul 2018 15:21:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10802#p10802</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10801#p10801</link>
			<description><![CDATA[<p>I don&#039;t know, the architecture itself is armhf, but I think the images also include a kernel which I can&#039;t flash... A rootfs would be perfect, I guess I can maybe extract it from the images?</p>]]></description>
			<author><![CDATA[dummy@example.com (goo)]]></author>
			<pubDate>Wed, 18 Jul 2018 15:12:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10801#p10801</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10798#p10798</link>
			<description><![CDATA[<p>Devuan repos are not available through ftp. And goo has already said that the problem is not in the repos, since he/she can reach the repos from the chroot. Regarding the HTTP redirect: it&#039;s perfectly fine, since this is how Devuan repos work (serving packages forked by Devuan directly and redirecting to the Debian repos otherwise). Why don&#039;t you try to use one of the Devuan arm images available, if any of them would fit your arch?</p>]]></description>
			<author><![CDATA[dummy@example.com (KatolaZ)]]></author>
			<pubDate>Wed, 18 Jul 2018 14:39:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10798#p10798</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10796#p10796</link>
			<description><![CDATA[<p>Unfortunately, I already tried that multiple times and it doesn&#039;t seem to fix it. Also if it were a fault on the mirror&#039;s side it shouldn&#039;t work from the chroot, nor should I able to download them without an issue with wget.<br />Thanks for suggesting that, though.</p>]]></description>
			<author><![CDATA[dummy@example.com (goo)]]></author>
			<pubDate>Wed, 18 Jul 2018 13:41:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10796#p10796</guid>
		</item>
		<item>
			<title><![CDATA[Re: apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10792#p10792</link>
			<description><![CDATA[<p>I experienced this last night trying to install a package, i did a <span class="bbc">sudo apt-get update</span> and that seemed to fix the lag i was exeperiencing.</p>]]></description>
			<author><![CDATA[dummy@example.com (Panopticon)]]></author>
			<pubDate>Wed, 18 Jul 2018 12:08:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10792#p10792</guid>
		</item>
		<item>
			<title><![CDATA[apt stuck at 0% [Waiting for headers]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10790#p10790</link>
			<description><![CDATA[<p>Hello, I&#039;m having an issue with apt (or apt-get or aptitude, doesn&#039;t matter) currently which gets stuck at 0% [Waiting for headers] whenever I&#039;m trying to install a package (or multiple packages). apt-update works fine. I&#039;ll start off by describing my installation as I didn&#039;t install devuan using the normal procedure of downloading a live image from the website.</p><p>So, I have a NAS which has two partitions. On one partition there&#039;s a debian wheezy system, installed by the manufacturer. The other partition was in a RAID setup with the first one, and was originally a mirror of it, but eventually I split the RAID and tried using this partition to install a newer system, Devuan ASCII. I couldn&#039;t install Debian because I can&#039;t upgrade the kernel on this system as the manufacturer only provided the patches needed to make the kernel work for Linux 3.2.26. Also, I dislike systemd, so Devuan seemed like a great choice. </p><p>In order to install it, I first tried to debootstrap a minimal (--variant=minbase) rootfs using Debian&#039;s debootstrap with the official <a href="https://git.devuan.org/devuan-packages/debootstrap/blob/9e6a78bdede3b155ea320eead2605f38de225c16/scripts/ceres" rel="nofollow">Devuan&#039;s debootstrap script</a>.<br />The debootstrap went okay, so I rebooted into the new Devuan rootfs, replaced udev with mdev since the old kernel and udev didn&#039;t get along and setted up the network. Now, it looks like everything is working, I can ssh into it, ping the router, ping google.com, wget web pages and stuff, but I can&#039;t install packages, apt remains stuck at 0% [Waiting for headers]. Without really investigating into it, I thought it was probably fault of Debian&#039;s debootstrap, so back to the wheezy system I debootstrapped Devuan ASCII on a usb stick, chrooted into it and debootstrapped Devuan ASCII onto the second partition, this time using the official debootstrap version. </p><p>I then repeated the same steps (replacing udev and setting up the network). The problem persists. It&#039;s now important to mention that, if I chroot into Devuan from Debian, it works.</p><p>Of course, the first thing I&#039;ve checked was the network configuration, but everything worked, and I could even wget packages directly from the mirrors by downloading them using the URLs returned by `apt install --print-uris`. I also ran `ip addr` on both systems and the network config is identical. Another thing I&#039;ve tried was changing the DNS and it didn&#039;t help. One note about the network config, on the Devuan system I&#039;m setting it up by manually running `ip` commands in an init script while that&#039;s taken care of by ifupdown in the Debian system. The end result looks identical though.<br />People on IRC also told me to make sure I wasn&#039;t using ipv6 so I disabled it `sysctl -w net.ipv6.conf.all.disable_ipv6=1` but it didn&#039;t make a difference. Also, my ISP doesn&#039;t support IPV6 so I don&#039;t think that&#039;s a problem. They also asked me whether I was using a local DNS but no, I&#039;m using Google&#039;s.</p><p>Next things I tried were more closely related to apt. First I tried using apt-get with no results. Same with aptitude. I then tried changing mirrors in /etc/apt/sources.list as it was using pkgmaster.devuan.org but on the website it says to use deb.devuan.org, but still with no results. I also tried using the local mirrors by prefixing deb.devuan.org with my country code but it&#039;s the same. I tried running `apt update` multiple times and that doesn&#039;t fix it. However I noticed that with pkgmaster.devuan.org, which is a redirect to deb.devuan.org `apt udpate` fails. Next thing I did was enable HTTP debugging by adding a config file with `Debug::Acquire::http &quot;true&quot;;` and <a href="https://ibb.co/dnpLRy" rel="nofollow">this is the output</a>. So, because of both these tests I&#039;d say the issue is that `apt` doesn&#039;t follow redirects, so I tried reinstalling apt with `apt-get install --reinstall apt` but it didn&#039;t fix it.</p><p>At this point, if it isn&#039;t an `apt` issue, I can&#039;t really make much sense of it, though it&#039;s very weird that it works in the chroot which makes me think it isn&#039;t an apt issue. Granted, it might be something with the way I&#039;m setting up the network or with mdev, but it&#039;s still weird that apt is the only thing that doesn&#039;t work.</p><p>I really hope someone can help, as I&#039;d be very happy to revive this box with Devuan, but I can&#039;t really do so if I can&#039;t fix this. You can find the backlog of the IRC channel where people tried helping <a href="http://maemo.cloud-7.de/irclogs/freenode/_devuan/_devuan.2018-07-16.log.html" rel="nofollow">here</a>.</p><p>Thank you,<br />have a nice day.</p>]]></description>
			<author><![CDATA[dummy@example.com (goo)]]></author>
			<pubDate>Wed, 18 Jul 2018 11:01:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10790#p10790</guid>
		</item>
	</channel>
</rss>
