[Bug 2133941] Re: package gpg missing in riscv64 base image
Valentin Haudiquet
2133941 at bugs.launchpad.net
Fri Dec 5 14:28:47 UTC 2025
I can't reproduce, in a fresh resolute riscv64 VM:
```
ubuntu at ubuntu:~$ ls
resolute-base-riscv64.tar.gz
ubuntu at ubuntu:~$ mkdir base
ubuntu at ubuntu:~$ sudo tar -C base -zxf resolute-base-riscv64.tar.gz
ubuntu at ubuntu:~$ for m in proc sys dev dev/pts; do sudo mount --bind /$m base/$m; done
ubuntu at ubuntu:~$ sudo cp /etc/resolv.conf base/etc/
ubuntu at ubuntu:~$ sudo chroot base
root at ubuntu:/# apt update
Get:1 http://ports.ubuntu.com/ubuntu-ports resolute InRelease [124 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports resolute-updates InRelease [124 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports resolute-backports InRelease [124 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports resolute-security InRelease [124 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports resolute/main riscv64 Packages [1383 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports resolute/main Translation-en [519 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports resolute/universe riscv64 Packages [15.6 MB]
Get:8 http://ports.ubuntu.com/ubuntu-ports resolute/universe Translation-en [6322 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports resolute/restricted Translation-en [14.1 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports resolute/multiverse riscv64 Packages [172 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports resolute/multiverse Translation-en [121 kB]
Fetched 24.6 MB in 51s (478 kB/s)
All packages are up to date.
```
It seems that I don't have gpg installed in the chroot as well, but I do
have the gpgv executable and package:
```
root at ubuntu:/# dpkg -s gpg
dpkg-query: package 'gpg' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
root at ubuntu:/# gpgv
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error
gpgv: signal Interrupt caught ... exiting
root at ubuntu:/# dpkg -S /usr/bin/gpgv
gpgv: /usr/bin/gpgv
root at ubuntu:/# dpkg -s gpgv
Package: gpgv
Status: install ok installed
...
```
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2133941
Title:
package gpg missing in riscv64 base image
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
I downloaded wget http://cdimage.ubuntu.com/ubuntu-
base/daily/current/resolute-base-riscv64.tar.gz and followed the
testing instructions in
https://iso.qa.ubuntu.com/qatracker/milestones/476/builds/345675/testcases/1318/results
to mount dev dev/pts, proc, sys and entered the chroot
apt-get update fails with
W: OpenPGP signature verification failed: http://ports.ubuntu.com/ubuntu-ports resolute InRelease: Could not execute 'gpgv' to verify signature (is gnupg installed?)
E: The repository 'http://ports.ubuntu.com/ubuntu-ports resolute InRelease' is not signed.
dpkg -s gpg
dpkg-query: package 'gpg' is not installed and no information is available
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2133941/+subscriptions
More information about the foundations-bugs
mailing list