Dear team,
I experience a consisting error when trying to build the current rolling release. After issuing "sudo make iso" in the build container, I get after a while these reproducible errors shown below. It appears to me that the same file '/usr/bin/bgpq3' is managed by two different packages which causes the error state.
Thanks for investigating!
Alain
[...]
Selecting previously unselected package bgpq3.
Preparing to unpack .../023-bgpq3_0.1.36.1-1_amd64.deb ...
Unpacking bgpq3 (0.1.36.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-4qpRj0/023-bgpq3_0.1.36.1-1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/bgpq3', which is also in package vyos-1x 999.0-15135-gdb29bdc89
Selecting previously unselected package bgpq4.
Preparing to unpack .../024-bgpq4_1.9-1_amd64.deb ...
Unpacking bgpq4 (1.9-1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../025-binutils-common_2.40-2_amd64.deb ...
[...]
Errors were encountered while processing:
/tmp/apt-dpkg-install-4qpRj0/023-bgpq3_0.1.36.1-1_amd64.deb
N: Download is performed unsandboxed as root as file '/root/packages/./linux-image-6.18.57-vyos_6.18.57-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Sub-process /usr/bin/dpkg returned an error code (1)
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
Del linux-kbuild-6.1 6.1.187-1 [1468 kB]
Del frr-snmp 10.6.1-0 [68.3 kB]
Del frr-pythontools 10.6.1-0 [46.4 kB]
Del libcpupower1 6.1.187-1 [1218 kB]
Del frr 10.6.1-0 [6058 kB]
Del vyos-1x 999.0-15077-gc8d344fd8 [3762 kB]
Del vyos-1x-smoketest 999.0-15077-gc8d344fd8 [367 kB]
Del libvyosconfig0 999.0-15077-gc8d344fd8 [11.6 MB]
Del frr-rpki-rtrlib 10.6.1-0 [32.0 kB]
Del linux-cpupower 6.1.187-1 [1321 kB]
Traceback (most recent call last):
File "/vyos/./build-vyos-image", line 1023, in <module>
build()
File "/vyos/./build-vyos-image", line 843, in build
cmd("lb build 2>&1")
File "/vyos/scripts/image-build/utils.py", line 89, in cmd
raise OSError(f"Command '{command}' failed")
OSError: Command 'lb build 2>&1' failed
vyos_bld@80dab3596135:/vyos$