apt-get update fails on Ubuntu base RISC-V image

Bug #1947136 reported by Heinrich Schuchardt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu CD Images
New
Undecided
Unassigned

Bug Description

On an SiFive Unmatched board running Impish:

Downloaded: http://cdimage.ubuntu.com/ubuntu-base/daily/20211011.1/impish-base-riscv64.tar.gz
Followed the instructions in: http://iso.qa.ubuntu.com/qatracker/milestones/428/builds/238195/testcases/1318/results

user@unmatched:/tmp$ mkdir base
user@unmatched:/tmp$ tar -C base -xzf impish-base-riscv64.tar.gz
user@unmatched:/tmp$ sudo mount --bind /proc base/proc
[sudo] password for user:
user@unmatched:/tmp$ sudo mount --bind /sys base/sys
user@unmatched:/tmp$ sudo mount --bind /^C
user@unmatched:/tmp$ sudo cp /etc/resolv.conf base/etc/
user@unmatched:/tmp$ sudo chroot base
root@unmatched:/# apt-get update
Get:1 http://ports.ubuntu.com/ubuntu-ports impish InRelease [270 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports impish InRelease
  Couldn't create temporary file /tmp/apt.conf.Y1Jcm1 for passing config to apt-key
Ign:2 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease
Ign:3 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease
Get:4 http://ports.ubuntu.com/ubuntu-ports impish-backports Release [89.9 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease [90.7 kB]
Err:5 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease
  Couldn't create temporary file /tmp/apt.conf.X5Q8L1 for passing config to apt-key
Get:6 http://ports.ubuntu.com/ubuntu-ports impish-updates Release [89.8 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports impish-backports Release.gpg [819 B]
Ign:7 http://ports.ubuntu.com/ubuntu-ports impish-backports Release.gpg
Get:8 http://ports.ubuntu.com/ubuntu-ports impish-updates Release.gpg [819 B]
Ign:8 http://ports.ubuntu.com/ubuntu-ports impish-updates Release.gpg

My chroot is on the following mount:
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,inode64)

Tags: iso-testing
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1947136

tags: added: iso-testing
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I don't have a device to test this on yet, but it feels to me as if this is not a problem with the ubuntu-base tarballs themselves. So we might just let it through as is.

Revision history for this message
William Wilson (jawn-smith) wrote (last edit ):
Download full text (3.4 KiB)

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....

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.