The following steps work on my phone:

add self.run_in_container('apt remove -y makedev') to line 86 of /usr/lib/python3/dist-packages/libertine/ChrootContainer.py TMPDIR=/tmp libertine-container-manager create --type chroot -i id-container

refer to: https://github.com/ubports/ubuntu-touch/issues/1305 .