Hi Thierry,
Appreciate the reply.
I tried it with Ubuntu 18.02 on x86_64 and i686 platforms. Due to missing libarchive I executed apt install libarchive-tools which fixed it.
When I tried it on my raspberry pi 4 with ubuntu 22.04 I got another error
variable PackageFileName is not set
umount: /mnt/hd/var/lib/pkg/depot: not mounted
I tried also with a live distribution void and got the libarchive error but persists despite installing it.
Is there a live distribution you can recommend?