Building flavors xcpng

Hello,
I builded a dev image to do some test on different virtualization platform, I saw that “xe-guest-utilities” it’s deprecated and new package is “xen-guest-agent”. I fixed in this way:

diff --git a/data/build-flavors/xcpng.toml b/data/build-flavors/xcpng.toml
index 3a04177..8836ed5 100644
--- a/data/build-flavors/xcpng.toml
+++ b/data/build-flavors/xcpng.toml
@@ -3,4 +3,4 @@
 image_format = "iso"
 
 # Include these packages in the image
-packages = ["xe-guest-utilities"]
+packages = ["xen-guest-agent"]
1 Like

Are you sure about that?

It also doesnt exist in the bookworm repos according to:

https://packages.debian.org/search?keywords=guest&searchon=names&suite=bookworm&section=all

Also this:

The xen-guest-agent repository will be the new upstream for the Xen agent running in Linux/BSDs (POSIX) VMs.

I interpret above as xen-guest-agent might replace xe-guest-utilities but havent done so yet?

As in not ready for production use or is there some official info elsewhere confirming that xen-guest-agent now have replaced xe-guest-utilities and that xe-guest-utilities is now deprecated?

I found the workaround because during the build i saw that:

[2024-11-24 09:55:53] lb chroot_install-packages install
P: Begin installing packages (install pass)...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package xe-guest-utilities is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  xen-guest-agent

E: Package 'xe-guest-utilities' has no installation candidate
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/./build-vyos-image", line 656, in <module>
    cmd("lb build 2>&1")
  File "/vyos/scripts/image-build/utils.py", line 84, in cmd
    raise OSError(f"Command '{command}' failed")
OSError: Command 'lb build 2>&1' failed
vyos_bld@03d2fa539ade:/vyos$ 

My “build string” was:

sudo ./build-vyos-image --architecture amd64 --build-by ib@home --build-comment "20241124@home" xcpng

And my GIT log:

commit 50f8304f92033525b780d9c290b9ea93529b8644 (HEAD -> current, origin/current, origin/HEAD)
Merge: 1ba46ed ef9e1f8
Author: Viacheslav Hletenko <[email protected]>
Date:   Fri Nov 22 10:33:15 2024 +0200

Tomorrow i can test the iso on a XENCP-NG

Problem is that none of them seems to currently exist in Debian 12.x Bookworm according to:

https://packages.debian.org/search?keywords=guest&searchon=names&suite=bookworm&section=all

Hi, as I see… it was added to vyos-build “scripts/package-build” few weeks ago, but “data/build-flavors/xcpng.toml” have old package name.

Of course you are correct :slight_smile:

I have added some info to that task, hopefully it will get reopened soon:

Seems like maintainers wish that task to remain closed so I created a new one with this particular issue and proposed fix:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.