This Solution was tested on mendel(debian) with arm64 architecture. If this works for Ubuntu is not clear.
Open terminal and run the following commands:
cd /etc/apt/sources.list.d
sudo nano multistrap-main.list
Add there these two lines:
deb http://ports.ubuntu.com/ubuntu-ports xenial-security main
deb http://ports.ubuntu.com/ubuntu-ports impish main
save and exit. Then run:
sudo apt update
If there is a key missing use the following and run again update:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key>
Then install jasper:
sudo apt-get install libjasper-dev
Finally remove or comment out the added repositories from multistrap-main.list.