Jump to content

rwk

Members
  • Posts

    5
  • Joined

  • Last visited

  1. Hello, I solved my problem by adding the following line in https://github.com/armbian/build/blob/main/lib/functions/rootfs/distro-agnostic.sh#L270 (just before the updating apt package list) cp /etc/resolv.conf ${SDCARD}/etc/resolv.conf I had to copy the whole file (just copy the nameserver wasn't enough). I hope this helps if someone ends up with the same problem. Cheers, Rick
  2. I have run the build on another machine, the build gives the same error. Edit : From the machine I can download the file in the error message without any issues when I use e.g., wget E: Failed to fetch http://ports.ubuntu.com/pool/universe/f/fping/fping_5.1-1_arm64.deb Could not resolve 'ports.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? wget http://ports.ubuntu.com/pool/universe/f/fping/fping_5.1-1_arm64.deb Downloads the file no problem...
  3. Thanks for trying this out, it is probably a network issue, if you have any pointers on how to debug this it would be great. I have issues with apt from within the build but not from outside the build. I wonder if the chroot may cause this. Running on Ubuntu 22.04.2 LTS It happens every-time, even when I delete / reclone.
  4. Hello, I have been building images for the NanoPC-T4 with armbian successfully in the past. However I now get the error "could not resolve 'ports.ubuntu.com'" when the build tries to install ping_5.1-1_arm64.deb (full log below). Do you have any idea what this comes from and how I could solve/debug this ? Thank you Additional info : I added 8.8.8.8 as an alternative DNS server on my machine, I can ping ports.ubuntu.com successfully. I have cloned the armbian build and head points to this commit https://github.com/armbian/build/commit/5b8d86ae5f6f34cf6cc13edf6b1def2773f66f0a Best regards, Rick
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines