From 84598e7c8c6049786d5a857f05ee4b8074cffdff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Mon, 7 Sep 2026 03:47:27 -0300 Subject: [PATCH] fix(ubuntu): drop package names current releases no longer carry The shared Ubuntu lists serve every release and architecture without a list of its own, and ospkgs hands the whole list to one apt-get install, so one unknown name loses every package on it. ntp and ntpdate are gone from 26.04. libodbc1 is the unixODBC runtime name up to 22.04. libvirt-bin is gone from 20.04 on and qemu-kvm from 22.04 on. The shared lists keep ntp and ntpdate, so releases up to 24.04 keep the daemon they had. 26.04 gets release lists that carry chrony. unixodbc replaces libodbc1 on every release, and the odbcsetup postscript keeps its runtime. The service lists add libdbd-pg-perl beside libdbd-mysql-perl, as a service node may run the xCAT database on PostgreSQL. libvirt-daemon-system with libvirt-clients replaces libvirt-bin from 18.04 on; 12.04, 14.04 and 16.04 keep kvm lists with the old names. qemu-kvm was a transitional name for the emulator of the host architecture, and no current release has one name for that. Per-architecture kvm lists name the native one: qemu-system-x86 on x86_64, qemu-system-ppc on ppc64el, qemu-system-misc on 24.04 riscv64, with ppc64le linked to ppc64el as the other lists do. The shared kvm lists fall back to qemu-system, which carries every emulator, so an architecture without a list of its own still gets one. On 26.04 riscv64 libvirt-daemon-system depends on qemu-kvm or qemu-system and nothing provides qemu-kvm, so apt installs that fallback there whatever the list names. Every kvm list names qemu-utils: ospkgs installs without recommends, and libvirt needs qemu-img for the qcow2 volumes kvm.pm creates. --- .../install/ubuntu/compute.ubuntu26.04.pkglist | 5 +++++ .../share/xcat/install/ubuntu/kvm.pkglist | 6 ++++-- .../xcat/install/ubuntu/kvm.ppc64el.pkglist | 13 +++++++++++++ .../xcat/install/ubuntu/kvm.ppc64le.pkglist | 1 + .../xcat/install/ubuntu/kvm.ubuntu12.04.pkglist | 11 +++++++++++ .../xcat/install/ubuntu/kvm.ubuntu14.04.pkglist | 11 +++++++++++ .../xcat/install/ubuntu/kvm.ubuntu16.04.pkglist | 11 +++++++++++ .../ubuntu/kvm.ubuntu24.04.riscv64.pkglist | 13 +++++++++++++ .../xcat/install/ubuntu/kvm.ubuntu26.04.pkglist | 13 +++++++++++++ .../ubuntu/kvm.ubuntu26.04.ppc64el.pkglist | 13 +++++++++++++ .../ubuntu/kvm.ubuntu26.04.ppc64le.pkglist | 1 + .../ubuntu/kvm.ubuntu26.04.x86_64.pkglist | 13 +++++++++++++ .../xcat/install/ubuntu/kvm.x86_64.pkglist | 13 +++++++++++++ .../share/xcat/install/ubuntu/service.pkglist | 4 ++-- .../install/ubuntu/service.ubuntu26.04.pkglist | 8 ++++++++ .../netboot/ubuntu/compute.ubuntu26.04.pkglist | 17 +++++++++++++++++ 16 files changed, 149 insertions(+), 4 deletions(-) create mode 100644 xCAT-server/share/xcat/install/ubuntu/compute.ubuntu26.04.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ppc64el.pkglist create mode 120000 xCAT-server/share/xcat/install/ubuntu/kvm.ppc64le.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu12.04.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu14.04.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu16.04.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu24.04.riscv64.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64el.pkglist create mode 120000 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64le.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.x86_64.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/kvm.x86_64.pkglist create mode 100644 xCAT-server/share/xcat/install/ubuntu/service.ubuntu26.04.pkglist create mode 100644 xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu26.04.pkglist diff --git a/xCAT-server/share/xcat/install/ubuntu/compute.ubuntu26.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/compute.ubuntu26.04.pkglist new file mode 100644 index 000000000..aaec41835 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/compute.ubuntu26.04.pkglist @@ -0,0 +1,5 @@ +openssh-server +chrony +gawk +nfs-common +snmpd diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.pkglist index 1b4a77b1e..f98f47500 100644 --- a/xCAT-server/share/xcat/install/ubuntu/kvm.pkglist +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.pkglist @@ -3,8 +3,10 @@ ntp gawk nfs-common snmpd -qemu-kvm -libvirt-bin +qemu-system +qemu-utils +libvirt-daemon-system +libvirt-clients bridge-utils libcap2-bin vlan diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64el.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64el.pkglist new file mode 100644 index 000000000..36ae5edf6 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64el.pkglist @@ -0,0 +1,13 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-system-ppc +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64le.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64le.pkglist new file mode 120000 index 000000000..276ccf1e8 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ppc64le.pkglist @@ -0,0 +1 @@ +kvm.ppc64el.pkglist \ No newline at end of file diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu12.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu12.04.pkglist new file mode 100644 index 000000000..1b4a77b1e --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu12.04.pkglist @@ -0,0 +1,11 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-kvm +libvirt-bin +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu14.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu14.04.pkglist new file mode 100644 index 000000000..1b4a77b1e --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu14.04.pkglist @@ -0,0 +1,11 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-kvm +libvirt-bin +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu16.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu16.04.pkglist new file mode 100644 index 000000000..1b4a77b1e --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu16.04.pkglist @@ -0,0 +1,11 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-kvm +libvirt-bin +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu24.04.riscv64.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu24.04.riscv64.pkglist new file mode 100644 index 000000000..3254b74a8 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu24.04.riscv64.pkglist @@ -0,0 +1,13 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-system-misc +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.pkglist new file mode 100644 index 000000000..3014fba8e --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.pkglist @@ -0,0 +1,13 @@ +openssh-server +chrony +gawk +nfs-common +snmpd +qemu-system +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64el.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64el.pkglist new file mode 100644 index 000000000..a182806e1 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64el.pkglist @@ -0,0 +1,13 @@ +openssh-server +chrony +gawk +nfs-common +snmpd +qemu-system-ppc +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64le.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64le.pkglist new file mode 120000 index 000000000..889705e75 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.ppc64le.pkglist @@ -0,0 +1 @@ +kvm.ubuntu26.04.ppc64el.pkglist \ No newline at end of file diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.x86_64.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.x86_64.pkglist new file mode 100644 index 000000000..2d8fcdb1e --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.ubuntu26.04.x86_64.pkglist @@ -0,0 +1,13 @@ +openssh-server +chrony +gawk +nfs-common +snmpd +qemu-system-x86 +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/kvm.x86_64.pkglist b/xCAT-server/share/xcat/install/ubuntu/kvm.x86_64.pkglist new file mode 100644 index 000000000..eb76db430 --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/kvm.x86_64.pkglist @@ -0,0 +1,13 @@ +openssh-server +ntp +gawk +nfs-common +snmpd +qemu-system-x86 +qemu-utils +libvirt-daemon-system +libvirt-clients +bridge-utils +libcap2-bin +vlan +tmux diff --git a/xCAT-server/share/xcat/install/ubuntu/service.pkglist b/xCAT-server/share/xcat/install/ubuntu/service.pkglist index 5eb90997c..5e615f9b7 100644 --- a/xCAT-server/share/xcat/install/ubuntu/service.pkglist +++ b/xCAT-server/share/xcat/install/ubuntu/service.pkglist @@ -4,5 +4,5 @@ gawk nfs-common snmpd libdbd-mysql-perl -libodbc1 - +libdbd-pg-perl +unixodbc diff --git a/xCAT-server/share/xcat/install/ubuntu/service.ubuntu26.04.pkglist b/xCAT-server/share/xcat/install/ubuntu/service.ubuntu26.04.pkglist new file mode 100644 index 000000000..58d9301ad --- /dev/null +++ b/xCAT-server/share/xcat/install/ubuntu/service.ubuntu26.04.pkglist @@ -0,0 +1,8 @@ +openssh-server +chrony +gawk +nfs-common +snmpd +libdbd-mysql-perl +libdbd-pg-perl +unixodbc diff --git a/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu26.04.pkglist b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu26.04.pkglist new file mode 100644 index 000000000..f78cfa88b --- /dev/null +++ b/xCAT-server/share/xcat/netboot/ubuntu/compute.ubuntu26.04.pkglist @@ -0,0 +1,17 @@ +bash +nfs-common +openssl +isc-dhcp-client +linux-image-generic +openssh-server +openssh-client +wget +vim +chrony +rsyslog +rsync +busybox-static +gawk +tar +gzip +xz-utils