[Libguestfs] virt-builder debian-10 --install sudo fails (version 1.40.2)

Loïc Dachary loic at dachary.org
Wed Feb 2 10:09:34 UTC 2022


Bonjour,

I would be interested in a workaround until this is fixed. I suppose the http://builder.libguestfs.org/debian-10.xz archive should be upgraded?

Cheers

Steps to reproduce:

$ virt-builder --version
virt-builder 1.40.2
$ virt-builder debian-10 --install sudo
[   1.4] Downloading: http://builder.libguestfs.org/debian-10.xz
[   2.0] Planning how to build this image
[   2.0] Uncompressing
[   6.4] Opening the new disk
[   9.3] Setting a random seed
virt-builder: warning: random seed could not be set for this type of guest
[   9.3] Installing packages: sudo
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists...
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
   sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1245 kB of archives.
After this operation, 3886 kB of additional disk space will be used.
Err:1 http://deb.debian.org/debian buster/main amd64 sudo amd64 1.8.27-1
   404  Not Found [IP: 199.232.178.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.8.27-1_amd64.deb  404  Not Found [IP: 199.232.178.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
virt-builder: error:
         export DEBIAN_FRONTEND=noninteractive
         apt_opts='-q -y -o Dpkg::Options::=--force-confnew'
         apt-get $apt_opts update
         apt-get $apt_opts install 'sudo'
       : command exited with an error

If reporting bugs, run virt-builder with debugging enabled and include the
complete output:

   virt-builder -v -x [...]


-- 
Loïc Dachary, Artisan Logiciel Libre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20220202/faf36cfc/attachment.sig>


More information about the Libguestfs mailing list