Welcome to the Linux Foundation Forum!

Lab 3.1 `debootstrap` on arm64

A note for future student who are stuck with debootstrap. This issue wasted me 2 days to resolve.

This step on ARM64

sudo debootstrap xenial /mnt/chroot-ubuntu-xenial/ http://archive.ubuntu.com/ubuntu/

Will give error

Because debootstrap is looking for ARM64 binary in given mirror http://archive.ubuntu.com/ubuntu/ which does not exist.

To resolve, remove the mirror and this should work with the repositories listed in /etc/apt/sources.list

sudo debootstrap xenial /mnt/chroot-ubuntu-xenial/

Comments

  • Unfortunately In my case that didn't work.
    But I found another workaround by specifying one of the ports mirrors instead. Those should have the aarch64 (ARM) versions. http://ports.ubuntu.com/ubuntu-ports worked for me:

    sudo debootstrap xenial /mnt/chroot-ubuntu-xenial/ http://ports.ubuntu.com/ubuntu-ports

  • Posts: 2,525

    Hello,

    Thank you for your input. Notes shall be added for systems with ARM processors.

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training