ytn Posted October 7, 2015 Posted October 7, 2015 Aside from the DNS resolution issue I am having (different thread), I am often getting stuck on the following: Unpacking locales (from .../locales_2.13-38+deb7u8_all.deb) ...Processing triggers for man-db ...Setting up locales (2.13-38+deb7u8) ...Generating locales (this might take a while)...Generation complete.Generating locales (this might take a while)... en_US.UTF-8... doneGeneration complete.​ It just sits there and nothing further happens. I have left it for 30 minutes or more, and still nothing. I usually end up killing it... rebooting and then restarting. When it does get past this, I typically end up with the debian sources DNS resolution issue which I documented on a different thread. Any idea what is causing it to get stuck here? I am wondering if this is somehow related to the DNS resolution issue I am having as well. These problems only started occurring over the last couple days... I never had an issue with image generation before that. I did update to the latest libs a while ago, so I am not sure if something changed that is now contributing to this. Thanks.
ytn Posted October 8, 2015 Author Posted October 8, 2015 I *think* this problem was related to not seeing the status window when building the image via SSH. If I leave it long enough.. it seems to get past this stage and then aborts due to the "Failed to fetch http://httpredir.debian.org/debian/pool/main/libn/libnl/libnl1_1.1-7+b1_armhf.deb"error (which I posted in another thread about).
Igor Posted October 8, 2015 Posted October 8, 2015 I think the problem was here. I produced it and haven't found out until I need to rebuild image. https://github.com/igorpecovnik/lib/commit/54c6db821f2efdd88a908c02b4207672cfc4f984 Remove cached root filesystem to force rebuild. Than it should work.
ytn Posted October 9, 2015 Author Posted October 9, 2015 I removed the cached root filesystem and got the latest libs files, and I am still getting the same error on the same 2 files viz. [ error ] Installation failedFailed to fetch http://httpredir.debian.org/debian/pool/main/libn/libnl/libnl1_1.1-7+b1_armhf.deb Could not resolve 'httpredir.debian.org'Failed to fetch http://httpredir.debian.org/debian/pool/main/libn/libnl/libnl-dev_1.1-7+b1_armhf.deb Could not resolve 'httpredir.debian.org'E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?​ I noticed the fix you made is for Jessie.... I am running into this problem creating a Wheezy image.
Igor Posted October 9, 2015 Posted October 9, 2015 OK, it looks like httpredir is not working well for all. Huh. I'll need to fix this somehow. In the mean time, check this and manually revert changes to sources.list files before starting to build an image. (clean cache/rootfs) I noticed the fix you made is for Jessie.... I am running into this problem creating a Wheezy image. Which fix do you mean?
ytn Posted October 9, 2015 Author Posted October 9, 2015 The fix you mentioned earlier in the thread earlier which shows a change to the debootstrap line. I will try configuring my sources list manually and seeing how that works.
Igor Posted October 9, 2015 Posted October 9, 2015 Aha, that fix was actually for Wheezy and Trusty, not for Jessie ... it was not working properly if anything else than Jessie was chosen. Altering the sources list could be the real problem here ...
ytn Posted October 10, 2015 Author Posted October 10, 2015 I think I got to the bottom of the problem.... I don't believe it is related to Armbian at all or the httpredir URL. I think the problem is related to my upgrading pfsense to the latest 2.3 Alpha and one of the firewall rules for DNS starting behaving strangely. I have removed the rule and the problems seemed to have gone away. Just in case anyone else is running pfsense and running into similar issues.... 1
Recommended Posts