0
ytn

Solved Getting stuck generating image

Recommended Posts

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... done
Generation 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.

 

Share this post


Link to post
Share on other sites

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 failed
Failed 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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ...

Share this post


Link to post
Share on other sites

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....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0