lkrg-org/lkrg

mkosi-mainline W: See /var/tmp/mkosi-djpik_46/root/debootstrap/debootstrap.log for details (possibly the package gpgv is at fault)

Closed this issue · 5 comments

mkosi-mainline is failing again @vt-alt

I: Configuring ca-certificates...
W: Failure while configuring base packages.  This will be re-attempted up to five times.
W: See /var/tmp/mkosi-djpik_46/root/debootstrap/debootstrap.log for details (possibly the package gpgv is at fault)

Tail of debootstrap.log:

Setting up libp11-kit0:amd64 (0.25.3-4ubuntu1) ...
Setting up libapt-pkg6.0t64:amd64 (2.7.14build2) ...
Setting up libgnutls30t64:amd64 (3.8.3-1.1ubuntu3) ...
Processing triggers for libc-bin (2.39-0ubuntu8) ...
Processing triggers for ca-certificates (20240203) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
 gpgv
 apt
dpkg: dependency problems prevent configuration of gpgv:
 gpgv depends on libnpth0 (>= 0.90); however:
  Package libnpth0 is not installed.

dpkg: error processing package gpgv (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt:
 apt depends on gpgv; however:
  Package gpgv is not configured yet.

dpkg: error processing package apt (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gpgv
 apt

This is obscure.

Well, debootstrap does not work anymore even natively (on/for noble):

root@ubuntu-noble:~# debootstrap --arch=amd64 noble /tmp/root http://archive.ubuntu.com/ubuntu
...
W: Failure while configuring base packages.  This will be re-attempted up to five times.
W: See /tmp/root/debootstrap/debootstrap.log for details (possibly the package gpgv is at fault)

ps. Issue tracker https://launchpad.net/ubuntu/+source/debootstrap/+bugs (with no related bugs)

While I was experimenting it suddenly started to work, so lets wait if this heals on it's own. (Just to note last failed run is 1493).

So it's healed on its own.

Perhaps this wasn't debootstrap bug (can't find in the tracker similar bugs) but some repository problem (dist-upgrade didn't cause any issues though) OR some gpgv-related package problem. Pity we didn't find the bugtracker entry in case it repeats. And googling didn't help much either.

Thank you, @vt-alt!