Unable to recreate on my end:
``` ubuntu@ubuntu:~$ sudo tar -C base/ -zxf impish-base-riscv64.tar.gz ubuntu@ubuntu:~$ sudo mount --bind /proc/ base/proc ubuntu@ubuntu:~$ sudo mount --bind /sys base/sys ubuntu@ubuntu:~$ sudo cp /etc/resolv.conf base/etc/ sudo chroot ubuntu@ubuntu:~$ sudo chroot base root@ubuntu:/# apt update Get:1 http://ports.ubuntu.com/ubuntu-ports impish InRelease [270 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease [90.7 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease [90.7 kB] Get:4 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease [90.7 kB] 0% [Working]gpgv: Signature made Thu Oct 14 13:14:23 2021 UTC gpgv: using RSA key 871920D1991BC93C gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>" Get:5 http://ports.ubuntu.com/ubuntu-ports impish/main riscv64 Packages [1287 kB] 0% [5 Packages 34.5 kB/1287 kB 3%]gpgv: Signature made Tue Apr 27 14:32:20 2021 UTC gpgv: using RSA key 871920D1991BC93C gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>" 0% [5 Packages 1287 kB/1287 kB 100%]gpgv: Signature made Tue Apr 27 12:56:18 2021 UTC gpgv: using RSA key 871920D1991BC93C gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>" Get:6 http://ports.ubuntu.com/ubuntu-ports impish/main Translation-en [511 kB] 0% [5 Packages store 0 B] [6 Translation-en 134 kB/511 kB 26%]gpgv: Signature made Tue Apr 27 14:32:17 2021 UTC gpgv: using RSA key 871920D1991BC93C gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>" Get:7 http://ports.ubuntu.com/ubuntu-ports impish/restricted riscv64 Packages [4240 B] Get:8 http://ports.ubuntu.com/ubuntu-ports impish/restricted Translation-en [11.9 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports impish/universe riscv64 Packages [12.3 MB] Get:10 http://ports.ubuntu.com/ubuntu-ports impish/universe Translation-en [5463 kB] Get:11 http://ports.ubuntu.com/ubuntu-ports impish/multiverse riscv64 Packages [157 kB] Get:12 http://ports.ubuntu.com/ubuntu-ports impish/multiverse Translation-en [108 kB] Fetched 20.4 MB in 27s (745 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. root@ubuntu:/# apt install hello Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: hello 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 27.2 kB of archives. After this operation, 106 kB of additional disk space will be used. Get:1 http://ports.ubuntu.com/ubuntu-ports impish/main riscv64 hello riscv64 2.10-2ubuntu3 [27.2 kB] Fetched 27.2 kB in 3s (8276 B/s) debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory) Selecting previously unselected package hello. (Reading database ... 4373 files and directories currently installed.) Preparing to unpack .../hello_2.10-2ubuntu3_riscv64.deb ... Unpacking hello (2.10-2ubuntu3) ... Setting up hello (2.10-2ubuntu3) ... root@ubuntu:/# hello Hello, world! root@ubuntu:/# exit exit ubuntu@ubuntu:~$ cat /proc/device-tree/model SiFive HiFive Unmatched A00
```
Unable to recreate on my end:
``` base-riscv64. tar.gz ports.ubuntu. com/ubuntu- ports impish InRelease [270 kB] ports.ubuntu. com/ubuntu- ports impish-updates InRelease [90.7 kB] ports.ubuntu. com/ubuntu- ports impish-backports InRelease [90.7 kB] ports.ubuntu. com/ubuntu- ports impish-security InRelease [90.7 kB] ports.ubuntu. com/ubuntu- ports impish/main riscv64 Packages [1287 kB] ports.ubuntu. com/ubuntu- ports impish/main Translation-en [511 kB] ports.ubuntu. com/ubuntu- ports impish/restricted riscv64 Packages [4240 B] ports.ubuntu. com/ubuntu- ports impish/restricted Translation-en [11.9 kB] ports.ubuntu. com/ubuntu- ports impish/universe riscv64 Packages [12.3 MB] ports.ubuntu. com/ubuntu- ports impish/universe Translation-en [5463 kB] ports.ubuntu. com/ubuntu- ports impish/multiverse riscv64 Packages [157 kB] ports.ubuntu. com/ubuntu- ports impish/multiverse Translation-en [108 kB] ports.ubuntu. com/ubuntu- ports impish/main riscv64 hello riscv64 2.10-2ubuntu3 [27.2 kB] 2.10-2ubuntu3_ riscv64. deb ... tree/model
ubuntu@ubuntu:~$ sudo tar -C base/ -zxf impish-
ubuntu@ubuntu:~$ sudo mount --bind /proc/ base/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys base/sys
ubuntu@ubuntu:~$ sudo cp /etc/resolv.conf base/etc/
sudo chroot ubuntu@ubuntu:~$ sudo chroot base
root@ubuntu:/# apt update
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
0% [Working]gpgv: Signature made Thu Oct 14 13:14:23 2021 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>"
Get:5 http://
0% [5 Packages 34.5 kB/1287 kB 3%]gpgv: Signature made Tue Apr 27 14:32:20 2021 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>"
0% [5 Packages 1287 kB/1287 kB 100%]gpgv: Signature made Tue Apr 27 12:56:18 2021 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>"
Get:6 http://
0% [5 Packages store 0 B] [6 Translation-en 134 kB/511 kB 26%]gpgv: Signature made Tue Apr 27 14:32:17 2021 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2018) <email address hidden>"
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Fetched 20.4 MB in 27s (745 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@ubuntu:/# apt install hello
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
hello
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.2 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 http://
Fetched 27.2 kB in 3s (8276 B/s)
debconf: delaying package configuration, since apt-utils is not installed
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package hello.
(Reading database ... 4373 files and directories currently installed.)
Preparing to unpack .../hello_
Unpacking hello (2.10-2ubuntu3) ...
Setting up hello (2.10-2ubuntu3) ...
root@ubuntu:/# hello
Hello, world!
root@ubuntu:/# exit
exit
ubuntu@ubuntu:~$ cat /proc/device-
SiFive HiFive Unmatched A00
```