Page MenuHomeVyOS Platform

Building VyOS (Dockerized) current ISO fails dues to unmet dependencies podman : Depends: libgpgme11t64 (>= 1.4.1) but it is not installable
Closed, ResolvedPublicBUG

Description

Building VyOS' current ISO using Docker fails dues to unmet dependencies in podman. The following is a reproducible command log.

maxime@Ubuntu:~/Workspace$ ls
maxime@Ubuntu:~/Workspace$ docker pull vyos/vyos-build:current
current: Pulling from vyos/vyos-build
Digest: sha256:64ddbbe880fab74e792c5e30a69d6daf68a7e31fce9832adbcfbfda93e128593
Status: Image is up to date for vyos/vyos-build:current
docker.io/vyos/vyos-build:current
maxime@Ubuntu:~/Workspace$ git clone -b current --single-branch https://github.com/vyos/vyos-build
Cloning into 'vyos-build'...
remote: Enumerating objects: 11684, done.
remote: Counting objects: 100% (788/788), done.
remote: Compressing objects: 100% (260/260), done.
remote: Total 11684 (delta 598), reused 616 (delta 515), pack-reused 10896
Receiving objects: 100% (11684/11684), 7.64 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (6943/6943), done.
maxime@Ubuntu:~/Workspace$ docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:current bash
Current UID/GID: 1000/1000
vyos_bld@71e4140f206e:/vyos$ cd vyos-build/
vyos_bld@71e4140f206e:/vyos/vyos-build$ sudo make clean
[2024-05-03 09:25:56] lb clean 
P: Cleaning chroot
vyos_bld@71e4140f206e:/vyos/vyos-build$ sudo ./build-vyos-image iso --architecture amd64 --build-by "someone"

After some time, the build fails due to an unmet dependency.

[...]
[2024-05-03 09:28:49] lb chroot_install-packages install
P: Begin installing packages (install pass)...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
debconf is already the newest version (1.5.82).
gpgv is already the newest version (2.2.40-1.1).
gnupg is already the newest version (2.2.40-1.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 podman : Depends: libgpgme11t64 (>= 1.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
E: An unexpected failure occurred, exiting...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Traceback (most recent call last):
  File "/vyos/vyos-build/./build-vyos-image", line 611, in <module>
    cmd("lb build 2>&1")
  File "/vyos/vyos-build/scripts/image-build/utils.py", line 84, in cmd
    raise OSError(f"Command '{command}' failed")
OSError: Command 'lb build 2>&1' failed
vyos_bld@71e4140f206e:/vyos/vyos-build$

I followed the documentation to troubleshoot the installation without it providing additional information.

vyos_bld@71e4140f206e:/vyos/vyos-build$ sudo chroot build/chroot /bin/bash
(live)root@71e4140f206e:/# mount -t proc none /proc
(live)root@71e4140f206e:/# mount -t sysfs none /sys
(live)root@71e4140f206e:/# mount -t devtmpfs none /dev
(live)root@71e4140f206e:/# apt install podman
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 podman : Depends: libgpgme11t64 (>= 1.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Details

Difficulty level
Unknown (require assessment)
Version
current (vyos/vyos-build@0c6a38c4ca7052a76f73356091adfaca78a5fef4)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Revisions and Commits