Slow snap build on Ubuntu Core device

Luther Goh Lu Feng elfgoh at yahoo.com
Tue Jan 10 15:49:23 UTC 2017


Based on the screenshot, your download speed for the packages seems to be very slow. Perhaps you want to use a faster mirror.


Maybe you can try netselect-apt as mentioned here[1]. HTH. Thanks.


-- Luther

[1] https://www.unixmen.com/find-fastest-mirror-debian-derivatives/




On Tuesday, January 10, 2017 11:41 PM, Alan Pope <alan.pope at canonical.com> wrote:
On 10 January 2017 at 15:28, XiaoGuo Liu <xiaoguo.liu at canonical.com> wrote:
> Currently, I am try to build armhf snap on Raspberry Pi device. I find that
> the build process is extremely slow, and sometimes, it shows that it will
> take more than 1 hour to get it down. I cannot set up the VPN on the device
> for now. May I know whether there is any way to change the source of the
> download on the board?
>

For archive packages being slow (as you have) I use apt-cacher-ng on
my laptop. It caches the debs making snapcraft builds much faster.

https://www.unix-ag.uni-kl.de/~bloch/acng/

Alternatively, push it to launchpad and build there?

https://kyrofa.com/posts/building-your-snap-on-device-there-s-a-better-way

Cheers,
-- 
Alan Pope
Community Manager

Canonical - Ubuntu Engineering and Services
+44 (0) 7973 620 164
alan.pope at canonical.com
http://ubuntu.com/


-- 
Snapcraft mailing list
Snapcraft at lists.snapcraft.io
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft




More information about the Snapcraft mailing list